Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.AC1ph_DC.Elementary.Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=15000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=15000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009818/0.0009821, allocations: 96.59 kB / 16.3 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.001212/0.001212, allocations: 182.3 kB / 17.2 MB, free: 5.906 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.655/1.655, allocations: 205.4 MB / 223.4 MB, free: 5.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.3368/0.3368, allocations: 38.04 MB / 309.7 MB, free: 8.82 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006082/0.0006084, allocations: 26.17 kB / 376.5 MB, free: 15.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1345/0.1351, allocations: 56.34 MB / 432.8 MB, free: 6.715 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Transformer): time 0.007481/0.1427, allocations: 5.568 MB / 438.4 MB, free: 1.121 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003701/0.1464, allocations: 1.677 MB / 440.1 MB, free: 15.44 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006454/0.1471, allocations: 35.75 kB / 440.1 MB, free: 15.4 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004621/0.1476, allocations: 119.2 kB / 440.2 MB, free: 15.29 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001117/0.1487, allocations: 350.9 kB / 440.6 MB, free: 14.94 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005094/0.1492, allocations: 175.7 kB / 440.7 MB, free: 14.77 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005266/0.1498, allocations: 419.1 kB / 441.1 MB, free: 14.36 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00032/0.1501, allocations: 155.1 kB / 441.3 MB, free: 14.2 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004016/0.1505, allocations: 259 kB / 441.6 MB, free: 13.95 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004902/0.151, allocations: 279 kB / 441.8 MB, free: 13.68 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.075e-05/0.1511, allocations: 20 kB / 441.8 MB, free: 13.66 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.195e-05/0.1511, allocations: 24 kB / 441.9 MB, free: 13.63 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001882/0.1513, allocations: 163.5 kB / 442 MB, free: 13.47 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001358/0.1515, allocations: 125.5 kB / 442.2 MB, free: 13.34 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004328/0.1519, allocations: 426.8 kB / 442.6 MB, free: 12.93 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1519, allocations: 0 / 442.6 MB, free: 12.93 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.1519, allocations: 0 / 442.6 MB, free: 12.93 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.548e-06/0.152, allocations: 0 / 442.6 MB, free: 12.93 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.001472/0.1534, allocations: 0.7946 MB / 443.4 MB, free: 12.07 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.721e-05/0.1535, allocations: 12.03 kB / 443.4 MB, free: 12.06 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001213/0.1536, allocations: 63.25 kB / 443.4 MB, free: 12 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008035/0.1544, allocations: 469.6 kB / 443.9 MB, free: 11.5 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.084e-05/0.1545, allocations: 33 kB / 443.9 MB, free: 11.46 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.83e-05/0.1546, allocations: 40 kB / 444 MB, free: 11.43 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007822/0.1554, allocations: 0.5312 MB / 444.5 MB, free: 10.86 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.96e-05/0.1554, allocations: 7.891 kB / 444.5 MB, free: 10.85 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.439e-05/0.1554, allocations: 20 kB / 444.5 MB, free: 10.83 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.706e-05/0.1555, allocations: 17 kB / 444.5 MB, free: 10.82 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005805/0.1561, allocations: 391.6 kB / 444.9 MB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002248/0.1583, allocations: 1.928 MB / 446.9 MB, free: 8.395 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005567/0.1589, allocations: 337.3 kB / 447.2 MB, free: 8.047 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.613e-05/0.1589, allocations: 8 kB / 447.2 MB, free: 8.039 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003758/0.1593, allocations: 276.5 kB / 447.5 MB, free: 7.738 MB / 382.1 MB Notification: Performance of pre-optimization done (n=35): time 1.513e-06/0.1593, allocations: 0 / 447.5 MB, free: 7.738 MB / 382.1 MB Notification: Performance of matching and sorting (n=36): time 0.002165/0.1615, allocations: 1.445 MB / 448.9 MB, free: 6.164 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001118/0.1616, allocations: 174.3 kB / 449.1 MB, free: 5.957 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004043/0.162, allocations: 385.9 kB / 449.4 MB, free: 5.57 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.528e-05/0.1621, allocations: 33.7 kB / 449.5 MB, free: 5.531 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002172/0.1623, allocations: 303.5 kB / 449.8 MB, free: 5.23 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.319e-05/0.1624, allocations: 110.4 kB / 449.9 MB, free: 5.121 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.795e-05/0.1624, allocations: 8 kB / 449.9 MB, free: 5.113 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001699/0.1626, allocations: 362.7 kB / 450.2 MB, free: 4.75 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001915/0.1628, allocations: 121 kB / 450.4 MB, free: 4.633 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002938/0.1631, allocations: 290.1 kB / 450.7 MB, free: 4.277 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000249/0.1634, allocations: 177.6 kB / 450.8 MB, free: 4.098 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.1634, allocations: 4 kB / 450.8 MB, free: 4.094 MB / 382.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0007924/0.1642, allocations: 0.6224 MB / 451.4 MB, free: 3.438 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.788e-05/0.1642, allocations: 33.7 kB / 451.5 MB, free: 3.398 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.888e-06/0.1643, allocations: 4 kB / 451.5 MB, free: 3.395 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001448/0.1644, allocations: 28.84 kB / 451.5 MB, free: 3.363 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003605/0.1648, allocations: 103.8 kB / 451.6 MB, free: 3.262 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001058/0.1659, allocations: 1.392 MB / 453 MB, free: 1.738 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000244/0.1661, allocations: 23.98 kB / 453 MB, free: 1.715 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.842e-05/0.1662, allocations: 28.23 kB / 453.1 MB, free: 1.688 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 11 (system.initime,$PRE.tapChanger.tap_1,tapChanger.tap_1,$PRE.tapChanger.tap_2,tapChanger.tap_2,$whenCondition1,$whenCondition2,$PRE.tapChanger.cnt_1,tapChanger.cnt_1,$PRE.tapChanger.cnt_2,tapChanger.cnt_2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 1 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002696/0.1664, allocations: 255.3 kB / 453.3 MB, free: 1.422 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.373e-05/0.1665, allocations: 43.44 kB / 453.4 MB, free: 1.379 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007329/0.1672, allocations: 0.5521 MB / 453.9 MB, free: 0.7891 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.1673, allocations: 4 kB / 453.9 MB, free: 0.7852 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.1673, allocations: 0 / 453.9 MB, free: 0.7852 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.417e-06/0.1673, allocations: 15.92 kB / 453.9 MB, free: 0.7695 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2481/0.4154, allocations: 1.06 MB / 455 MB, free: 51.24 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.522e-06/0.4155, allocations: 0 / 455 MB, free: 51.24 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002991/0.4158, allocations: 62.98 kB / 455 MB, free: 51.24 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.597e-05/0.4159, allocations: 23.97 kB / 455.1 MB, free: 51.23 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.914e-05/0.4159, allocations: 9.797 kB / 455.1 MB, free: 51.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007191/0.4166, allocations: 1.383 MB / 456.5 MB, free: 49.92 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.4167, allocations: 2.5 kB / 456.5 MB, free: 49.92 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008602/0.4175, allocations: 0.8254 MB / 457.3 MB, free: 49.61 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001493/0.4177, allocations: 149.7 kB / 457.4 MB, free: 49.52 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.058e-05/0.4177, allocations: 8.594 kB / 457.4 MB, free: 49.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002068/0.418, allocations: 20.44 kB / 457.5 MB, free: 49.52 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.276e-05/0.418, allocations: 23.62 kB / 457.5 MB, free: 49.52 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.143e-05/0.4181, allocations: 31.2 kB / 457.5 MB, free: 49.52 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002271/0.4183, allocations: 266.2 kB / 457.8 MB, free: 49.43 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4183, allocations: 0 / 457.8 MB, free: 49.43 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005329/0.4188, allocations: 107.3 kB / 457.9 MB, free: 49.43 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (trafo.i1) * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,tapChanger.tap_1,tapChanger.tap_2,tapChanger.cnt_1,tapChanger.cnt_2,system.initime) * Number of discrete states: 6 (tapChanger.tap_2,tapChanger.cnt_2,$whenCondition2,tapChanger.tap_1,tapChanger.cnt_1,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000119/0.419, allocations: 114.9 kB / 458 MB, free: 49.35 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006254/0.4196, allocations: 0.5099 MB / 458.5 MB, free: 49.18 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.4196, allocations: 0.5938 kB / 458.5 MB, free: 49.18 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003885/0.42, allocations: 380.1 kB / 458.9 MB, free: 49 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004511/0.4205, allocations: 85.47 kB / 459 MB, free: 49 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001374/0.4219, allocations: 1.186 MB / 460.1 MB, free: 48.47 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003008/0.4222, allocations: 0.8938 MB / 461 MB, free: 47.77 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002527/0.4224, allocations: 90.48 kB / 461.1 MB, free: 47.75 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.377e-05/0.4225, allocations: 35.69 kB / 461.2 MB, free: 47.75 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4225, allocations: 0 / 461.2 MB, free: 47.75 MB / 382.1 MB Notification: Performance of Templates: time 0.006847/0.4294, allocations: 3.968 MB / 465.1 MB, free: 47.48 MB / 382.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.makefile Environment - environmentSimulation: (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe 2>&1) Environment - environmentSimulation: