Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSysPro.Examples.TwoSourcesOneLineThreeSensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors") translateModel(PowerSysPro.Examples.TwoSourcesOneLineThreeSensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004461/0.004461, allocations: 96.89 kB / 15.92 MB, free: 6.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001027/0.001027, allocations: 198.2 kB / 16.83 MB, free: 6.188 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.229/1.229, allocations: 222.9 MB / 240.5 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.134/0.134, allocations: 8.089 MB / 298.7 MB, free: 2.078 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009827/0.0009827, allocations: 59.92 kB / 361 MB, free: 13.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08172/0.08272, allocations: 51.53 MB / 412.5 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.TwoSourcesOneLineThreeSensors): time 0.002643/0.0854, allocations: 1.819 MB / 414.4 MB, free: 8.371 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001572/0.08699, allocations: 1.473 MB / 415.8 MB, free: 6.883 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.313e-05/0.08706, allocations: 4 kB / 415.8 MB, free: 6.879 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002975/0.08738, allocations: 115.5 kB / 415.9 MB, free: 6.766 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000182/0.08757, allocations: 75.56 kB / 416 MB, free: 6.691 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001319/0.08889, allocations: 0.9027 MB / 416.9 MB, free: 5.789 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002197/0.08912, allocations: 222.9 kB / 417.1 MB, free: 5.57 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001507/0.08928, allocations: 107.3 kB / 417.2 MB, free: 5.461 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.079e-05/0.08936, allocations: 91.62 kB / 417.3 MB, free: 5.371 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001657/0.08953, allocations: 147.4 kB / 417.5 MB, free: 5.227 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.909e-05/0.08957, allocations: 23.94 kB / 417.5 MB, free: 5.203 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002894/0.08986, allocations: 199.8 kB / 417.7 MB, free: 5.008 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.6e-05/0.08991, allocations: 43.78 kB / 417.7 MB, free: 4.965 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.882e-05/0.09, allocations: 115.5 kB / 417.9 MB, free: 4.852 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003908/0.0904, allocations: 399.1 kB / 418.2 MB, free: 4.461 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.09041, allocations: 0 / 418.2 MB, free: 4.461 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.09042, allocations: 0 / 418.2 MB, free: 4.461 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.418e-06/0.09043, allocations: 0 / 418.2 MB, free: 4.461 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.00189/0.09232, allocations: 0.7724 MB / 419 MB, free: 3.641 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.953e-05/0.09236, allocations: 8.031 kB / 419 MB, free: 3.633 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.705e-05/0.09242, allocations: 32.59 kB / 419.1 MB, free: 3.602 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001918/0.09262, allocations: 240 kB / 419.3 MB, free: 3.328 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.71e-05/0.09264, allocations: 20.94 kB / 419.3 MB, free: 3.309 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.596e-05/0.09268, allocations: 24.38 kB / 419.3 MB, free: 3.285 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004327/0.09312, allocations: 301.3 kB / 419.6 MB, free: 2.988 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.09314, allocations: 3.938 kB / 419.6 MB, free: 2.984 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.541e-05/0.09317, allocations: 12 kB / 419.6 MB, free: 2.973 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.09318, allocations: 4 kB / 419.6 MB, free: 2.969 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000388/0.09358, allocations: 298.1 kB / 419.9 MB, free: 2.676 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001199/0.09478, allocations: 0.8852 MB / 420.8 MB, free: 1.738 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004494/0.09524, allocations: 290.4 kB / 421.1 MB, free: 1.445 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001702/0.09543, allocations: 132.8 kB / 421.2 MB, free: 1.312 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.99e-05/0.09547, allocations: 7.984 kB / 421.2 MB, free: 1.305 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.013e-05/0.0955, allocations: 35 kB / 421.3 MB, free: 1.262 MB / 350.1 MB Notification: Performance of pre-optimization done (n=26): time 1.162e-06/0.09551, allocations: 0 / 421.3 MB, free: 1.262 MB / 350.1 MB Notification: Performance of matching and sorting (n=26): time 0.001082/0.09659, allocations: 0.5264 MB / 421.8 MB, free: 0.707 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.442e-05/0.09664, allocations: 55.41 kB / 421.9 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001168/0.09676, allocations: 165.7 kB / 422 MB, free: 480 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.733e-05/0.09679, allocations: 33.7 kB / 422.1 MB, free: 440 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.497e-05/0.09686, allocations: 144.4 kB / 422.2 MB, free: 292 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.348e-05/0.09692, allocations: 82.75 kB / 422.3 MB, free: 208 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.083e-05/0.09702, allocations: 69.58 kB / 422.3 MB, free: 132 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.524e-05/0.09712, allocations: 326.8 kB / 422.7 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001793/0.09731, allocations: 128 kB / 422.8 MB, free: 15.68 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001754/0.09749, allocations: 132 kB / 422.9 MB, free: 15.55 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003762/0.09787, allocations: 293.1 kB / 423.2 MB, free: 15.26 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.09788, allocations: 3.938 kB / 423.2 MB, free: 15.25 MB / 366.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006462/0.09853, allocations: 398.1 kB / 423.6 MB, free: 14.86 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.09856, allocations: 4 kB / 423.6 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.09857, allocations: 4 kB / 423.6 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002529/0.09882, allocations: 52.83 kB / 423.7 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002558/0.09909, allocations: 59.91 kB / 423.7 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001211/0.1003, allocations: 1.448 MB / 425.2 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001521/0.1005, allocations: 19.78 kB / 425.2 MB, free: 13.13 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.299e-05/0.1005, allocations: 15.98 kB / 425.2 MB, free: 13.12 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001095/0.1006, allocations: 137.9 kB / 425.3 MB, free: 12.97 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.493e-05/0.1007, allocations: 15.81 kB / 425.3 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006209/0.1013, allocations: 351.7 kB / 425.7 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.1013, allocations: 7.938 kB / 425.7 MB, free: 12.6 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.833e-06/0.1013, allocations: 0 / 425.7 MB, free: 12.6 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.1013, allocations: 4 kB / 425.7 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003129/0.1016, allocations: 365.2 kB / 426.1 MB, free: 12.19 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.1017, allocations: 0 / 426.1 MB, free: 12.19 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001614/0.1018, allocations: 43.92 kB / 426.1 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001956/0.102, allocations: 48.81 kB / 426.2 MB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.723e-05/0.102, allocations: 7.938 kB / 426.2 MB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001106/0.1032, allocations: 1.44 MB / 427.6 MB, free: 10.51 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1032, allocations: 4.156 kB / 427.6 MB, free: 10.51 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005317/0.1037, allocations: 405.6 kB / 428 MB, free: 10.09 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.311e-05/0.1038, allocations: 96.84 kB / 428.1 MB, free: 9.98 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.817e-05/0.1038, allocations: 8 kB / 428.1 MB, free: 9.973 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001333/0.1039, allocations: 4 kB / 428.1 MB, free: 9.969 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.28e-05/0.104, allocations: 15.92 kB / 428.1 MB, free: 9.953 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.512e-05/0.104, allocations: 12 kB / 428.1 MB, free: 9.941 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.94e-05/0.1041, allocations: 129.7 kB / 428.3 MB, free: 9.816 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1041, allocations: 0 / 428.3 MB, free: 9.816 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003228/0.1044, allocations: 83.83 kB / 428.3 MB, free: 9.734 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001587/0.1046, allocations: 119.2 kB / 428.5 MB, free: 9.605 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006959/0.1053, allocations: 426.5 kB / 428.9 MB, free: 9.176 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1053, allocations: 0 / 428.9 MB, free: 9.176 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003911/0.1057, allocations: 262.4 kB / 429.1 MB, free: 8.906 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002341/0.106, allocations: 12 kB / 429.1 MB, free: 8.895 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007779/0.1067, allocations: 0.5392 MB / 429.7 MB, free: 8.332 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002409/0.107, allocations: 0.7473 MB / 430.4 MB, free: 7.559 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000119/0.1071, allocations: 37.45 kB / 430.5 MB, free: 7.523 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.962e-05/0.1072, allocations: 19.44 kB / 430.5 MB, free: 7.504 MB / 366.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1072, allocations: 0 / 430.5 MB, free: 7.504 MB / 366.1 MB Notification: Performance of Templates: time 0.004722/0.1119, allocations: 2.624 MB / 433.1 MB, free: 4.887 MB / 366.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.makefile (rm -f PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.sim & ./PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.pipe 2>&1)