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.001535/0.001535, allocations: 105.8 kB / 16.31 MB, free: 5.879 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.001727/0.001727, allocations: 192.2 kB / 17.24 MB, free: 5.539 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.382/1.382, allocations: 222.9 MB / 240.9 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05582/0.05582, allocations: 8.108 MB / 299.2 MB, free: 6.691 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001415/0.001415, allocations: 67.91 kB / 361.7 MB, free: 8.105 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2693/0.2707, allocations: 51.51 MB / 413.2 MB, free: 25.56 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.FourVariableLoadsThreeFeeders): time 0.005242/0.276, allocations: 4.74 MB / 418 MB, free: 20.8 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004659/0.2807, allocations: 3.159 MB / 421.1 MB, free: 17.62 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007461/0.2815, allocations: 12 kB / 421.2 MB, free: 17.61 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009095/0.2824, allocations: 282.2 kB / 421.4 MB, free: 17.33 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001695/0.2842, allocations: 0.5394 MB / 422 MB, free: 16.79 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002328/0.2865, allocations: 1.466 MB / 423.4 MB, free: 15.33 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001355/0.2879, allocations: 1.109 MB / 424.5 MB, free: 14.21 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004168/0.2883, allocations: 307 kB / 424.8 MB, free: 13.9 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003891/0.2887, allocations: 458.3 kB / 425.3 MB, free: 13.45 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005025/0.2892, allocations: 0.5485 MB / 425.8 MB, free: 12.9 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001215/0.2893, allocations: 92 kB / 425.9 MB, free: 12.81 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008676/0.2902, allocations: 419.7 kB / 426.3 MB, free: 12.4 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001823/0.2904, allocations: 215.1 kB / 426.6 MB, free: 12.19 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003641/0.2908, allocations: 0.4897 MB / 427 MB, free: 11.7 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001124/0.2919, allocations: 1.266 MB / 428.3 MB, free: 10.43 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.2919, allocations: 0 / 428.3 MB, free: 10.43 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.2919, allocations: 0 / 428.3 MB, free: 10.43 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.138e-05/0.292, allocations: 0 / 428.3 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.009265/0.3012, allocations: 2.574 MB / 430.9 MB, free: 7.793 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/0.3013, allocations: 12.03 kB / 430.9 MB, free: 7.781 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002487/0.3015, allocations: 107.8 kB / 431 MB, free: 7.676 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007164/0.3023, allocations: 0.5775 MB / 431.6 MB, free: 7.059 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.752e-05/0.3024, allocations: 176.6 kB / 431.7 MB, free: 6.863 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001093/0.3025, allocations: 79.94 kB / 431.8 MB, free: 6.785 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001475/0.304, allocations: 1.081 MB / 432.9 MB, free: 5.688 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.484e-05/0.304, allocations: 0 / 432.9 MB, free: 5.688 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.344e-05/0.3041, allocations: 36 kB / 432.9 MB, free: 5.652 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.095e-05/0.3041, allocations: 12 kB / 433 MB, free: 5.641 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001347/0.3055, allocations: 0.9851 MB / 433.9 MB, free: 4.652 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004499/0.31, allocations: 4.06 MB / 438 MB, free: 256 kB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002079/0.3121, allocations: 1.593 MB / 439.6 MB, free: 14.57 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001084/0.3132, allocations: 0.7614 MB / 440.4 MB, free: 13.81 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001209/0.3133, allocations: 28.95 kB / 440.4 MB, free: 13.79 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001586/0.3149, allocations: 0.9996 MB / 441.4 MB, free: 12.75 MB / 318.1 MB Notification: Performance of pre-optimization done (n=123): time 3.546e-06/0.3149, allocations: 0 / 441.4 MB, free: 12.75 MB / 318.1 MB Notification: Performance of matching and sorting (n=123): time 0.02221/0.3371, allocations: 5.622 MB / 447 MB, free: 7.086 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001596/0.3373, allocations: 256.3 kB / 447.3 MB, free: 6.781 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000937/0.3383, allocations: 0.534 MB / 447.8 MB, free: 6.242 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000201/0.3385, allocations: 57.7 kB / 447.8 MB, free: 6.18 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002605/0.3388, allocations: 289.9 kB / 448.1 MB, free: 5.891 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004281/0.3392, allocations: 390.3 kB / 448.5 MB, free: 5.504 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004865/0.3397, allocations: 218.9 kB / 448.7 MB, free: 5.281 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001901/0.3399, allocations: 398.7 kB / 449.1 MB, free: 4.883 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001095/0.341, allocations: 0.6547 MB / 449.8 MB, free: 4.23 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001185/0.3422, allocations: 0.7632 MB / 450.5 MB, free: 3.457 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01836/0.3606, allocations: 4.801 MB / 455.3 MB, free: 14.62 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.183e-06/0.3606, allocations: 0 / 455.3 MB, free: 14.62 MB / 334.1 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.004433/0.3651, allocations: 2.21 MB / 457.5 MB, free: 12.39 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.602e-05/0.3651, allocations: 45.69 kB / 457.6 MB, free: 12.34 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.3652, allocations: 0 / 457.6 MB, free: 12.34 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008786/0.374, allocations: 2.379 MB / 460 MB, free: 9.957 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007108/0.3747, allocations: 159.8 kB / 460.1 MB, free: 9.801 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004329/0.379, allocations: 2.265 MB / 462.4 MB, free: 7.5 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001235/0.3803, allocations: 150.9 kB / 462.5 MB, free: 7.352 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001427/0.3805, allocations: 43.98 kB / 462.6 MB, free: 7.309 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.000658/0.3811, allocations: 297.9 kB / 462.9 MB, free: 7.004 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002872/0.3814, allocations: 94.95 kB / 463 MB, free: 6.91 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004128/0.3856, allocations: 2.412 MB / 465.4 MB, free: 4.48 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.26e-05/0.3856, allocations: 12 kB / 465.4 MB, free: 4.469 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.635e-06/0.3856, allocations: 4 kB / 465.4 MB, free: 4.465 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.298e-05/0.3856, allocations: 7.969 kB / 465.4 MB, free: 4.457 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007368/0.393, allocations: 4.2 MB / 469.6 MB, free: 192 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.145e-05/0.393, allocations: 3.984 kB / 469.6 MB, free: 188 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004291/0.3935, allocations: 115.8 kB / 469.7 MB, free: 72 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008897/0.4024, allocations: 2.133 MB / 471.8 MB, free: 13.93 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002474/0.4027, allocations: 35.98 kB / 471.9 MB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005264/0.408, allocations: 2.392 MB / 474.3 MB, free: 11.46 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.408, allocations: 0 / 474.3 MB, free: 11.46 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004895/0.4129, allocations: 2.422 MB / 476.7 MB, free: 9.02 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007698/0.4137, allocations: 347.5 kB / 477 MB, free: 8.66 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002969/0.414, allocations: 36 kB / 477.1 MB, free: 8.625 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001224/0.4152, allocations: 112.7 kB / 477.2 MB, free: 8.516 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000283/0.4155, allocations: 93.19 kB / 477.3 MB, free: 8.426 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000133/0.4157, allocations: 51.86 kB / 477.3 MB, free: 8.375 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007005/0.4164, allocations: 378.8 kB / 477.7 MB, free: 8.004 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.4164, allocations: 0 / 477.7 MB, free: 8.004 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001216/0.4176, allocations: 327.7 kB / 478 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.001317/0.4189, allocations: 486.6 kB / 478.5 MB, free: 7.352 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00602/0.425, allocations: 2.132 MB / 480.6 MB, free: 5.207 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 8.285e-06/0.425, allocations: 4.656 kB / 480.6 MB, free: 5.203 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003711/0.4287, allocations: 1.387 MB / 482 MB, free: 3.812 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009851/0.4297, allocations: 122.2 kB / 482.1 MB, free: 3.691 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003514/0.4332, allocations: 1.77 MB / 483.9 MB, free: 1.902 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005412/0.4338, allocations: 0.9655 MB / 484.9 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004418/0.4342, allocations: 122.1 kB / 485 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001931/0.4344, allocations: 71.42 kB / 485.1 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of SimCode: time 6.51e-07/0.4345, allocations: 0 / 485.1 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of Templates: time 0.03282/0.4673, allocations: 21.66 MB / 0.4948 GB, free: 11.16 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 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.FourVariableLoadsThreeFeeders.pipe 2>&1)