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/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/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.001165/0.001165, allocations: 97.14 kB / 15.73 MB, free: 440 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001043/0.001043, allocations: 174.6 kB / 16.61 MB, free: 6.426 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.487/1.487, allocations: 223.2 MB / 240.6 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.2106/0.2106, allocations: 8.085 MB / 299.7 MB, free: 2.816 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003712/0.0003712, allocations: 11.98 kB / 362.8 MB, free: 13.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1338/0.1342, allocations: 52.51 MB / 415.3 MB, free: 8.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.FourVariableLoadsThreeFeeders): time 0.00449/0.1387, allocations: 3.74 MB / 419 MB, free: 4.996 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004905/0.1437, allocations: 3.012 MB / 422 MB, free: 1.965 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003888/0.1441, allocations: 12 kB / 422 MB, free: 1.953 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005738/0.1447, allocations: 186.9 kB / 422.2 MB, free: 1.77 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001142/0.1458, allocations: 0.51 MB / 422.7 MB, free: 1.262 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002257/0.1481, allocations: 1.195 MB / 423.9 MB, free: 72 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.2365/0.3846, allocations: 0.7253 MB / 424.6 MB, free: 34.7 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005081/0.3852, allocations: 236.1 kB / 424.9 MB, free: 34.66 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005247/0.3857, allocations: 381.8 kB / 425.2 MB, free: 34.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006042/0.3864, allocations: 468.9 kB / 425.7 MB, free: 34.66 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.629e-05/0.3865, allocations: 45.19 kB / 425.7 MB, free: 34.66 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008981/0.3874, allocations: 316.5 kB / 426.1 MB, free: 34.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001859/0.3876, allocations: 167.6 kB / 426.2 MB, free: 34.66 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001812/0.3877, allocations: 191.2 kB / 426.4 MB, free: 34.63 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009552/0.3887, allocations: 0.8889 MB / 427.3 MB, free: 34.55 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.3887, allocations: 0 / 427.3 MB, free: 34.55 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.668e-06/0.3887, allocations: 0 / 427.3 MB, free: 34.55 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.068e-05/0.3888, allocations: 1.859 kB / 427.3 MB, free: 34.55 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: 164 * Number of variables: 164 Notification: Performance of Generate backend data structure: time 0.008766/0.3975, allocations: 2.433 MB / 429.7 MB, free: 33.81 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.76e-05/0.3976, allocations: 9.562 kB / 429.7 MB, free: 33.81 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003248/0.3979, allocations: 108.9 kB / 429.8 MB, free: 33.76 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009393/0.3989, allocations: 0.563 MB / 430.4 MB, free: 33.5 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001325/0.399, allocations: 170.2 kB / 430.6 MB, free: 33.37 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001294/0.3991, allocations: 76.16 kB / 430.6 MB, free: 33.37 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001943/0.4011, allocations: 1.083 MB / 431.7 MB, free: 33.29 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.721e-05/0.4011, allocations: 0 / 431.7 MB, free: 33.29 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001063/0.4012, allocations: 32.34 kB / 431.8 MB, free: 33.29 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.657e-05/0.4013, allocations: 22.78 kB / 431.8 MB, free: 33.29 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001718/0.403, allocations: 0.9817 MB / 432.8 MB, free: 33.29 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004923/0.4079, allocations: 4.143 MB / 436.9 MB, free: 31.44 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001737/0.4097, allocations: 1.593 MB / 438.5 MB, free: 31.02 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001057/0.4098, allocations: 26.12 kB / 438.5 MB, free: 31.02 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001593/0.4114, allocations: 1.005 MB / 439.5 MB, free: 30.84 MB / 350.1 MB Notification: Performance of pre-optimization done (n=123): time 4.809e-06/0.4114, allocations: 0 / 439.5 MB, free: 30.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=123): time 0.02128/0.4327, allocations: 5.572 MB / 445.1 MB, free: 30.35 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.922e-05/0.4329, allocations: 259.3 kB / 445.4 MB, free: 30.06 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007623/0.4336, allocations: 0.5261 MB / 445.9 MB, free: 29.82 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001825/0.4338, allocations: 61.86 kB / 445.9 MB, free: 29.76 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001889/0.434, allocations: 287.8 kB / 446.2 MB, free: 29.54 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002959/0.4343, allocations: 398.2 kB / 446.6 MB, free: 29.23 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.248e-05/0.4344, allocations: 24.78 kB / 446.6 MB, free: 29.21 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001096/0.4345, allocations: 397.2 kB / 447 MB, free: 28.86 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008502/0.4354, allocations: 0.6507 MB / 447.7 MB, free: 28.56 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009116/0.4363, allocations: 0.7563 MB / 448.4 MB, free: 28.2 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009718/0.4373, allocations: 0.7221 MB / 449.2 MB, free: 27.79 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.4373, allocations: 1.203 kB / 449.2 MB, free: 27.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.003074/0.4404, allocations: 2.162 MB / 451.3 MB, free: 26.73 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.517e-05/0.4404, allocations: 39.59 kB / 451.4 MB, free: 26.69 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/0.4405, allocations: 4.625 kB / 451.4 MB, free: 26.69 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008517/0.449, allocations: 2.38 MB / 453.7 MB, free: 26.3 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007767/0.4498, allocations: 168.1 kB / 453.9 MB, free: 26.29 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003812/0.4536, allocations: 2.233 MB / 456.1 MB, free: 24.95 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00146/0.4551, allocations: 161.8 kB / 456.3 MB, free: 24.88 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000113/0.4552, allocations: 50.27 kB / 456.3 MB, free: 24.86 MB / 350.1 MB Warning: Assuming fixed start value for the following 3 variables: 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 HVMV.tapChanger.tap:DISCRETE(start = HVMV.tapChanger.startTap fixed = true ) "Current tap position" type: Integer Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 25 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$PRE.HVMV.tapChanger.tap,HVMV.tapChanger.tap,$PRE.HVMV.tapChanger.abnormalUTime,HVMV.tapChanger.abnormalUTime,HVMV.tapChanger.normalU,HVMV.tapChanger.decreaseEvent,HVMV.tapChanger.increaseEvent,$PRE.HVMV.tapChanger.furtherTapChangeTimeout,HVMV.tapChanger.furtherTapChangeTimeout,$PRE.varLoad1.degradedMode,varLoad1.degradedMode,$PRE.varLoad2.degradedMode,varLoad2.degradedMode,$PRE.varLoad3.degradedMode,varLoad3.degradedMode,$PRE.varLoad4.degradedMode,varLoad4.degradedMode) * 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 (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: 0 * Non-linear torn systems: 1 {20 30} Notification: Performance of prepare postOptimizeDAE: time 0.0006289/0.4559, allocations: 295 kB / 456.6 MB, free: 24.64 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00018/0.4561, allocations: 91.28 kB / 456.7 MB, free: 24.6 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003695/0.4598, allocations: 2.437 MB / 459.2 MB, free: 23.38 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.527e-05/0.4598, allocations: 15.73 kB / 459.2 MB, free: 23.38 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.626e-06/0.4598, allocations: 0 / 459.2 MB, free: 23.38 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.192e-05/0.4598, allocations: 3.609 kB / 459.2 MB, free: 23.38 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006557/0.4664, allocations: 4.218 MB / 463.4 MB, free: 21.2 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/0.4664, allocations: 5 kB / 463.4 MB, free: 21.2 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004728/0.4669, allocations: 121.9 kB / 463.5 MB, free: 21.2 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008602/0.4755, allocations: 2.16 MB / 465.7 MB, free: 20.8 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000301/0.4759, allocations: 36.28 kB / 465.7 MB, free: 20.79 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004366/0.4803, allocations: 2.377 MB / 468.1 MB, free: 19.4 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.4803, allocations: 0 / 468.1 MB, free: 19.4 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004457/0.4848, allocations: 2.433 MB / 470.5 MB, free: 18.16 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000851/0.4857, allocations: 359.6 kB / 470.9 MB, free: 17.89 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001873/0.4859, allocations: 33.45 kB / 470.9 MB, free: 17.87 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001112/0.487, allocations: 130 kB / 471 MB, free: 17.85 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002995/0.4873, allocations: 100 kB / 471.1 MB, free: 17.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001212/0.4874, allocations: 49.62 kB / 471.2 MB, free: 17.81 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006041/0.488, allocations: 372.9 kB / 471.5 MB, free: 17.64 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.653e-06/0.488, allocations: 0 / 471.5 MB, free: 17.64 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001076/0.4891, allocations: 327.4 kB / 471.9 MB, free: 17.59 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 (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: 0 * Non-linear torn systems: 1 {20 33} Notification: Performance of Backend phase and start with SimCode phase: time 0.001192/0.4903, allocations: 499.5 kB / 472.4 MB, free: 17.39 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.005752/0.4961, allocations: 2.074 MB / 474.4 MB, free: 16.54 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.549e-05/0.4962, allocations: 1.688 kB / 474.4 MB, free: 16.54 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0042/0.5004, allocations: 1.358 MB / 475.8 MB, free: 15.98 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001131/0.5015, allocations: 95.02 kB / 475.9 MB, free: 15.93 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005583/0.5071, allocations: 2.061 MB / 477.9 MB, free: 14.75 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009169/0.5081, allocations: 0.9871 MB / 478.9 MB, free: 14.04 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0006693/0.5088, allocations: 121.5 kB / 479 MB, free: 14 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003098/0.5091, allocations: 76.84 kB / 479.1 MB, free: 13.98 MB / 350.1 MB Notification: Performance of SimCode: time 1.513e-06/0.5091, allocations: 0 / 479.1 MB, free: 13.98 MB / 350.1 MB Notification: Performance of Templates: time 0.03497/0.5441, allocations: 18.99 MB / 498.1 MB, free: 15.84 MB / 366.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.FourVariableLoadsThreeFeeders.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: