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.001062/0.001062, allocations: 103.8 kB / 17.07 MB, free: 5.68 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.001075/0.001075, allocations: 196 kB / 18.01 MB, free: 5.02 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.386/1.386, 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.05091/0.05091, allocations: 8.102 MB / 300 MB, free: 6.668 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 71.84 kB / 363.2 MB, free: 7.406 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2129/0.2142, allocations: 51.52 MB / 414.7 MB, free: 25.46 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.FourVariableLoadsThreeFeeders): time 0.004718/0.2189, allocations: 4.741 MB / 419.4 MB, free: 20.7 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003913/0.2229, allocations: 3.153 MB / 422.6 MB, free: 17.53 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005613/0.2235, allocations: 15.94 kB / 422.6 MB, free: 17.51 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007025/0.2242, allocations: 278.2 kB / 422.9 MB, free: 17.24 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001099/0.2253, allocations: 0.5358 MB / 423.4 MB, free: 16.7 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002133/0.2275, allocations: 1.493 MB / 424.9 MB, free: 15.21 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00103/0.2285, allocations: 1.125 MB / 426 MB, free: 14.08 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003437/0.2289, allocations: 306.8 kB / 426.3 MB, free: 13.77 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003366/0.2292, allocations: 458.2 kB / 426.8 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004469/0.2297, allocations: 0.5446 MB / 427.3 MB, free: 12.77 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001019/0.2298, allocations: 96 kB / 427.4 MB, free: 12.68 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006648/0.2305, allocations: 419.7 kB / 427.8 MB, free: 12.27 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001631/0.2306, allocations: 215.1 kB / 428 MB, free: 12.06 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003103/0.2309, allocations: 0.4897 MB / 428.5 MB, free: 11.57 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001015/0.232, allocations: 1.281 MB / 429.8 MB, free: 10.28 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.232, allocations: 0 / 429.8 MB, free: 10.28 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.325e-06/0.232, allocations: 0 / 429.8 MB, free: 10.28 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.1e-05/0.232, allocations: 0 / 429.8 MB, free: 10.28 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.008956/0.241, allocations: 2.571 MB / 432.4 MB, free: 7.648 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.241, allocations: 11.89 kB / 432.4 MB, free: 7.637 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000212/0.2412, allocations: 115.8 kB / 432.5 MB, free: 7.523 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007331/0.242, allocations: 0.5775 MB / 433.1 MB, free: 6.906 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.818e-05/0.2421, allocations: 168.7 kB / 433.2 MB, free: 6.719 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001155/0.2422, allocations: 79.94 kB / 433.3 MB, free: 6.641 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001461/0.2437, allocations: 1.081 MB / 434.4 MB, free: 5.543 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.802e-05/0.2437, allocations: 3.938 kB / 434.4 MB, free: 5.539 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.157e-05/0.2438, allocations: 28 kB / 434.4 MB, free: 5.512 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.085e-05/0.2438, allocations: 20 kB / 434.5 MB, free: 5.492 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001283/0.2451, allocations: 0.9851 MB / 435.4 MB, free: 4.504 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004207/0.2493, allocations: 4.045 MB / 439.5 MB, free: 120 kB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001895/0.2512, allocations: 1.591 MB / 441.1 MB, free: 14.44 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001064/0.2523, allocations: 0.7575 MB / 441.8 MB, free: 13.68 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001275/0.2525, allocations: 24.89 kB / 441.9 MB, free: 13.66 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001528/0.254, allocations: 0.9995 MB / 442.9 MB, free: 12.62 MB / 318.1 MB Notification: Performance of pre-optimization done (n=123): time 3.417e-06/0.254, allocations: 4 kB / 442.9 MB, free: 12.62 MB / 318.1 MB Notification: Performance of matching and sorting (n=123): time 0.02176/0.2758, allocations: 5.611 MB / 448.5 MB, free: 6.969 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002071/0.276, allocations: 260.2 kB / 448.7 MB, free: 6.66 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007806/0.2768, allocations: 0.5379 MB / 449.3 MB, free: 6.117 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001664/0.277, allocations: 61.81 kB / 449.3 MB, free: 6.051 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002089/0.2772, allocations: 285.8 kB / 449.6 MB, free: 5.766 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003216/0.2775, allocations: 398.3 kB / 450 MB, free: 5.371 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003953/0.2779, allocations: 214.9 kB / 450.2 MB, free: 5.152 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000168/0.2781, allocations: 394.7 kB / 450.6 MB, free: 4.758 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00103/0.2791, allocations: 0.6547 MB / 451.2 MB, free: 4.105 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001125/0.2803, allocations: 0.7594 MB / 452 MB, free: 3.336 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01765/0.2979, allocations: 4.78 MB / 456.8 MB, free: 14.52 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.298, allocations: 0 / 456.8 MB, free: 14.52 MB / 334.1 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.003933/0.3019, allocations: 2.218 MB / 459 MB, free: 12.29 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.834e-05/0.302, allocations: 37.69 kB / 459 MB, free: 12.24 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/0.302, allocations: 7.938 kB / 459 MB, free: 12.23 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008661/0.3107, allocations: 2.371 MB / 461.4 MB, free: 9.855 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000625/0.3113, allocations: 163.7 kB / 461.6 MB, free: 9.695 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004106/0.3154, allocations: 2.253 MB / 463.8 MB, free: 7.406 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009853/0.3164, allocations: 142.8 kB / 464 MB, free: 7.266 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001078/0.3165, allocations: 51.98 kB / 464 MB, free: 7.215 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.0005804/0.3171, allocations: 295.7 kB / 464.3 MB, free: 6.91 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000194/0.3173, allocations: 90.97 kB / 464.4 MB, free: 6.82 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004009/0.3213, allocations: 2.416 MB / 466.8 MB, free: 4.387 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.321e-05/0.3214, allocations: 16 kB / 466.8 MB, free: 4.371 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.3214, allocations: 0 / 466.8 MB, free: 4.371 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.157e-05/0.3214, allocations: 7.969 kB / 466.8 MB, free: 4.363 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006342/0.3278, allocations: 4.195 MB / 471 MB, free: 100 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.229e-06/0.3278, allocations: 0 / 471 MB, free: 100 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004156/0.3282, allocations: 119.8 kB / 471.1 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008635/0.3368, allocations: 2.121 MB / 473.3 MB, free: 13.85 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002097/0.3371, allocations: 35.98 kB / 473.3 MB, free: 13.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004559/0.3416, allocations: 2.391 MB / 475.7 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.3417, allocations: 0 / 475.7 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004262/0.3459, allocations: 2.431 MB / 478.1 MB, free: 8.938 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006354/0.3466, allocations: 343.5 kB / 478.5 MB, free: 8.582 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001739/0.3468, allocations: 32 kB / 478.5 MB, free: 8.551 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009486/0.3477, allocations: 110.5 kB / 478.6 MB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002578/0.348, allocations: 97.17 kB / 478.7 MB, free: 8.352 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000118/0.3481, allocations: 55.92 kB / 478.7 MB, free: 8.297 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004987/0.3486, allocations: 374.8 kB / 479.1 MB, free: 7.93 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3486, allocations: 0 / 479.1 MB, free: 7.93 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008831/0.3495, allocations: 331.7 kB / 479.4 MB, free: 7.605 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.001104/0.3506, allocations: 483.8 kB / 479.9 MB, free: 7.277 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.005088/0.3557, allocations: 2.093 MB / 482 MB, free: 5.168 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.292e-06/0.3558, allocations: 8.594 kB / 482 MB, free: 5.16 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003594/0.3594, allocations: 1.376 MB / 483.4 MB, free: 3.785 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008591/0.3602, allocations: 130.2 kB / 483.5 MB, free: 3.652 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003049/0.3633, allocations: 1.75 MB / 485.3 MB, free: 1.887 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004518/0.3638, allocations: 0.9694 MB / 486.2 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003652/0.3642, allocations: 118.1 kB / 486.3 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000177/0.3643, allocations: 75.42 kB / 486.4 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of SimCode: time 6.61e-07/0.3643, allocations: 0 / 486.4 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of Templates: time 0.02972/0.3941, allocations: 21.66 MB / 0.4962 GB, free: 11.14 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 gbode -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.FourVariableLoadsThreeFeeders.pipe 2>&1)