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: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Line,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Line",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Line,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Line",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001154/0.001154, allocations: 108.3 kB / 16.92 MB, free: 5.781 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.001114/0.001114, allocations: 191.3 kB / 17.85 MB, free: 5.164 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.374/1.374, allocations: 222.9 MB / 241.6 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1716/0.1716, allocations: 38.02 MB / 329.7 MB, free: 8.773 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001195/0.001195, allocations: 63.91 kB / 398.9 MB, free: 33.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09815/0.09936, allocations: 58.07 MB / 457 MB, free: 7.93 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Line): time 0.007547/0.107, allocations: 5.167 MB / 462.1 MB, free: 2.734 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003444/0.1105, allocations: 1.764 MB / 463.9 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004152/0.1109, allocations: 15.88 kB / 463.9 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001478/0.1124, allocations: 434 kB / 464.3 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008482/0.1133, allocations: 306.4 kB / 464.6 MB, free: 228 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001006/0.1143, allocations: 355.3 kB / 465 MB, free: 15.87 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009414/0.1152, allocations: 0.7636 MB / 465.7 MB, free: 15.11 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005874/0.1158, allocations: 370.2 kB / 466.1 MB, free: 14.74 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005375/0.1164, allocations: 338.7 kB / 466.4 MB, free: 14.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007059/0.1171, allocations: 458.7 kB / 466.9 MB, free: 13.96 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001307/0.1173, allocations: 55.94 kB / 466.9 MB, free: 13.91 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004068/0.1177, allocations: 167.8 kB / 467.1 MB, free: 13.74 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003191/0.118, allocations: 291.3 kB / 467.4 MB, free: 13.46 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004231/0.1184, allocations: 334.4 kB / 467.7 MB, free: 13.13 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008615/0.1193, allocations: 0.8022 MB / 468.5 MB, free: 12.32 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.636e-06/0.1193, allocations: 0 / 468.5 MB, free: 12.32 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.1193, allocations: 0 / 468.5 MB, free: 12.32 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.992e-05/0.1193, allocations: 0 / 468.5 MB, free: 12.32 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: 139 * Number of variables: 139 Notification: Performance of Generate backend data structure: time 0.001789/0.1211, allocations: 0.9205 MB / 469.4 MB, free: 11.36 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.1212, allocations: 11.89 kB / 469.4 MB, free: 11.35 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001174/0.1213, allocations: 94.7 kB / 469.5 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001023/0.1223, allocations: 140 kB / 469.7 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008501/0.1232, allocations: 0.5042 MB / 470.2 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.199e-05/0.1233, allocations: 40.92 kB / 470.2 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003497/0.1236, allocations: 139.8 kB / 470.4 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001142/0.1248, allocations: 0.8626 MB / 471.2 MB, free: 9.461 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.72e-05/0.1248, allocations: 0 / 471.2 MB, free: 9.461 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.064e-05/0.1249, allocations: 20 kB / 471.2 MB, free: 9.441 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004698/0.1253, allocations: 72.92 kB / 471.3 MB, free: 9.371 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009564/0.1263, allocations: 0.6204 MB / 471.9 MB, free: 8.746 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004442/0.1307, allocations: 3.796 MB / 475.7 MB, free: 4.785 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001069/0.1318, allocations: 0.5415 MB / 476.3 MB, free: 4.227 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004329/0.1323, allocations: 319 kB / 476.6 MB, free: 3.906 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.463e-05/0.1323, allocations: 16.31 kB / 476.6 MB, free: 3.891 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.953e-05/0.1324, allocations: 35 kB / 476.6 MB, free: 3.848 MB / 350.1 MB Notification: Performance of pre-optimization done (n=48): time 2.365e-06/0.1324, allocations: 4 kB / 476.6 MB, free: 3.844 MB / 350.1 MB Notification: Performance of matching and sorting (n=49): time 0.003036/0.1354, allocations: 1.834 MB / 478.5 MB, free: 1.965 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.29e-05/0.1355, allocations: 81.55 kB / 478.5 MB, free: 1.867 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004686/0.136, allocations: 425.6 kB / 479 MB, free: 1.441 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.443e-05/0.136, allocations: 37.69 kB / 479 MB, free: 1.398 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002522/0.1363, allocations: 331.8 kB / 479.3 MB, free: 1.07 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002048/0.1365, allocations: 197.3 kB / 479.5 MB, free: 0.875 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002611/0.1368, allocations: 150.1 kB / 479.7 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001721/0.137, allocations: 374.7 kB / 480 MB, free: 356 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006034/0.1376, allocations: 373.5 kB / 480.4 MB, free: 15.98 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007723/0.1384, allocations: 0.6018 MB / 481 MB, free: 15.28 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001496/0.1399, allocations: 1.057 MB / 482.1 MB, free: 14.12 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.913e-06/0.1399, allocations: 0 / 482.1 MB, free: 14.12 MB / 366.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.00464/0.1445, allocations: 2.011 MB / 484.1 MB, free: 12.1 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.509e-05/0.1446, allocations: 12.12 kB / 484.1 MB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.165e-05/0.1446, allocations: 11.94 kB / 484.1 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002451/0.1471, allocations: 0.9652 MB / 485.1 MB, free: 11.1 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000432/0.1475, allocations: 115.8 kB / 485.2 MB, free: 10.99 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01098/0.1585, allocations: 8.201 MB / 493.4 MB, free: 2.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005309/0.1591, allocations: 40.03 kB / 493.4 MB, free: 2.461 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.627e-05/0.1592, allocations: 35.94 kB / 493.4 MB, free: 2.426 MB / 366.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.0003549/0.1595, allocations: 245.7 kB / 493.7 MB, free: 2.176 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001121/0.1596, allocations: 51.42 kB / 493.7 MB, free: 2.125 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001166/0.1608, allocations: 0.7257 MB / 494.5 MB, free: 1.395 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.664e-06/0.1608, allocations: 8 kB / 494.5 MB, free: 1.387 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.1608, allocations: 7.984 kB / 494.5 MB, free: 1.379 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.1609, allocations: 0 / 494.5 MB, free: 1.379 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002553/0.1634, allocations: 1.517 MB / 496 MB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.1634, allocations: 0 / 496 MB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001004/0.1644, allocations: 183.8 kB / 496.2 MB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/0.1645, allocations: 4 kB / 496.2 MB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.971e-05/0.1645, allocations: 31.92 kB / 496.2 MB, free: 15.59 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-05/0.1645, allocations: 7.984 kB / 496.2 MB, free: 15.58 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.1646, allocations: 0 / 496.2 MB, free: 15.58 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001308/0.1659, allocations: 1.005 MB / 497.2 MB, free: 14.54 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001181/0.166, allocations: 124.5 kB / 497.3 MB, free: 14.4 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.08e-05/0.1661, allocations: 23.98 kB / 497.4 MB, free: 14.38 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003314/0.1664, allocations: 27.97 kB / 497.4 MB, free: 14.35 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.996e-05/0.1665, allocations: 36.39 kB / 497.4 MB, free: 14.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.8e-05/0.1666, allocations: 19.98 kB / 497.4 MB, free: 14.3 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002957/0.1669, allocations: 279.1 kB / 497.7 MB, free: 14.02 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1669, allocations: 3.938 kB / 497.7 MB, free: 14.02 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008089/0.1677, allocations: 212 kB / 497.9 MB, free: 13.81 MB / 382.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.001654/0.1694, allocations: 1.565 MB / 499.5 MB, free: 12.21 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002754/0.1721, allocations: 1.653 MB / 0.4894 GB, free: 10.53 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.1721, allocations: 0 / 0.4894 GB, free: 10.53 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004251/0.1726, allocations: 302.3 kB / 0.4897 GB, free: 10.23 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006387/0.1732, allocations: 134.3 kB / 0.4898 GB, free: 10.11 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0167/0.1899, allocations: 9.779 MB / 0.4994 GB, free: 8 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007731/0.1907, allocations: 0.9765 MB / 0.5003 GB, free: 15 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0006591/0.1914, allocations: 204.6 kB / 0.5005 GB, free: 14.8 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003766/0.1918, allocations: 235.4 kB / 0.5007 GB, free: 14.57 MB / 398.1 MB Notification: Performance of SimCode: time 3.266e-06/0.1918, allocations: 0 / 0.5007 GB, free: 14.57 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2303/0.4221, allocations: 17.23 MB / 0.5176 GB, free: 71.1 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.333/9.755, allocations: 8.859 kB / 0.5176 GB, free: 71.1 MB / 398.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Line_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Line.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.pipe 2>&1)