Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.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.Transmission.PowerTransfer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer") translateModel(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001187/0.001187, allocations: 109.8 kB / 16.51 MB, free: 6.707 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.001328/0.001328, allocations: 190.5 kB / 17.43 MB, free: 6.066 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.367/1.367, allocations: 222.9 MB / 241.1 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1765/0.1765, allocations: 38.02 MB / 329.3 MB, free: 9.004 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001466/0.001466, allocations: 58.95 kB / 398.1 MB, free: 34.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1344/0.1359, allocations: 58.06 MB / 456.1 MB, free: 8.52 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer): time 0.007244/0.1432, allocations: 5.357 MB / 461.5 MB, free: 3.129 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002854/0.1461, allocations: 1.535 MB / 463 MB, free: 1.59 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003861/0.1465, allocations: 31.81 kB / 463.1 MB, free: 1.559 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001135/0.1477, allocations: 380.2 kB / 463.4 MB, free: 1.188 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005632/0.1483, allocations: 211 kB / 463.6 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004854/0.1488, allocations: 167.7 kB / 463.8 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006693/0.1495, allocations: 0.7947 MB / 464.6 MB, free: 20 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000537/0.15, allocations: 321.5 kB / 464.9 MB, free: 15.7 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003155/0.1503, allocations: 218.9 kB / 465.1 MB, free: 15.49 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003999/0.1507, allocations: 287 kB / 465.4 MB, free: 15.21 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.985e-05/0.1508, allocations: 24 kB / 465.4 MB, free: 15.18 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003025/0.1511, allocations: 139.7 kB / 465.6 MB, free: 15.05 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001811/0.1513, allocations: 175.5 kB / 465.7 MB, free: 14.88 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002288/0.1515, allocations: 222.9 kB / 466 MB, free: 14.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006125/0.1522, allocations: 0.5177 MB / 466.5 MB, free: 14.14 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.1522, allocations: 0 / 466.5 MB, free: 14.14 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.32e-07/0.1522, allocations: 0 / 466.5 MB, free: 14.14 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.825e-06/0.1522, allocations: 0 / 466.5 MB, free: 14.14 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001231/0.1534, allocations: 0.7145 MB / 467.2 MB, free: 13.37 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.737e-05/0.1535, allocations: 12.03 kB / 467.2 MB, free: 13.36 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007508/0.1543, allocations: 88.31 kB / 467.3 MB, free: 13.27 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006224/0.1549, allocations: 400.1 kB / 467.7 MB, free: 12.84 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.734e-05/0.1549, allocations: 29.3 kB / 467.7 MB, free: 12.81 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000139/0.1551, allocations: 56 kB / 467.8 MB, free: 12.76 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007151/0.1558, allocations: 476.8 kB / 468.2 MB, free: 12.26 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.683e-05/0.1558, allocations: 0 / 468.2 MB, free: 12.26 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.071e-05/0.1559, allocations: 19.98 kB / 468.2 MB, free: 12.24 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001072/0.156, allocations: 24.98 kB / 468.3 MB, free: 12.22 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005559/0.1566, allocations: 347.7 kB / 468.6 MB, free: 11.88 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00232/0.1589, allocations: 1.629 MB / 470.2 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003377/0.1592, allocations: 169.2 kB / 470.4 MB, free: 9.973 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001653/0.1594, allocations: 117.7 kB / 470.5 MB, free: 9.852 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.293e-05/0.1594, allocations: 4 kB / 470.5 MB, free: 9.848 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.817e-05/0.1595, allocations: 38.5 kB / 470.6 MB, free: 9.801 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 1.473e-06/0.1595, allocations: 0 / 470.6 MB, free: 9.801 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.001347/0.1609, allocations: 0.7754 MB / 471.3 MB, free: 8.973 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.987e-05/0.1609, allocations: 85.22 kB / 471.4 MB, free: 8.871 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002967/0.1612, allocations: 312.4 kB / 471.7 MB, free: 8.555 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.178e-05/0.1613, allocations: 25.7 kB / 471.7 MB, free: 8.523 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000161/0.1614, allocations: 251.5 kB / 472 MB, free: 8.273 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.464e-05/0.1615, allocations: 82.88 kB / 472.1 MB, free: 8.191 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.643e-05/0.1616, allocations: 61.69 kB / 472.1 MB, free: 8.125 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001272/0.1617, allocations: 338.8 kB / 472.5 MB, free: 7.785 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001657/0.1619, allocations: 95.94 kB / 472.6 MB, free: 7.691 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002449/0.1622, allocations: 208.4 kB / 472.8 MB, free: 7.441 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004451/0.1626, allocations: 331.4 kB / 473.1 MB, free: 7.074 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1626, allocations: 0 / 473.1 MB, free: 7.074 MB / 350.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0008407/0.1635, allocations: 429.4 kB / 473.5 MB, free: 6.645 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.291e-05/0.1635, allocations: 4 kB / 473.5 MB, free: 6.641 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005162/0.164, allocations: 266.9 kB / 473.8 MB, free: 6.379 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003754/0.1644, allocations: 85.2 kB / 473.9 MB, free: 6.293 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002452/0.1647, allocations: 59.91 kB / 473.9 MB, free: 6.234 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00172/0.1664, allocations: 1.589 MB / 475.5 MB, free: 4.508 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001993/0.1666, allocations: 11.91 kB / 475.5 MB, free: 4.496 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.404e-05/0.1666, allocations: 12 kB / 475.5 MB, free: 4.484 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (34): * Single equations (assignments): 33 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002562/0.1669, allocations: 197.6 kB / 475.7 MB, free: 4.281 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.659e-05/0.167, allocations: 23.72 kB / 475.7 MB, free: 4.258 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005178/0.1675, allocations: 282.4 kB / 476 MB, free: 3.98 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/0.1675, allocations: 4 kB / 476 MB, free: 3.977 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.1675, allocations: 0 / 476 MB, free: 3.977 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.1675, allocations: 3.938 kB / 476 MB, free: 3.973 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001231/0.1688, allocations: 0.742 MB / 476.8 MB, free: 3.168 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.1688, allocations: 8.062 kB / 476.8 MB, free: 3.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002673/0.169, allocations: 51.91 kB / 476.8 MB, free: 3.109 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.1691, allocations: 0 / 476.8 MB, free: 3.109 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.899e-05/0.1691, allocations: 8 kB / 476.8 MB, free: 3.102 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.84e-06/0.1691, allocations: 4 kB / 476.8 MB, free: 3.098 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.095e-06/0.1691, allocations: 3.938 kB / 476.8 MB, free: 3.094 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005846/0.1697, allocations: 464.9 kB / 477.3 MB, free: 2.617 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.065e-05/0.1698, allocations: 101 kB / 477.4 MB, free: 2.5 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.349e-05/0.1698, allocations: 8 kB / 477.4 MB, free: 2.492 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001571/0.17, allocations: 11.97 kB / 477.4 MB, free: 2.48 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.157e-05/0.17, allocations: 15.97 kB / 477.4 MB, free: 2.465 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.934e-05/0.1701, allocations: 12 kB / 477.4 MB, free: 2.453 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002343/0.1703, allocations: 219 kB / 477.7 MB, free: 2.238 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1703, allocations: 4 kB / 477.7 MB, free: 2.234 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004335/0.1708, allocations: 88 kB / 477.7 MB, free: 2.148 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (line.i[1],line.i[2],line.i[3]) * 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 (23): * Single equations (assignments): 22 * 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.0001394/0.1709, allocations: 103.2 kB / 477.8 MB, free: 2.035 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006951/0.1716, allocations: 366.1 kB / 478.2 MB, free: 1.668 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1716, allocations: 8.312 kB / 478.2 MB, free: 1.66 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001571/0.1718, allocations: 103.8 kB / 478.3 MB, free: 1.559 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005091/0.1723, allocations: 57.41 kB / 478.4 MB, free: 1.504 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001578/0.1739, allocations: 1.071 MB / 479.4 MB, free: 408 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005352/0.1744, allocations: 0.8463 MB / 480.3 MB, free: 15.53 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002164/0.1747, allocations: 70.91 kB / 480.4 MB, free: 15.46 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.79e-05/0.1747, allocations: 27.42 kB / 480.4 MB, free: 15.43 MB / 366.1 MB Notification: Performance of SimCode: time 8.82e-07/0.1748, allocations: 3.938 kB / 480.4 MB, free: 15.43 MB / 366.1 MB Notification: Performance of Templates: time 0.007335/0.1821, allocations: 3.348 MB / 483.7 MB, free: 12.1 MB / 366.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe 2>&1)