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.001044/0.001044, allocations: 118.1 kB / 17.13 MB, free: 5.961 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.00101/0.00101, allocations: 196 kB / 18.06 MB, free: 5.039 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.297/1.297, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04469/0.04469, allocations: 8.1 MB / 300 MB, free: 6.652 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001172/0.001172, allocations: 67.91 kB / 415.2 MB, free: 21.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08002/0.0812, allocations: 51.51 MB / 466.7 MB, free: 2.164 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.FourVariableLoadsThreeFeeders): time 0.005356/0.08659, allocations: 4.749 MB / 471.4 MB, free: 13.39 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004511/0.09112, allocations: 3.174 MB / 474.6 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005873/0.09174, allocations: 12 kB / 474.6 MB, free: 10.19 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008889/0.09264, allocations: 274.2 kB / 474.9 MB, free: 9.918 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00162/0.09431, allocations: 0.5436 MB / 475.4 MB, free: 9.371 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002881/0.0972, allocations: 1.474 MB / 476.9 MB, free: 7.898 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001618/0.09883, allocations: 1.129 MB / 478 MB, free: 6.766 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005225/0.09937, allocations: 318.7 kB / 478.3 MB, free: 6.438 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000668/0.1, allocations: 450.4 kB / 478.8 MB, free: 5.996 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008872/0.1009, allocations: 0.5407 MB / 479.3 MB, free: 5.453 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002611/0.1012, allocations: 92 kB / 479.4 MB, free: 5.363 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001037/0.1023, allocations: 419.7 kB / 479.8 MB, free: 4.953 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002769/0.1025, allocations: 215.1 kB / 480 MB, free: 4.742 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006587/0.1032, allocations: 0.4936 MB / 480.5 MB, free: 4.246 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001769/0.105, allocations: 1.285 MB / 481.8 MB, free: 2.957 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.105, allocations: 0 / 481.8 MB, free: 2.957 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.105, allocations: 0 / 481.8 MB, free: 2.957 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.594e-05/0.1051, allocations: 0 / 481.8 MB, free: 2.957 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.01072/0.1158, allocations: 2.563 MB / 484.4 MB, free: 340 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.1158, allocations: 8.031 kB / 484.4 MB, free: 332 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003402/0.1162, allocations: 115.7 kB / 484.5 MB, free: 216 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009762/0.1172, allocations: 0.5659 MB / 485.1 MB, free: 15.6 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001416/0.1173, allocations: 176.7 kB / 485.2 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001623/0.1175, allocations: 83.88 kB / 485.3 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001964/0.1195, allocations: 1.081 MB / 486.4 MB, free: 14.23 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.564e-05/0.1195, allocations: 0 / 486.4 MB, free: 14.23 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001129/0.1196, allocations: 32 kB / 486.4 MB, free: 14.2 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.537e-05/0.1197, allocations: 16 kB / 486.4 MB, free: 14.18 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001703/0.1214, allocations: 0.9812 MB / 487.4 MB, free: 13.2 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005727/0.1271, allocations: 4.049 MB / 491.5 MB, free: 8.812 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002054/0.1292, allocations: 1.594 MB / 493.1 MB, free: 7.141 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001154/0.1304, allocations: 0.7691 MB / 493.8 MB, free: 6.371 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001174/0.1305, allocations: 20.97 kB / 493.9 MB, free: 6.348 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001673/0.1322, allocations: 1.003 MB / 494.9 MB, free: 5.312 MB / 366.1 MB Notification: Performance of pre-optimization done (n=123): time 3.477e-06/0.1322, allocations: 8 kB / 494.9 MB, free: 5.305 MB / 366.1 MB Notification: Performance of matching and sorting (n=123): time 0.02449/0.1567, allocations: 5.615 MB / 0.4887 GB, free: 15.65 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001375/0.1569, allocations: 260.2 kB / 0.489 GB, free: 15.34 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007997/0.1577, allocations: 0.5456 MB / 0.4895 GB, free: 14.79 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000169/0.1578, allocations: 57.7 kB / 0.4896 GB, free: 14.72 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002315/0.1581, allocations: 277.9 kB / 0.4899 GB, free: 14.45 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003677/0.1585, allocations: 394.3 kB / 0.4902 GB, free: 14.05 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004083/0.1589, allocations: 218.9 kB / 0.4904 GB, free: 13.83 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001698/0.1591, allocations: 394.7 kB / 0.4908 GB, free: 13.44 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001045/0.1601, allocations: 0.647 MB / 0.4914 GB, free: 12.79 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00116/0.1613, allocations: 0.7671 MB / 0.4922 GB, free: 12.02 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.018/0.1793, allocations: 4.791 MB / 0.4969 GB, free: 7.195 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.1793, allocations: 0 / 0.4969 GB, free: 7.195 MB / 382.1 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.004077/0.1834, allocations: 2.207 MB / 0.499 GB, free: 4.969 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.592e-05/0.1835, allocations: 41.69 kB / 0.4991 GB, free: 4.922 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.355e-06/0.1835, allocations: 3.938 kB / 0.4991 GB, free: 4.918 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008879/0.1924, allocations: 2.371 MB / 0.5014 GB, free: 2.539 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006377/0.193, allocations: 155.8 kB / 0.5015 GB, free: 2.387 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00431/0.1973, allocations: 2.257 MB / 0.5037 GB, free: 100 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.1737/0.3711, allocations: 143.1 kB / 0.5039 GB, free: 46.83 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001919/0.3713, allocations: 41.61 kB / 0.5039 GB, free: 46.83 MB / 382.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.0005373/0.3719, allocations: 296 kB / 0.5042 GB, free: 46.68 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002146/0.3721, allocations: 94.3 kB / 0.5043 GB, free: 46.68 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003972/0.3761, allocations: 2.415 MB / 0.5066 GB, free: 46.38 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.187e-05/0.3761, allocations: 13.41 kB / 0.5067 GB, free: 46.38 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.3761, allocations: 0 / 0.5067 GB, free: 46.38 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.282e-05/0.3761, allocations: 10 kB / 0.5067 GB, free: 46.38 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005857/0.382, allocations: 4.192 MB / 0.5108 GB, free: 44.29 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/0.382, allocations: 0.6094 kB / 0.5108 GB, free: 44.29 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004321/0.3824, allocations: 119.5 kB / 0.5109 GB, free: 44.28 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008689/0.3911, allocations: 2.13 MB / 0.513 GB, free: 43.94 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001074/0.3913, allocations: 30.56 kB / 0.513 GB, free: 43.92 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004369/0.3956, allocations: 2.381 MB / 0.5153 GB, free: 42.57 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.3956, allocations: 0 / 0.5153 GB, free: 42.57 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003847/0.3995, allocations: 2.427 MB / 0.5177 GB, free: 41.34 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000438/0.4, allocations: 341.3 kB / 0.518 GB, free: 41.1 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001733/0.4001, allocations: 39.61 kB / 0.518 GB, free: 41.08 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009959/0.4011, allocations: 108.6 kB / 0.5181 GB, free: 41.05 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002437/0.4014, allocations: 96.27 kB / 0.5182 GB, free: 41.03 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001044/0.4015, allocations: 45.48 kB / 0.5183 GB, free: 41.02 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004731/0.402, allocations: 378 kB / 0.5186 GB, free: 40.85 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.402, allocations: 3.938 kB / 0.5186 GB, free: 40.84 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007644/0.4028, allocations: 334.5 kB / 0.519 GB, free: 40.79 MB / 382.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.0009892/0.4038, allocations: 490.7 kB / 0.5194 GB, free: 40.61 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004628/0.4084, allocations: 2.094 MB / 0.5215 GB, free: 39.75 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.4084, allocations: 2 kB / 0.5215 GB, free: 39.75 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003304/0.4117, allocations: 1.379 MB / 0.5228 GB, free: 39.17 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00075/0.4125, allocations: 126.7 kB / 0.5229 GB, free: 39.11 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002539/0.415, allocations: 1.79 MB / 0.5247 GB, free: 38.19 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002652/0.4153, allocations: 0.9745 MB / 0.5256 GB, free: 37.47 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002019/0.4155, allocations: 84.84 kB / 0.5257 GB, free: 37.45 MB / 382.1 MB Notification: Performance of SimCode: time 3.6e-07/0.4155, allocations: 0 / 0.5257 GB, free: 37.45 MB / 382.1 MB Notification: Performance of Templates: time 0.01378/0.4293, allocations: 16.2 MB / 0.5416 GB, free: 22.74 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)