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.001602/0.001602, allocations: 104.1 kB / 16.98 MB, free: 6.137 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.001651/0.001651, allocations: 191.4 kB / 17.91 MB, free: 5.234 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.34/1.34, allocations: 222.9 MB / 241.6 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.06928/0.06928, allocations: 8.091 MB / 299.9 MB, free: 6.703 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 59.89 kB / 362.4 MB, free: 8.113 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.219/0.2203, allocations: 51.52 MB / 413.9 MB, free: 25.57 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.FourVariableLoadsThreeFeeders): time 0.004507/0.2248, allocations: 4.75 MB / 418.7 MB, free: 20.8 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003689/0.2286, allocations: 3.147 MB / 421.8 MB, free: 17.63 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000563/0.2291, allocations: 16 kB / 421.8 MB, free: 17.62 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007428/0.2299, allocations: 278.2 kB / 422.1 MB, free: 17.34 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001217/0.2312, allocations: 0.5435 MB / 422.6 MB, free: 16.8 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002193/0.2334, allocations: 1.48 MB / 424.1 MB, free: 15.32 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001038/0.2344, allocations: 1.098 MB / 425.2 MB, free: 14.22 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003541/0.2348, allocations: 315 kB / 425.5 MB, free: 13.9 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003474/0.2351, allocations: 450.3 kB / 426 MB, free: 13.46 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004708/0.2356, allocations: 0.5486 MB / 426.5 MB, free: 12.91 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001226/0.2357, allocations: 88 kB / 426.6 MB, free: 12.82 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007523/0.2365, allocations: 423.7 kB / 427 MB, free: 12.41 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001584/0.2367, allocations: 215.1 kB / 427.2 MB, free: 12.2 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003323/0.237, allocations: 0.4897 MB / 427.7 MB, free: 11.7 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001287/0.2383, allocations: 1.27 MB / 429 MB, free: 10.43 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.2383, allocations: 0 / 429 MB, free: 10.43 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.395e-06/0.2383, allocations: 0 / 429 MB, free: 10.43 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.46e-05/0.2384, allocations: 4 kB / 429 MB, free: 10.43 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.009311/0.2477, allocations: 2.574 MB / 431.6 MB, free: 7.789 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.2477, allocations: 11.89 kB / 431.6 MB, free: 7.777 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002472/0.248, allocations: 111.8 kB / 431.7 MB, free: 7.668 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006929/0.2487, allocations: 0.5775 MB / 432.3 MB, free: 7.051 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.694e-05/0.2488, allocations: 168.7 kB / 432.4 MB, free: 6.863 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00011/0.2489, allocations: 79.92 kB / 432.5 MB, free: 6.785 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001515/0.2504, allocations: 1.089 MB / 433.6 MB, free: 5.68 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.837e-05/0.2505, allocations: 0 / 433.6 MB, free: 5.68 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.302e-05/0.2506, allocations: 28 kB / 433.6 MB, free: 5.652 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.234e-05/0.2506, allocations: 19.98 kB / 433.6 MB, free: 5.633 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001335/0.2519, allocations: 0.9812 MB / 434.6 MB, free: 4.648 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004504/0.2564, allocations: 4.064 MB / 438.7 MB, free: 248 kB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001977/0.2585, allocations: 1.585 MB / 440.3 MB, free: 14.57 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001115/0.2596, allocations: 0.7575 MB / 441 MB, free: 13.82 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001281/0.2597, allocations: 36.89 kB / 441.1 MB, free: 13.78 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001666/0.2614, allocations: 0.9933 MB / 442.1 MB, free: 12.75 MB / 318.1 MB Notification: Performance of pre-optimization done (n=123): time 5.43e-06/0.2614, allocations: 3.984 kB / 442.1 MB, free: 12.75 MB / 318.1 MB Notification: Performance of matching and sorting (n=123): time 0.02303/0.2845, allocations: 5.618 MB / 447.7 MB, free: 7.09 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001749/0.2847, allocations: 260.3 kB / 447.9 MB, free: 6.781 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008926/0.2856, allocations: 0.5379 MB / 448.5 MB, free: 6.238 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002206/0.2858, allocations: 57.7 kB / 448.5 MB, free: 6.176 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002568/0.2861, allocations: 281.9 kB / 448.8 MB, free: 5.895 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004101/0.2865, allocations: 398.3 kB / 449.2 MB, free: 5.5 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004149/0.287, allocations: 222.9 kB / 449.4 MB, free: 5.273 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001952/0.2872, allocations: 386.8 kB / 449.8 MB, free: 4.887 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001075/0.2882, allocations: 0.6547 MB / 450.4 MB, free: 4.234 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001156/0.2894, allocations: 0.7594 MB / 451.2 MB, free: 3.465 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01805/0.3075, allocations: 4.812 MB / 456 MB, free: 14.62 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/0.3075, allocations: 0 / 456 MB, free: 14.62 MB / 334.1 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.004078/0.3116, allocations: 2.21 MB / 458.2 MB, free: 12.39 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.811e-05/0.3117, allocations: 37.69 kB / 458.3 MB, free: 12.35 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.209e-05/0.3117, allocations: 4 kB / 458.3 MB, free: 12.34 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008992/0.3207, allocations: 2.383 MB / 460.6 MB, free: 9.953 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000749/0.3215, allocations: 159.8 kB / 460.8 MB, free: 9.797 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00447/0.326, allocations: 2.265 MB / 463.1 MB, free: 7.496 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001256/0.3273, allocations: 154.8 kB / 463.2 MB, free: 7.344 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001046/0.3274, allocations: 43.98 kB / 463.3 MB, free: 7.301 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.0006367/0.328, allocations: 290.1 kB / 463.5 MB, free: 7.004 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002366/0.3283, allocations: 98.97 kB / 463.6 MB, free: 6.906 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004157/0.3325, allocations: 2.408 MB / 466 MB, free: 4.48 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.247e-05/0.3325, allocations: 12 kB / 466.1 MB, free: 4.469 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.256e-06/0.3325, allocations: 4 kB / 466.1 MB, free: 4.465 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.252e-05/0.3325, allocations: 7.969 kB / 466.1 MB, free: 4.457 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006769/0.3393, allocations: 4.2 MB / 470.3 MB, free: 192 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.314e-06/0.3394, allocations: 0 / 470.3 MB, free: 192 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004181/0.3398, allocations: 115.8 kB / 470.4 MB, free: 76 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008641/0.3484, allocations: 2.14 MB / 472.5 MB, free: 13.93 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002551/0.3487, allocations: 31.98 kB / 472.6 MB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004665/0.3534, allocations: 2.395 MB / 475 MB, free: 11.46 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.3535, allocations: 0 / 475 MB, free: 11.46 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004311/0.3578, allocations: 2.425 MB / 477.4 MB, free: 9.012 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005705/0.3584, allocations: 339.5 kB / 477.7 MB, free: 8.66 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001891/0.3586, allocations: 32 kB / 477.7 MB, free: 8.629 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001003/0.3596, allocations: 107.9 kB / 477.8 MB, free: 8.523 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002506/0.3598, allocations: 93.19 kB / 477.9 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001108/0.36, allocations: 51.92 kB / 478 MB, free: 8.383 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005083/0.3605, allocations: 378.8 kB / 478.4 MB, free: 8.012 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.3605, allocations: 0 / 478.4 MB, free: 8.012 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008506/0.3614, allocations: 335.6 kB / 478.7 MB, free: 7.684 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.001096/0.3625, allocations: 479.5 kB / 479.2 MB, free: 7.355 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.005714/0.3682, allocations: 2.136 MB / 481.3 MB, free: 5.207 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 7.334e-06/0.3682, allocations: 4.594 kB / 481.3 MB, free: 5.203 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003763/0.372, allocations: 1.383 MB / 482.7 MB, free: 3.82 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009036/0.3729, allocations: 123.9 kB / 482.8 MB, free: 3.699 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003344/0.3763, allocations: 1.811 MB / 484.6 MB, free: 1.863 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004905/0.3768, allocations: 0.9733 MB / 485.6 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000266/0.3771, allocations: 79.41 kB / 485.7 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of SimCode: time 7.41e-07/0.3771, allocations: 0 / 485.7 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of Templates: time 0.02171/0.3988, allocations: 16.12 MB / 0.49 GB, free: 0.6562 MB / 366.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 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.FourVariableLoadsThreeFeeders.pipe 2>&1)