Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.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.AC1ph_DC.Transformation.OnePhase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase") translateModel(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008092/0.0008094, allocations: 91.88 kB / 16.65 MB, free: 6.586 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.0008391/0.0008391, allocations: 182 kB / 17.56 MB, free: 6.203 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.412/1.412, allocations: 223.2 MB / 241.6 MB, free: 116 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.184/0.184, allocations: 38.08 MB / 330.8 MB, free: 8.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004243/0.0004243, allocations: 8 kB / 400.7 MB, free: 34.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1326/0.1331, allocations: 59.17 MB / 459.9 MB, free: 7.031 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase): time 0.00645/0.1396, allocations: 6.138 MB / 466 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002702/0.1423, allocations: 1.597 MB / 467.6 MB, free: 15.26 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003666/0.1427, allocations: 39.75 kB / 467.6 MB, free: 15.22 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004448/0.1432, allocations: 115.3 kB / 467.8 MB, free: 15.11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008415/0.144, allocations: 346.6 kB / 468.1 MB, free: 14.77 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003119/0.1443, allocations: 115.9 kB / 468.2 MB, free: 14.65 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00116/0.1455, allocations: 1.149 MB / 469.4 MB, free: 13.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002914/0.1458, allocations: 164.2 kB / 469.5 MB, free: 13.33 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004772/0.1463, allocations: 274.7 kB / 469.8 MB, free: 13.06 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006179/0.1469, allocations: 386.7 kB / 470.2 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.728e-05/0.147, allocations: 23.94 kB / 470.2 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.959e-05/0.1471, allocations: 20 kB / 470.2 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002049/0.1473, allocations: 167.5 kB / 470.4 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002559/0.1475, allocations: 260.4 kB / 470.6 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005017/0.1481, allocations: 0.498 MB / 471.1 MB, free: 11.71 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.1481, allocations: 0 / 471.1 MB, free: 11.71 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.495e-06/0.1481, allocations: 0 / 471.1 MB, free: 11.71 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.151e-05/0.1481, allocations: 0 / 471.1 MB, free: 11.71 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: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.001309/0.1494, allocations: 0.7269 MB / 471.9 MB, free: 10.94 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.1495, allocations: 8.031 kB / 471.9 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.644e-05/0.1496, allocations: 56.28 kB / 471.9 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006659/0.1502, allocations: 460.5 kB / 472.4 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.487e-05/0.1503, allocations: 32.94 kB / 472.4 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.954e-05/0.1504, allocations: 43.89 kB / 472.4 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000713/0.1511, allocations: 0.4922 MB / 472.9 MB, free: 9.785 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.49e-05/0.1511, allocations: 0 / 472.9 MB, free: 9.785 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.074e-05/0.1512, allocations: 16 kB / 472.9 MB, free: 9.77 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.662e-05/0.1512, allocations: 28.92 kB / 473 MB, free: 9.742 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005553/0.1518, allocations: 367.6 kB / 473.3 MB, free: 9.383 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002554/0.1543, allocations: 2.091 MB / 475.4 MB, free: 7.148 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004094/0.1547, allocations: 237.2 kB / 475.7 MB, free: 6.898 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002402/0.155, allocations: 135.8 kB / 475.8 MB, free: 6.762 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.938e-05/0.155, allocations: 0 / 475.8 MB, free: 6.762 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.81e-05/0.1551, allocations: 38.56 kB / 475.8 MB, free: 6.715 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.142e-06/0.1551, allocations: 0 / 475.8 MB, free: 6.715 MB / 350.1 MB Notification: Performance of matching and sorting (n=23): time 0.001222/0.1563, allocations: 0.7595 MB / 476.6 MB, free: 5.902 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.53e-05/0.1564, allocations: 85.23 kB / 476.7 MB, free: 5.801 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003859/0.1568, allocations: 381.5 kB / 477 MB, free: 5.418 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.619e-05/0.1568, allocations: 33.69 kB / 477.1 MB, free: 5.379 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002117/0.157, allocations: 287 kB / 477.4 MB, free: 5.094 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.382e-05/0.1571, allocations: 82.84 kB / 477.4 MB, free: 5.012 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001275/0.1572, allocations: 41.69 kB / 477.5 MB, free: 4.965 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002032/0.1574, allocations: 350.8 kB / 477.8 MB, free: 4.613 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001402/0.1576, allocations: 84.83 kB / 477.9 MB, free: 4.531 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002642/0.1578, allocations: 281.2 kB / 478.2 MB, free: 4.164 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004595/0.1583, allocations: 408.3 kB / 478.6 MB, free: 3.676 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.1583, allocations: 0 / 478.6 MB, free: 3.676 MB / 350.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0007091/0.159, allocations: 459.5 kB / 479 MB, free: 3.219 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/0.1591, allocations: 10.19 kB / 479 MB, free: 3.211 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/0.1591, allocations: 4 kB / 479 MB, free: 3.207 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002201/0.1593, allocations: 52.83 kB / 479.1 MB, free: 3.152 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002534/0.1596, allocations: 84.23 kB / 479.2 MB, free: 3.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001413/0.161, allocations: 1.488 MB / 480.7 MB, free: 1.449 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002135/0.1612, allocations: 24.05 kB / 480.7 MB, free: 1.426 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.785e-05/0.1613, allocations: 20 kB / 480.7 MB, free: 1.406 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 3 (system.initime,trafo.tap_2_internal,trafo.tap_1_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * 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,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003109/0.1616, allocations: 201.6 kB / 480.9 MB, free: 1.199 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.176e-05/0.1616, allocations: 43.44 kB / 480.9 MB, free: 1.156 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000373/0.162, allocations: 233.1 kB / 481.2 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.162, allocations: 4 kB / 481.2 MB, free: 0.918 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.1621, allocations: 7.922 kB / 481.2 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.047e-06/0.1621, allocations: 7.984 kB / 481.2 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009524/0.163, allocations: 0.682 MB / 481.9 MB, free: 168 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.163, allocations: 0 / 481.9 MB, free: 168 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002358/0.1633, allocations: 55.91 kB / 481.9 MB, free: 112 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.1633, allocations: 0 / 481.9 MB, free: 112 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.635e-05/0.1633, allocations: 7.938 kB / 481.9 MB, free: 104 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.1633, allocations: 0 / 481.9 MB, free: 104 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.1633, allocations: 3.984 kB / 481.9 MB, free: 100 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005475/0.1639, allocations: 444.7 kB / 482.4 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001429/0.164, allocations: 120.6 kB / 482.5 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.936e-05/0.1641, allocations: 11.94 kB / 482.5 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001322/0.1642, allocations: 4 kB / 482.5 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.245e-05/0.1643, allocations: 15.97 kB / 482.5 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.628e-05/0.1643, allocations: 16.06 kB / 482.5 MB, free: 15.46 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002524/0.1646, allocations: 251.2 kB / 482.8 MB, free: 15.21 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1646, allocations: 0 / 482.8 MB, free: 15.21 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004493/0.165, allocations: 92 kB / 482.9 MB, free: 15.12 MB / 366.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: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 23 * 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.0001158/0.1651, allocations: 99.19 kB / 483 MB, free: 15.02 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006934/0.1658, allocations: 394.9 kB / 483.4 MB, free: 14.62 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.1659, allocations: 0 / 483.4 MB, free: 14.62 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001354/0.166, allocations: 95.89 kB / 483.5 MB, free: 14.52 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006177/0.1666, allocations: 86.7 kB / 483.5 MB, free: 14.44 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001408/0.168, allocations: 1.053 MB / 484.6 MB, free: 13.35 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004235/0.1685, allocations: 0.8664 MB / 485.5 MB, free: 12.46 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002568/0.1687, allocations: 84.12 kB / 485.5 MB, free: 12.38 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.037e-05/0.1688, allocations: 31.44 kB / 485.6 MB, free: 12.34 MB / 366.1 MB Notification: Performance of SimCode: time 1.336e-05/0.1688, allocations: 0 / 485.6 MB, free: 12.34 MB / 366.1 MB Notification: Performance of Templates: time 0.007644/0.1765, allocations: 3.396 MB / 489 MB, free: 8.984 MB / 366.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.makefile (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe 2>&1)