Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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) Running command: translateModel(PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad") translateModel(PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001239/0.001239, allocations: 181 kB / 8.045 MB, free: 1.016 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.335/1.335, allocations: 221.5 MB / 230 MB, free: 3.191 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008106/0.0008106, allocations: 88 kB / 280.9 MB, free: 1.184 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05625/0.05625, allocations: 8.095 MB / 339.8 MB, free: 6.254 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.392e-05/2.395e-05, allocations: 4 kB / 398.5 MB, free: 67.68 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1133/0.1134, allocations: 52.51 MB / 451 MB, free: 15.16 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3625/0.476, allocations: 78.91 MB / 0.5175 GB, free: 15.07 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001913/0.4762, allocations: 67.59 kB / 0.5175 GB, free: 15.04 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02144/0.4976, allocations: 8.349 MB / 0.5257 GB, free: 8.547 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.4977, allocations: 3.938 kB / 0.5257 GB, free: 8.543 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.326e-05/0.4977, allocations: 4 kB / 0.5257 GB, free: 8.539 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.001413/0.4991, allocations: 0.6075 MB / 0.5263 GB, free: 7.926 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.4992, allocations: 20.84 kB / 0.5263 GB, free: 7.906 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.479e-05/0.4993, allocations: 23.72 kB / 0.5263 GB, free: 7.883 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003464/0.4996, allocations: 275.5 kB / 0.5266 GB, free: 7.605 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.373e-05/0.4996, allocations: 8 kB / 0.5266 GB, free: 7.598 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.259e-05/0.4997, allocations: 12 kB / 0.5266 GB, free: 7.586 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003799/0.5001, allocations: 267.9 kB / 0.5269 GB, free: 7.438 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003758/0.5005, allocations: 255.2 kB / 0.5271 GB, free: 7.262 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.138e-05/0.5005, allocations: 3.953 kB / 0.5271 GB, free: 7.258 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.549e-05/0.5005, allocations: 3.938 kB / 0.5271 GB, free: 7.254 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.5005, allocations: 4 kB / 0.5271 GB, free: 7.25 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00157/0.5021, allocations: 1.08 MB / 0.5282 GB, free: 6.363 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000837/0.503, allocations: 418.4 kB / 0.5286 GB, free: 6.07 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001947/0.5032, allocations: 158.3 kB / 0.5287 GB, free: 5.984 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.624e-05/0.5032, allocations: 8.219 kB / 0.5287 GB, free: 5.977 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.523e-05/0.5033, allocations: 41.98 kB / 0.5288 GB, free: 5.93 MB / 346.7 MB Notification: Performance of pre-optimization done (n=27): time 2.184e-06/0.5033, allocations: 3.938 kB / 0.5288 GB, free: 5.926 MB / 346.7 MB Notification: Performance of matching and sorting (n=27): time 0.001368/0.5046, allocations: 0.5194 MB / 0.5293 GB, free: 5.555 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.888e-05/0.5047, allocations: 59.36 kB / 0.5293 GB, free: 5.484 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002035/0.5049, allocations: 197.7 kB / 0.5295 GB, free: 5.32 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.761e-05/0.5049, allocations: 25.7 kB / 0.5296 GB, free: 5.289 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.154e-05/0.505, allocations: 152.2 kB / 0.5297 GB, free: 5.16 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.488e-05/0.5051, allocations: 88.72 kB / 0.5298 GB, free: 5.082 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.79e-05/0.5051, allocations: 0 / 0.5298 GB, free: 5.082 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001158/0.5052, allocations: 333.6 kB / 0.5301 GB, free: 4.754 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002079/0.5055, allocations: 144.5 kB / 0.5302 GB, free: 4.68 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001727/0.5056, allocations: 152.6 kB / 0.5304 GB, free: 4.598 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003963/0.506, allocations: 172.7 kB / 0.5306 GB, free: 4.5 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.5061, allocations: 0 / 0.5306 GB, free: 4.5 MB / 346.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001363/0.5074, allocations: 0.5946 MB / 0.5311 GB, free: 4.07 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.5074, allocations: 5.719 kB / 0.5311 GB, free: 4.066 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.5075, allocations: 0 / 0.5311 GB, free: 4.066 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000966/0.5084, allocations: 241.3 kB / 0.5314 GB, free: 3.883 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000169/0.5086, allocations: 35.97 kB / 0.5314 GB, free: 3.848 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003148/0.5118, allocations: 2.421 MB / 0.5338 GB, free: 1.922 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002389/0.512, allocations: 15.75 kB / 0.5338 GB, free: 1.906 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.047e-05/0.5121, allocations: 8 kB / 0.5338 GB, free: 1.898 MB / 346.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: load.terminal.i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 9} Notification: Performance of prepare postOptimizeDAE: time 0.0001658/0.5122, allocations: 118.1 kB / 0.5339 GB, free: 1.781 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.931e-05/0.5123, allocations: 19.81 kB / 0.5339 GB, free: 1.762 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001397/0.5137, allocations: 0.5747 MB / 0.5345 GB, free: 1.359 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.5137, allocations: 7.938 kB / 0.5345 GB, free: 1.352 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.5137, allocations: 0 / 0.5345 GB, free: 1.352 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.5137, allocations: 0 / 0.5345 GB, free: 1.352 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001737/0.5155, allocations: 1.032 MB / 0.5355 GB, free: 0.5586 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.5155, allocations: 3.953 kB / 0.5355 GB, free: 0.5547 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001025/0.5156, allocations: 31.98 kB / 0.5355 GB, free: 0.5234 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009002/0.5165, allocations: 242.7 kB / 0.5358 GB, free: 348 kB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.93e-05/0.5166, allocations: 4.031 kB / 0.5358 GB, free: 344 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002923/0.5195, allocations: 2.428 MB / 0.5381 GB, free: 14.4 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.5195, allocations: 0 / 0.5381 GB, free: 14.4 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001269/0.5208, allocations: 0.623 MB / 0.5387 GB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.042e-05/0.5209, allocations: 110.1 kB / 0.5389 GB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.956e-05/0.5209, allocations: 4 kB / 0.5389 GB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002308/0.5212, allocations: 11.95 kB / 0.5389 GB, free: 13.78 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.773e-05/0.5212, allocations: 22.58 kB / 0.5389 GB, free: 13.76 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.121e-05/0.5212, allocations: 10.38 kB / 0.5389 GB, free: 13.75 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000191/0.5214, allocations: 159.7 kB / 0.5391 GB, free: 13.62 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.5214, allocations: 4 kB / 0.5391 GB, free: 13.62 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004475/0.5219, allocations: 102 kB / 0.5392 GB, free: 13.52 MB / 362.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001924/0.5221, allocations: 111.9 kB / 0.5393 GB, free: 13.41 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001045/0.5232, allocations: 0.5277 MB / 0.5398 GB, free: 13.03 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.5232, allocations: 7.438 kB / 0.5398 GB, free: 13.03 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006807/0.5239, allocations: 361.5 kB / 0.5401 GB, free: 12.75 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000238/0.5241, allocations: 11.81 kB / 0.5401 GB, free: 12.75 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006366/0.5248, allocations: 321.8 kB / 0.5404 GB, free: 12.47 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003342/0.5251, allocations: 0.7565 MB / 0.5412 GB, free: 11.69 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001306/0.5252, allocations: 26.14 kB / 0.5412 GB, free: 11.67 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.182e-05/0.5253, allocations: 30.55 kB / 0.5412 GB, free: 11.64 MB / 362.7 MB Notification: Performance of SimCode: time 2.31e-07/0.5253, allocations: 4 kB / 0.5412 GB, free: 11.64 MB / 362.7 MB Notification: Performance of Templates: time 0.009219/0.5345, allocations: 5.267 MB / 0.5464 GB, free: 6.418 MB / 362.7 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.makefile (rm -f PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.pipe 2>&1)