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.001467/0.001468, allocations: 102.7 kB / 16.03 MB, free: 6.312 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.001731/0.001731, allocations: 189.9 kB / 16.95 MB, free: 6.137 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.365/1.365, allocations: 222.9 MB / 240.6 MB, free: 15.37 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05777/0.05777, allocations: 8.109 MB / 298.9 MB, free: 6.879 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001487/0.001487, allocations: 63.89 kB / 361.2 MB, free: 8.488 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2507/0.2522, allocations: 51.52 MB / 412.7 MB, free: 25.77 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.FourVariableLoadsThreeFeeders): time 0.004866/0.2571, allocations: 4.731 MB / 417.5 MB, free: 21.02 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004305/0.2615, allocations: 3.116 MB / 420.6 MB, free: 17.88 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007007/0.2622, allocations: 12 kB / 420.6 MB, free: 17.87 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008428/0.2631, allocations: 230.9 kB / 420.8 MB, free: 17.64 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001457/0.2646, allocations: 497.4 kB / 421.3 MB, free: 17.16 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002251/0.2669, allocations: 1.372 MB / 422.7 MB, free: 15.79 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001088/0.268, allocations: 1.109 MB / 423.8 MB, free: 14.68 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003991/0.2684, allocations: 315 kB / 424.1 MB, free: 14.35 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003268/0.2687, allocations: 454.3 kB / 424.5 MB, free: 13.91 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004205/0.2691, allocations: 0.5446 MB / 425.1 MB, free: 13.36 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.699e-05/0.2692, allocations: 92 kB / 425.2 MB, free: 13.27 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006957/0.2699, allocations: 419.7 kB / 425.6 MB, free: 12.86 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001461/0.2701, allocations: 215.1 kB / 425.8 MB, free: 12.65 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003139/0.2704, allocations: 0.4975 MB / 426.3 MB, free: 12.15 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009612/0.2714, allocations: 1.262 MB / 427.6 MB, free: 10.88 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.2714, allocations: 0 / 427.6 MB, free: 10.88 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.2714, allocations: 4 kB / 427.6 MB, free: 10.88 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.048e-05/0.2714, allocations: 0 / 427.6 MB, free: 10.88 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.008845/0.2803, allocations: 2.578 MB / 430.1 MB, free: 8.238 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.803e-05/0.2803, allocations: 12.03 kB / 430.1 MB, free: 8.227 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002459/0.2806, allocations: 107.8 kB / 430.3 MB, free: 8.121 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007366/0.2813, allocations: 0.5736 MB / 430.8 MB, free: 7.508 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00011/0.2815, allocations: 172.6 kB / 431 MB, free: 7.316 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000119/0.2816, allocations: 83.88 kB / 431.1 MB, free: 7.234 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001531/0.2831, allocations: 1.081 MB / 432.2 MB, free: 6.137 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.751e-05/0.2832, allocations: 0 / 432.2 MB, free: 6.137 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.896e-05/0.2833, allocations: 39.98 kB / 432.2 MB, free: 6.098 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.284e-05/0.2833, allocations: 16 kB / 432.2 MB, free: 6.082 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001355/0.2846, allocations: 0.9773 MB / 433.2 MB, free: 5.105 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004368/0.289, allocations: 4.068 MB / 437.3 MB, free: 0.6953 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001758/0.2908, allocations: 1.598 MB / 438.9 MB, free: 15.02 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001052/0.2919, allocations: 0.7575 MB / 439.6 MB, free: 14.26 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000138/0.292, allocations: 24.97 kB / 439.6 MB, free: 14.24 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001611/0.2936, allocations: 1.003 MB / 440.6 MB, free: 13.2 MB / 318.1 MB Notification: Performance of pre-optimization done (n=123): time 3.627e-06/0.2936, allocations: 4 kB / 440.6 MB, free: 13.19 MB / 318.1 MB Notification: Performance of matching and sorting (n=123): time 0.02199/0.3156, allocations: 5.614 MB / 446.3 MB, free: 7.543 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001554/0.3158, allocations: 260.3 kB / 446.5 MB, free: 7.234 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008487/0.3167, allocations: 0.534 MB / 447 MB, free: 6.695 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000198/0.3169, allocations: 57.7 kB / 447.1 MB, free: 6.633 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002259/0.3171, allocations: 285.9 kB / 447.4 MB, free: 6.348 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003665/0.3175, allocations: 394.3 kB / 447.8 MB, free: 5.957 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003933/0.3179, allocations: 218.9 kB / 448 MB, free: 5.734 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001804/0.3181, allocations: 394.7 kB / 448.4 MB, free: 5.34 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001092/0.3192, allocations: 0.6508 MB / 449 MB, free: 4.691 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001107/0.3203, allocations: 0.7632 MB / 449.8 MB, free: 3.918 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01792/0.3382, allocations: 4.809 MB / 454.6 MB, free: 15.08 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.3383, allocations: 0 / 454.6 MB, free: 15.08 MB / 334.1 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.003809/0.3421, allocations: 2.218 MB / 456.8 MB, free: 12.84 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.131e-05/0.3422, allocations: 33.7 kB / 456.8 MB, free: 12.8 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.3422, allocations: 0 / 456.8 MB, free: 12.8 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008423/0.3506, allocations: 2.375 MB / 459.2 MB, free: 10.42 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006835/0.3513, allocations: 159.8 kB / 459.4 MB, free: 10.26 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004093/0.3554, allocations: 2.265 MB / 461.6 MB, free: 7.965 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001185/0.3566, allocations: 154.9 kB / 461.8 MB, free: 7.812 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001098/0.3568, allocations: 43.97 kB / 461.8 MB, free: 7.77 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.0006199/0.3574, allocations: 295.8 kB / 462.1 MB, free: 7.461 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001915/0.3576, allocations: 90.97 kB / 462.2 MB, free: 7.371 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003971/0.3616, allocations: 2.416 MB / 464.6 MB, free: 4.934 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.201e-05/0.3616, allocations: 12 kB / 464.6 MB, free: 4.922 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.157e-06/0.3616, allocations: 3.984 kB / 464.6 MB, free: 4.918 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.17e-05/0.3616, allocations: 7.922 kB / 464.6 MB, free: 4.91 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006019/0.3677, allocations: 4.208 MB / 468.9 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.3677, allocations: 0 / 468.9 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000382/0.3681, allocations: 107.9 kB / 469 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008314/0.3764, allocations: 2.144 MB / 471.1 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001591/0.3766, allocations: 31.98 kB / 471.1 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004528/0.3811, allocations: 2.384 MB / 473.5 MB, free: 11.92 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.3811, allocations: 0 / 473.5 MB, free: 11.92 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004248/0.3854, allocations: 2.429 MB / 475.9 MB, free: 9.469 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006273/0.386, allocations: 339.5 kB / 476.3 MB, free: 9.117 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001773/0.3862, allocations: 40 kB / 476.3 MB, free: 9.078 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009928/0.3872, allocations: 111.1 kB / 476.4 MB, free: 8.973 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002452/0.3875, allocations: 93.19 kB / 476.5 MB, free: 8.883 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001082/0.3876, allocations: 47.92 kB / 476.6 MB, free: 8.836 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004864/0.3881, allocations: 382.8 kB / 476.9 MB, free: 8.461 MB / 350.1 MB Notification: Performance of sort global known variables: time 4.61e-07/0.3881, allocations: 0 / 476.9 MB, free: 8.461 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008561/0.389, allocations: 327.7 kB / 477.3 MB, free: 8.141 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.001153/0.3901, allocations: 483.1 kB / 477.7 MB, free: 7.809 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.005677/0.3958, allocations: 2.132 MB / 479.9 MB, free: 5.664 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.983e-06/0.3958, allocations: 4.656 kB / 479.9 MB, free: 5.66 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003543/0.3994, allocations: 1.384 MB / 481.3 MB, free: 4.273 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009588/0.4004, allocations: 119.7 kB / 481.4 MB, free: 4.156 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003465/0.4038, allocations: 2.099 MB / 483.5 MB, free: 2.035 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005023/0.4044, allocations: 0.9694 MB / 484.4 MB, free: 1.035 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004448/0.4048, allocations: 114.1 kB / 484.5 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001882/0.405, allocations: 75.41 kB / 484.6 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of SimCode: time 6.01e-07/0.405, allocations: 0 / 484.6 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of Templates: time 0.03368/0.4387, allocations: 21.32 MB / 0.4941 GB, free: 11.62 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)