Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.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/PowerSystems 2.0.0/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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(PowerSystems.Examples.AC3ph.Elementary.Line,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line") translateModel(PowerSystems.Examples.AC3ph.Elementary.Line,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00106/0.00106, allocations: 110.4 kB / 17.07 MB, free: 5.996 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.00102/0.00102, allocations: 198.8 kB / 18.01 MB, free: 5.074 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.4/1.4, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1815/0.1815, allocations: 38.04 MB / 329.9 MB, free: 8.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001181/0.001181, allocations: 55.91 kB / 458.1 MB, free: 6.844 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4357/0.4368, allocations: 58.06 MB / 0.5041 GB, free: 7.871 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Line): time 0.006533/0.4434, allocations: 5.178 MB / 0.5092 GB, free: 4.262 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003166/0.4466, allocations: 1.746 MB / 0.5109 GB, free: 3.047 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003276/0.447, allocations: 18.53 kB / 0.5109 GB, free: 3.039 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001306/0.4483, allocations: 442.8 kB / 0.5113 GB, free: 2.777 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007704/0.4491, allocations: 305 kB / 0.5116 GB, free: 2.602 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001152/0.4502, allocations: 356.7 kB / 0.5119 GB, free: 2.457 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001137/0.4514, allocations: 0.7575 MB / 0.5127 GB, free: 2.137 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006598/0.4521, allocations: 381.1 kB / 0.513 GB, free: 1.977 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006024/0.4527, allocations: 335.3 kB / 0.5134 GB, free: 1.836 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007923/0.4535, allocations: 457.8 kB / 0.5138 GB, free: 1.684 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001068/0.4536, allocations: 50.12 kB / 0.5138 GB, free: 1.684 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004471/0.4541, allocations: 179.1 kB / 0.514 GB, free: 1.637 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004008/0.4545, allocations: 284.3 kB / 0.5143 GB, free: 1.539 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003787/0.4549, allocations: 336.3 kB / 0.5146 GB, free: 1.348 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001326/0.4562, allocations: 0.8131 MB / 0.5154 GB, free: 1.055 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/0.4562, allocations: 1.359 kB / 0.5154 GB, free: 1.055 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.4562, allocations: 1.188 kB / 0.5154 GB, free: 1.055 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.245e-05/0.4562, allocations: 0 / 0.5154 GB, free: 1.055 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 139 * Number of variables: 139 Notification: Performance of Generate backend data structure: time 0.001902/0.4581, allocations: 0.9302 MB / 0.5163 GB, free: 388 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.464e-05/0.4582, allocations: 13.55 kB / 0.5163 GB, free: 384 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001055/0.4593, allocations: 138.3 kB / 0.5165 GB, free: 344 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001187/0.4605, allocations: 0.5401 MB / 0.517 GB, free: 15.99 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.393e-05/0.4605, allocations: 38.97 kB / 0.517 GB, free: 15.97 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004647/0.461, allocations: 126.9 kB / 0.5171 GB, free: 15.95 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001719/0.4627, allocations: 0.8588 MB / 0.518 GB, free: 15.52 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.589e-05/0.4628, allocations: 6 kB / 0.518 GB, free: 15.51 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.239e-05/0.4629, allocations: 19.12 kB / 0.518 GB, free: 15.5 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004749/0.4633, allocations: 83.09 kB / 0.5181 GB, free: 15.48 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001177/0.4645, allocations: 0.6174 MB / 0.5187 GB, free: 15.29 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005841/0.4704, allocations: 3.783 MB / 0.5224 GB, free: 12.66 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00143/0.4719, allocations: 0.5455 MB / 0.5229 GB, free: 12.45 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005788/0.4725, allocations: 324.2 kB / 0.5232 GB, free: 12.32 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.39e-05/0.4725, allocations: 11.42 kB / 0.5232 GB, free: 12.32 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.134e-05/0.4726, allocations: 41.11 kB / 0.5233 GB, free: 12.27 MB / 398.1 MB Notification: Performance of pre-optimization done (n=48): time 2.976e-06/0.4726, allocations: 1.969 kB / 0.5233 GB, free: 12.27 MB / 398.1 MB Notification: Performance of matching and sorting (n=49): time 0.003661/0.4763, allocations: 1.846 MB / 0.5251 GB, free: 11.37 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.625e-05/0.4764, allocations: 87.12 kB / 0.5252 GB, free: 11.27 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006141/0.477, allocations: 416.6 kB / 0.5256 GB, free: 11.08 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.375e-05/0.477, allocations: 35.89 kB / 0.5256 GB, free: 11.04 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003005/0.4773, allocations: 337 kB / 0.5259 GB, free: 10.77 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00023/0.4776, allocations: 209.4 kB / 0.5261 GB, free: 10.61 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002663/0.4779, allocations: 151.2 kB / 0.5263 GB, free: 10.53 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001841/0.478, allocations: 372.4 kB / 0.5266 GB, free: 10.19 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006709/0.4787, allocations: 384.3 kB / 0.527 GB, free: 10.07 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008698/0.4796, allocations: 0.5999 MB / 0.5276 GB, free: 9.676 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001649/0.4813, allocations: 1.072 MB / 0.5286 GB, free: 9.066 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.112e-06/0.4813, allocations: 2.688 kB / 0.5286 GB, free: 9.066 MB / 398.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.005161/0.4864, allocations: 2.002 MB / 0.5306 GB, free: 8.363 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.806e-05/0.4865, allocations: 8.938 kB / 0.5306 GB, free: 8.363 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.712e-05/0.4865, allocations: 6.984 kB / 0.5306 GB, free: 8.363 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002605/0.4891, allocations: 0.9715 MB / 0.5315 GB, free: 8.121 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004727/0.4896, allocations: 118.2 kB / 0.5316 GB, free: 8.094 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01173/0.5013, allocations: 8.195 MB / 0.5396 GB, free: 2.477 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007506/0.5021, allocations: 33.03 kB / 0.5397 GB, free: 2.461 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.849e-05/0.5022, allocations: 44.08 kB / 0.5397 GB, free: 2.445 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (23,12,23.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005046/0.5028, allocations: 246.5 kB / 0.54 GB, free: 2.254 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001274/0.5029, allocations: 56.14 kB / 0.54 GB, free: 2.223 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001305/0.5042, allocations: 0.7228 MB / 0.5407 GB, free: 1.828 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/0.5042, allocations: 5 kB / 0.5407 GB, free: 1.828 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.5042, allocations: 5.438 kB / 0.5407 GB, free: 1.824 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.897e-06/0.5042, allocations: 5.391 kB / 0.5407 GB, free: 1.82 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002665/0.5069, allocations: 1.517 MB / 0.5422 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.361e-06/0.5069, allocations: 0 / 0.5422 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009743/0.5079, allocations: 191.8 kB / 0.5424 GB, free: 396 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.5079, allocations: 0 / 0.5424 GB, free: 396 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.443e-05/0.508, allocations: 35.92 kB / 0.5424 GB, free: 360 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.17e-06/0.508, allocations: 4 kB / 0.5424 GB, free: 356 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.307e-06/0.508, allocations: 3.938 kB / 0.5424 GB, free: 352 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001354/0.5094, allocations: 0.9939 MB / 0.5434 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001308/0.5095, allocations: 132.6 kB / 0.5435 GB, free: 15.17 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.148e-05/0.5096, allocations: 23.98 kB / 0.5436 GB, free: 15.15 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000314/0.5099, allocations: 31.97 kB / 0.5436 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.033e-05/0.51, allocations: 32.39 kB / 0.5436 GB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.222e-05/0.5101, allocations: 19.94 kB / 0.5436 GB, free: 15.06 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003275/0.5104, allocations: 283.1 kB / 0.5439 GB, free: 14.79 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5104, allocations: 0 / 0.5439 GB, free: 14.79 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0009845/0.5114, allocations: 215.9 kB / 0.5441 GB, free: 14.58 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 21 (line.v[1,1],line.v[1,2],line.v[1,3],line.v[2,1],line.v[2,2],line.v[2,3],line.v[3,1],line.v[3,2],line.v[3,3],line.i[1,1],line.i[1,2],line.i[1,3],line.i[1,4],line.i[2,1],line.i[2,2],line.i[2,3],line.i[2,4],line.i[3,1],line.i[3,2],line.i[3,3],line.i[3,4]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001854/0.5116, allocations: 123.2 kB / 0.5442 GB, free: 14.45 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002698/0.5143, allocations: 1.484 MB / 0.5457 GB, free: 12.94 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.5143, allocations: 0 / 0.5457 GB, free: 12.94 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004537/0.5148, allocations: 310.3 kB / 0.546 GB, free: 12.64 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00067/0.5155, allocations: 126.2 kB / 0.5461 GB, free: 12.52 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004268/0.5197, allocations: 2.713 MB / 0.5487 GB, free: 9.758 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006965/0.5205, allocations: 0.9765 MB / 0.5497 GB, free: 8.754 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005048/0.521, allocations: 204.6 kB / 0.5499 GB, free: 8.555 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001734/0.5212, allocations: 51.44 kB / 0.5499 GB, free: 8.504 MB / 414.1 MB Notification: Performance of SimCode: time 8.31e-07/0.5212, allocations: 0 / 0.5499 GB, free: 8.504 MB / 414.1 MB Notification: Performance of Templates: time 0.01816/0.5393, allocations: 10.86 MB / 0.5605 GB, free: 13.7 MB / 430.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.pipe 2>&1)