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.002112/0.002112, allocations: 103.8 kB / 16.45 MB, free: 6.434 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.002067/0.002067, allocations: 192.8 kB / 17.39 MB, free: 5.664 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.362/1.362, allocations: 222.9 MB / 241.1 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04591/0.04591, allocations: 8.097 MB / 299.3 MB, free: 6.605 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001107/0.001107, allocations: 63.89 kB / 414.5 MB, free: 21.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0831/0.08421, allocations: 51.51 MB / 466 MB, free: 2.129 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.FourVariableLoadsThreeFeeders): time 0.005265/0.08951, allocations: 4.765 MB / 470.8 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004141/0.09367, allocations: 3.155 MB / 473.9 MB, free: 10.17 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003818/0.09407, allocations: 16 kB / 473.9 MB, free: 10.15 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006624/0.09474, allocations: 282.2 kB / 474.2 MB, free: 9.875 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001111/0.09589, allocations: 0.5242 MB / 474.7 MB, free: 9.348 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002425/0.09833, allocations: 1.502 MB / 476.2 MB, free: 7.848 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001234/0.09957, allocations: 1.113 MB / 477.3 MB, free: 6.73 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004395/0.1, allocations: 310.7 kB / 477.7 MB, free: 6.41 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005347/0.1006, allocations: 458.3 kB / 478.1 MB, free: 5.961 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006651/0.1012, allocations: 0.5446 MB / 478.6 MB, free: 5.414 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001425/0.1014, allocations: 92 kB / 478.7 MB, free: 5.324 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008402/0.1022, allocations: 415.7 kB / 479.1 MB, free: 4.918 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002299/0.1025, allocations: 215.2 kB / 479.3 MB, free: 4.707 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004677/0.103, allocations: 0.4936 MB / 479.8 MB, free: 4.211 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001496/0.1045, allocations: 1.292 MB / 481.1 MB, free: 2.914 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.1045, allocations: 0 / 481.1 MB, free: 2.914 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1045, allocations: 0 / 481.1 MB, free: 2.914 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.454e-05/0.1045, allocations: 0 / 481.1 MB, free: 2.914 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.01002/0.1145, allocations: 2.592 MB / 483.7 MB, free: 264 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/0.1146, allocations: 12.03 kB / 483.7 MB, free: 252 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002882/0.1149, allocations: 116.3 kB / 483.9 MB, free: 136 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009093/0.1158, allocations: 0.5858 MB / 484.4 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001331/0.116, allocations: 172.6 kB / 484.6 MB, free: 15.31 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001357/0.1161, allocations: 79.94 kB / 484.7 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001799/0.1179, allocations: 1.077 MB / 485.8 MB, free: 14.14 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.824e-05/0.1179, allocations: 7.875 kB / 485.8 MB, free: 14.13 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.55e-05/0.118, allocations: 32 kB / 485.8 MB, free: 14.1 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.891e-05/0.1181, allocations: 23.98 kB / 485.8 MB, free: 14.08 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001615/0.1197, allocations: 0.9851 MB / 486.8 MB, free: 13.09 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005551/0.1253, allocations: 4.041 MB / 490.9 MB, free: 8.715 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00191/0.1272, allocations: 1.588 MB / 492.4 MB, free: 7.047 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00107/0.1283, allocations: 0.7639 MB / 493.2 MB, free: 6.285 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001211/0.1284, allocations: 24.97 kB / 493.2 MB, free: 6.258 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001524/0.1299, allocations: 1.007 MB / 494.2 MB, free: 5.215 MB / 366.1 MB Notification: Performance of pre-optimization done (n=123): time 3.086e-06/0.13, allocations: 0 / 494.2 MB, free: 5.215 MB / 366.1 MB Notification: Performance of matching and sorting (n=123): time 0.02135/0.1513, allocations: 5.631 MB / 499.9 MB, free: 15.55 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001202/0.1515, allocations: 252.3 kB / 0.4884 GB, free: 15.24 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006832/0.1522, allocations: 0.538 MB / 0.4889 GB, free: 14.7 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001267/0.1523, allocations: 53.7 kB / 0.489 GB, free: 14.64 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001973/0.1525, allocations: 294.2 kB / 0.4892 GB, free: 14.34 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003147/0.1528, allocations: 408.5 kB / 0.4896 GB, free: 13.94 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003793/0.1532, allocations: 222.9 kB / 0.4898 GB, free: 13.71 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001483/0.1534, allocations: 398.7 kB / 0.4902 GB, free: 13.32 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009717/0.1543, allocations: 0.6508 MB / 0.4909 GB, free: 12.67 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001092/0.1554, allocations: 0.7594 MB / 0.4916 GB, free: 11.9 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01697/0.1724, allocations: 4.78 MB / 0.4963 GB, free: 7.09 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.1725, allocations: 0 / 0.4963 GB, free: 7.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.00381/0.1763, allocations: 2.211 MB / 0.4984 GB, free: 4.859 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.206e-05/0.1764, allocations: 41.69 kB / 0.4985 GB, free: 4.812 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.23e-05/0.1764, allocations: 0 / 0.4985 GB, free: 4.812 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008372/0.1848, allocations: 2.375 MB / 0.5008 GB, free: 2.43 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007209/0.1855, allocations: 163.7 kB / 0.5009 GB, free: 2.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2026/0.3881, allocations: 2.254 MB / 0.5031 GB, free: 45.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001573/0.3898, allocations: 143 kB / 0.5033 GB, free: 45.73 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001561/0.3899, allocations: 46.72 kB / 0.5033 GB, free: 45.73 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.0008152/0.3908, allocations: 301.5 kB / 0.5036 GB, free: 45.58 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000295/0.3911, allocations: 94.95 kB / 0.5037 GB, free: 45.58 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004518/0.3956, allocations: 2.412 MB / 0.5061 GB, free: 45.4 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.347e-05/0.3956, allocations: 13.52 kB / 0.5061 GB, free: 45.4 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.3956, allocations: 0 / 0.5061 GB, free: 45.4 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.543e-05/0.3957, allocations: 8.484 kB / 0.5061 GB, free: 45.4 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006191/0.4019, allocations: 4.201 MB / 0.5102 GB, free: 43.3 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/0.4019, allocations: 0 / 0.5102 GB, free: 43.3 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000414/0.4023, allocations: 115.8 kB / 0.5103 GB, free: 43.3 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008445/0.4108, allocations: 2.131 MB / 0.5124 GB, free: 42.97 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001392/0.4109, allocations: 31.58 kB / 0.5124 GB, free: 42.95 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004532/0.4155, allocations: 2.382 MB / 0.5147 GB, free: 41.61 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.4155, allocations: 3.969 kB / 0.5147 GB, free: 41.61 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004077/0.4196, allocations: 2.431 MB / 0.5171 GB, free: 40.36 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004611/0.42, allocations: 349.8 kB / 0.5174 GB, free: 40.11 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001667/0.4202, allocations: 44.77 kB / 0.5175 GB, free: 40.09 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009556/0.4212, allocations: 108.3 kB / 0.5176 GB, free: 40.07 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002472/0.4214, allocations: 94.48 kB / 0.5177 GB, free: 40.04 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001054/0.4215, allocations: 46.86 kB / 0.5177 GB, free: 40.03 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004752/0.422, allocations: 381.4 kB / 0.5181 GB, free: 39.86 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.422, allocations: 0 / 0.5181 GB, free: 39.86 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007807/0.4228, allocations: 331.9 kB / 0.5184 GB, free: 39.81 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.0009439/0.4238, allocations: 479.6 kB / 0.5189 GB, free: 39.64 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004544/0.4283, allocations: 2.108 MB / 0.5209 GB, free: 38.77 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.141e-06/0.4284, allocations: 2.656 kB / 0.5209 GB, free: 38.77 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003278/0.4316, allocations: 1.385 MB / 0.5223 GB, free: 38.18 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007128/0.4324, allocations: 121.7 kB / 0.5224 GB, free: 38.12 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002748/0.4351, allocations: 1.784 MB / 0.5241 GB, free: 37.21 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002888/0.4354, allocations: 0.9711 MB / 0.5251 GB, free: 36.49 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003441/0.4358, allocations: 114.2 kB / 0.5252 GB, free: 36.45 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001705/0.436, allocations: 85.25 kB / 0.5253 GB, free: 36.43 MB / 382.1 MB Notification: Performance of SimCode: time 5.81e-07/0.436, allocations: 0 / 0.5253 GB, free: 36.43 MB / 382.1 MB Notification: Performance of Templates: time 0.0257/0.4617, allocations: 21.87 MB / 0.5466 GB, free: 16.54 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)