Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.FourVariableLoadsThreeFeeders.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/PowerSysPro 2.3.1-master/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/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(PowerSysPro.Examples.FourVariableLoadsThreeFeeders,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.FourVariableLoadsThreeFeeders") translateModel(PowerSysPro.Examples.FourVariableLoadsThreeFeeders,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.FourVariableLoadsThreeFeeders") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001183/0.001183, allocations: 107 kB / 17.07 MB, free: 6.062 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.001234/0.001234, allocations: 196 kB / 18.01 MB, free: 5.148 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.438/1.438, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.05787/0.05787, allocations: 8.101 MB / 300 MB, free: 6.648 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 55.91 kB / 363.2 MB, free: 7.398 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2514/0.2527, allocations: 51.51 MB / 414.7 MB, free: 25.45 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.FourVariableLoadsThreeFeeders): time 0.005338/0.2581, allocations: 4.761 MB / 419.4 MB, free: 20.66 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004476/0.2626, allocations: 3.147 MB / 422.6 MB, free: 17.5 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004759/0.2631, allocations: 12 kB / 422.6 MB, free: 17.49 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007245/0.2638, allocations: 278.2 kB / 422.9 MB, free: 17.21 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001356/0.2652, allocations: 0.5389 MB / 423.4 MB, free: 16.68 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002421/0.2676, allocations: 1.501 MB / 424.9 MB, free: 15.18 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001152/0.2688, allocations: 1.109 MB / 426 MB, free: 14.06 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003861/0.2692, allocations: 303 kB / 426.3 MB, free: 13.75 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003477/0.2696, allocations: 458.3 kB / 426.8 MB, free: 13.3 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005021/0.2701, allocations: 0.5486 MB / 427.3 MB, free: 12.75 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001057/0.2702, allocations: 92 kB / 427.4 MB, free: 12.66 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006951/0.2709, allocations: 415.7 kB / 427.8 MB, free: 12.26 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001617/0.2711, allocations: 215.1 kB / 428 MB, free: 12.05 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003374/0.2714, allocations: 0.4936 MB / 428.5 MB, free: 11.55 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001066/0.2725, allocations: 1.279 MB / 429.8 MB, free: 10.27 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.2725, allocations: 0 / 429.8 MB, free: 10.27 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.2725, allocations: 4 kB / 429.8 MB, free: 10.27 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.836e-05/0.2725, allocations: 0 / 429.8 MB, free: 10.27 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 164 * Number of variables: 164 Notification: Performance of Generate backend data structure: time 0.008649/0.2812, allocations: 2.582 MB / 432.4 MB, free: 7.621 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.2812, allocations: 11.89 kB / 432.4 MB, free: 7.609 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002154/0.2815, allocations: 107.8 kB / 432.5 MB, free: 7.504 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007381/0.2822, allocations: 0.5774 MB / 433.1 MB, free: 6.887 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000104/0.2823, allocations: 176.7 kB / 433.2 MB, free: 6.691 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001183/0.2824, allocations: 75.94 kB / 433.3 MB, free: 6.617 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001612/0.2841, allocations: 1.081 MB / 434.4 MB, free: 5.52 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.386e-05/0.2841, allocations: 4 kB / 434.4 MB, free: 5.516 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.446e-05/0.2842, allocations: 32 kB / 434.4 MB, free: 5.484 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.795e-05/0.2842, allocations: 19.98 kB / 434.4 MB, free: 5.465 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001391/0.2856, allocations: 0.9851 MB / 435.4 MB, free: 4.477 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004496/0.2901, allocations: 4.045 MB / 439.5 MB, free: 92 kB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001851/0.292, allocations: 1.593 MB / 441.1 MB, free: 14.41 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001024/0.293, allocations: 0.7614 MB / 441.8 MB, free: 13.65 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001283/0.2932, allocations: 28.95 kB / 441.9 MB, free: 13.62 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001511/0.2947, allocations: 0.9934 MB / 442.9 MB, free: 12.59 MB / 318.1 MB Notification: Performance of pre-optimization done (n=123): time 3.267e-06/0.2947, allocations: 0 / 442.9 MB, free: 12.59 MB / 318.1 MB Notification: Performance of matching and sorting (n=123): time 0.02141/0.3161, allocations: 5.622 MB / 448.5 MB, free: 6.934 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001358/0.3163, allocations: 252.3 kB / 448.7 MB, free: 6.633 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007268/0.317, allocations: 0.534 MB / 449.3 MB, free: 6.094 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001525/0.3172, allocations: 61.81 kB / 449.3 MB, free: 6.027 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001986/0.3174, allocations: 293.8 kB / 449.6 MB, free: 5.734 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003203/0.3177, allocations: 394.3 kB / 450 MB, free: 5.344 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003877/0.3181, allocations: 222.9 kB / 450.2 MB, free: 5.117 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001498/0.3183, allocations: 390.7 kB / 450.6 MB, free: 4.727 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009711/0.3193, allocations: 0.6546 MB / 451.2 MB, free: 4.074 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001081/0.3204, allocations: 0.7594 MB / 452 MB, free: 3.305 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01715/0.3375, allocations: 4.776 MB / 456.8 MB, free: 14.5 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.561e-06/0.3376, allocations: 0 / 456.8 MB, free: 14.5 MB / 334.1 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.00407/0.3416, allocations: 2.218 MB / 459 MB, free: 12.26 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.103e-05/0.3417, allocations: 37.69 kB / 459 MB, free: 12.21 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.3417, allocations: 0 / 459 MB, free: 12.21 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008558/0.3503, allocations: 2.367 MB / 461.4 MB, free: 9.84 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006966/0.351, allocations: 163.7 kB / 461.6 MB, free: 9.68 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004143/0.3552, allocations: 2.265 MB / 463.8 MB, free: 7.379 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001121/0.3563, allocations: 146.8 kB / 464 MB, free: 7.234 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001076/0.3564, allocations: 39.98 kB / 464 MB, free: 7.195 MB / 334.1 MB Warning: Assuming fixed start value for the following 3 variables: HVMV.tapChanger.tap:DISCRETE(start = HVMV.tapChanger.startTap fixed = true ) "Current tap position" type: Integer HVMV.tapChanger.furtherTapChangeTimeout:DISCRETE(start = HVMV.tapChanger.nextTapChangeTimeout unit = "s" fixed = true protected = true ) "Time lag between the first change and the following tap" type: Real HVMV.tapChanger.abnormalUTime:DISCRETE(unit = "s" fixed = true protected = true ) "Time when the signal U went out its normal range" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 25 ($PRE.HVMV.tapChanger.tap,$PRE.HVMV.tapChanger.furtherTapChangeTimeout,$PRE.HVMV.tapChanger.abnormalUTime,varLoad4.degradedMode,$PRE.varLoad4.degradedMode,varLoad3.degradedMode,$PRE.varLoad3.degradedMode,varLoad2.degradedMode,$PRE.varLoad2.degradedMode,varLoad1.degradedMode,$PRE.varLoad1.degradedMode,HVMV.tapChanger.furtherTapChangeTimeout,HVMV.tapChanger.increaseEvent,HVMV.tapChanger.decreaseEvent,HVMV.tapChanger.normalU,HVMV.tapChanger.abnormalUTime,HVMV.tapChanger.tap,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (107): * Single equations (assignments): 106 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(20,30)} Notification: Performance of prepare postOptimizeDAE: time 0.0006072/0.357, allocations: 295.7 kB / 464.3 MB, free: 6.891 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002049/0.3573, allocations: 98.95 kB / 464.4 MB, free: 6.793 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00396/0.3612, allocations: 2.412 MB / 466.8 MB, free: 4.363 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.041e-05/0.3613, allocations: 15.94 kB / 466.8 MB, free: 4.348 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.3613, allocations: 3.938 kB / 466.8 MB, free: 4.344 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.226e-05/0.3613, allocations: 7.969 kB / 466.8 MB, free: 4.336 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006348/0.3676, allocations: 4.199 MB / 471 MB, free: 68 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.012e-06/0.3677, allocations: 0 / 471 MB, free: 68 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004074/0.3681, allocations: 111.8 kB / 471.1 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008548/0.3766, allocations: 2.125 MB / 473.3 MB, free: 13.82 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002777/0.377, allocations: 31.98 kB / 473.3 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00696/0.3839, allocations: 2.392 MB / 475.7 MB, free: 11.37 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.185e-06/0.384, allocations: 4 kB / 475.7 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006944/0.3909, allocations: 2.423 MB / 478.1 MB, free: 8.918 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009547/0.3919, allocations: 339.5 kB / 478.4 MB, free: 8.566 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002544/0.3922, allocations: 36 kB / 478.5 MB, free: 8.531 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001423/0.3936, allocations: 115.5 kB / 478.6 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003796/0.394, allocations: 93.19 kB / 478.7 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002682/0.3943, allocations: 51.91 kB / 478.7 MB, free: 8.281 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0009043/0.3952, allocations: 378.8 kB / 479.1 MB, free: 7.91 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.2e-07/0.3952, allocations: 3.938 kB / 479.1 MB, free: 7.906 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0014/0.3966, allocations: 335.7 kB / 479.4 MB, free: 7.578 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,HVMV.tapChanger.tap,HVMV.tapChanger.abnormalUTime,HVMV.tapChanger.normalU,HVMV.tapChanger.decreaseEvent,HVMV.tapChanger.increaseEvent,HVMV.tapChanger.furtherTapChangeTimeout,varLoad1.degradedMode,varLoad2.degradedMode,varLoad3.degradedMode,varLoad4.degradedMode) * Number of discrete states: 14 (HVMV.tapChanger.tap,HVMV.tapChanger.furtherTapChangeTimeout,$whenCondition4,$whenCondition3,HVMV.tapChanger.abnormalUTime,$whenCondition2,$whenCondition1,HVMV.tapChanger.decreaseEvent,HVMV.tapChanger.increaseEvent,HVMV.tapChanger.normalU,varLoad2.degradedMode,varLoad3.degradedMode,varLoad4.degradedMode,varLoad1.degradedMode) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (75): * Single equations (assignments): 74 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(20,33)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001688/0.3983, allocations: 484.7 kB / 479.9 MB, free: 7.246 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.008071/0.4064, allocations: 2.089 MB / 482 MB, free: 5.141 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 9.127e-06/0.4065, allocations: 0.6562 kB / 482 MB, free: 5.141 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006585/0.4131, allocations: 1.391 MB / 483.4 MB, free: 3.754 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001458/0.4146, allocations: 118.2 kB / 483.5 MB, free: 3.633 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005808/0.4204, allocations: 1.743 MB / 485.3 MB, free: 1.867 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008423/0.4213, allocations: 0.9694 MB / 486.2 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0007544/0.422, allocations: 114.1 kB / 486.3 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003183/0.4224, allocations: 79.41 kB / 486.4 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of SimCode: time 2.234e-06/0.4224, allocations: 0 / 486.4 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of Templates: time 0.04579/0.4682, allocations: 21.66 MB / 0.4962 GB, free: 11.12 MB / 382.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.FourVariableLoadsThreeFeeders.makefile (rm -f PowerSysPro_PowerSysPro.Examples.FourVariableLoadsThreeFeeders.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.FourVariableLoadsThreeFeeders.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.FourVariableLoadsThreeFeeders.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.FourVariableLoadsThreeFeeders.sim & ./PowerSysPro_PowerSysPro.Examples.FourVariableLoadsThreeFeeders -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.FourVariableLoadsThreeFeeders.pipe 2>&1)