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.001366/0.001366, allocations: 104 kB / 16.45 MB, free: 6.449 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.00169/0.00169, allocations: 192.1 kB / 17.39 MB, free: 5.668 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.376/1.376, allocations: 222.9 MB / 241.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.07582/0.07582, allocations: 8.094 MB / 299.3 MB, free: 6.645 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 63.91 kB / 414.5 MB, free: 21.87 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1012/0.1024, allocations: 51.53 MB / 466 MB, free: 2.301 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.FourVariableLoadsThreeFeeders): time 0.005549/0.108, allocations: 4.757 MB / 470.8 MB, free: 13.52 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004489/0.1125, allocations: 3.163 MB / 473.9 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005249/0.1131, allocations: 12 kB / 473.9 MB, free: 10.33 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000826/0.1139, allocations: 274.2 kB / 474.2 MB, free: 10.06 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001303/0.1153, allocations: 0.5398 MB / 474.7 MB, free: 9.516 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002747/0.118, allocations: 1.494 MB / 476.2 MB, free: 8.023 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00123/0.1193, allocations: 1.121 MB / 477.4 MB, free: 6.898 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004214/0.1197, allocations: 310.7 kB / 477.7 MB, free: 6.578 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004253/0.1201, allocations: 454.3 kB / 478.1 MB, free: 6.133 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000643/0.1208, allocations: 0.5485 MB / 478.7 MB, free: 5.582 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00016/0.121, allocations: 92 kB / 478.7 MB, free: 5.492 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009722/0.1219, allocations: 415.7 kB / 479.1 MB, free: 5.086 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002055/0.1221, allocations: 215.2 kB / 479.4 MB, free: 4.875 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004452/0.1226, allocations: 0.4897 MB / 479.8 MB, free: 4.383 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001471/0.1241, allocations: 1.293 MB / 481.1 MB, free: 3.086 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.1241, allocations: 0 / 481.1 MB, free: 3.086 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.1241, allocations: 0 / 481.1 MB, free: 3.086 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.666e-05/0.1241, allocations: 0 / 481.1 MB, free: 3.086 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.00997/0.1341, allocations: 2.571 MB / 483.7 MB, free: 464 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.1342, allocations: 8.031 kB / 483.7 MB, free: 456 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002459/0.1344, allocations: 111.7 kB / 483.8 MB, free: 344 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007957/0.1352, allocations: 0.5661 MB / 484.4 MB, free: 15.72 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001331/0.1354, allocations: 176.7 kB / 484.6 MB, free: 15.53 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001318/0.1355, allocations: 75.94 kB / 484.6 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001833/0.1373, allocations: 1.089 MB / 485.7 MB, free: 14.35 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.606e-05/0.1374, allocations: 0 / 485.7 MB, free: 14.35 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.969e-05/0.1375, allocations: 32 kB / 485.8 MB, free: 14.32 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.416e-05/0.1375, allocations: 16 kB / 485.8 MB, free: 14.3 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00166/0.1392, allocations: 0.9812 MB / 486.8 MB, free: 13.32 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005357/0.1445, allocations: 4.049 MB / 490.8 MB, free: 8.938 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001955/0.1465, allocations: 1.59 MB / 492.4 MB, free: 7.27 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001228/0.1478, allocations: 0.7575 MB / 493.2 MB, free: 6.512 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00013/0.1479, allocations: 24.97 kB / 493.2 MB, free: 6.484 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001711/0.1496, allocations: 1.007 MB / 494.2 MB, free: 5.441 MB / 366.1 MB Notification: Performance of pre-optimization done (n=123): time 3.135e-06/0.1496, allocations: 0 / 494.2 MB, free: 5.441 MB / 366.1 MB Notification: Performance of matching and sorting (n=123): time 0.02317/0.1728, allocations: 5.622 MB / 499.8 MB, free: 15.78 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001234/0.173, allocations: 260.3 kB / 0.4883 GB, free: 15.47 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007653/0.1737, allocations: 0.5339 MB / 0.4889 GB, free: 14.93 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001639/0.1739, allocations: 61.7 kB / 0.4889 GB, free: 14.86 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002069/0.1741, allocations: 285.9 kB / 0.4892 GB, free: 14.57 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000352/0.1745, allocations: 390.3 kB / 0.4896 GB, free: 14.19 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003925/0.1749, allocations: 222.9 kB / 0.4898 GB, free: 13.96 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001699/0.1751, allocations: 390.7 kB / 0.4902 GB, free: 13.57 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001068/0.1762, allocations: 0.6508 MB / 0.4908 GB, free: 12.92 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00116/0.1773, allocations: 0.7595 MB / 0.4915 GB, free: 12.15 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01786/0.1952, allocations: 4.783 MB / 0.4962 GB, free: 7.34 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.09e-06/0.1952, allocations: 3.938 kB / 0.4962 GB, free: 7.336 MB / 382.1 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.004034/0.1993, allocations: 2.21 MB / 0.4984 GB, free: 5.105 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.86e-05/0.1993, allocations: 37.69 kB / 0.4984 GB, free: 5.062 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.757e-06/0.1994, allocations: 0 / 0.4984 GB, free: 5.062 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009125/0.2085, allocations: 2.375 MB / 0.5007 GB, free: 2.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007095/0.2092, allocations: 163.7 kB / 0.5009 GB, free: 2.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004389/0.2136, allocations: 2.253 MB / 0.5031 GB, free: 240 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001127/0.2148, allocations: 142.8 kB / 0.5032 GB, free: 96 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.909e-05/0.2149, allocations: 39.98 kB / 0.5032 GB, free: 56 kB / 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.2104/0.4253, allocations: 308.3 kB / 0.5035 GB, free: 46.78 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003153/0.4257, allocations: 90.42 kB / 0.5036 GB, free: 46.78 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004511/0.4302, allocations: 2.414 MB / 0.506 GB, free: 46.45 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.376e-05/0.4302, allocations: 16.69 kB / 0.506 GB, free: 46.45 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.4302, allocations: 0 / 0.506 GB, free: 46.45 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.485e-05/0.4303, allocations: 7.438 kB / 0.506 GB, free: 46.45 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006547/0.4368, allocations: 4.193 MB / 0.5101 GB, free: 44.36 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.033e-06/0.4368, allocations: 0.9844 kB / 0.5101 GB, free: 44.36 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004184/0.4373, allocations: 119.4 kB / 0.5102 GB, free: 44.34 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009107/0.4464, allocations: 2.124 MB / 0.5123 GB, free: 44.01 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002434/0.4467, allocations: 35.36 kB / 0.5123 GB, free: 43.99 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00536/0.452, allocations: 2.39 MB / 0.5147 GB, free: 42.63 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.4521, allocations: 0 / 0.5147 GB, free: 42.63 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004923/0.457, allocations: 2.427 MB / 0.517 GB, free: 41.43 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007433/0.4578, allocations: 343.5 kB / 0.5174 GB, free: 41.18 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002132/0.458, allocations: 36.06 kB / 0.5174 GB, free: 41.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001113/0.4591, allocations: 110.8 kB / 0.5175 GB, free: 41.14 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000288/0.4594, allocations: 95.48 kB / 0.5176 GB, free: 41.12 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001168/0.4595, allocations: 51.12 kB / 0.5176 GB, free: 41.1 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006021/0.4601, allocations: 376.9 kB / 0.518 GB, free: 40.93 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.61e-07/0.4601, allocations: 0 / 0.518 GB, free: 40.93 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009622/0.4611, allocations: 326.6 kB / 0.5183 GB, free: 40.88 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.001128/0.4622, allocations: 487.3 kB / 0.5188 GB, free: 40.72 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005333/0.4676, allocations: 2.102 MB / 0.5208 GB, free: 39.86 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.121e-05/0.4676, allocations: 1.969 kB / 0.5208 GB, free: 39.86 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003888/0.4715, allocations: 1.385 MB / 0.5222 GB, free: 39.27 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001132/0.4727, allocations: 118.2 kB / 0.5223 GB, free: 39.22 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003075/0.4758, allocations: 1.758 MB / 0.524 GB, free: 38.33 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003187/0.4761, allocations: 0.9649 MB / 0.525 GB, free: 37.62 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003855/0.4765, allocations: 117.6 kB / 0.5251 GB, free: 37.58 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001793/0.4767, allocations: 69.91 kB / 0.5251 GB, free: 37.56 MB / 382.1 MB Notification: Performance of SimCode: time 1.333e-06/0.4767, allocations: 0 / 0.5251 GB, free: 37.56 MB / 382.1 MB Notification: Performance of Templates: time 0.0272/0.5039, allocations: 21.89 MB / 0.5465 GB, free: 17.21 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)