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.001237/0.001237, allocations: 102.2 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.00124/0.00124, allocations: 189.4 kB / 17.39 MB, free: 5.691 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.467/1.467, allocations: 222.9 MB / 241.1 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05647/0.05647, allocations: 8.1 MB / 299.3 MB, free: 6.633 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001911/0.001911, allocations: 63.91 kB / 414.5 MB, free: 21.82 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.121, allocations: 51.51 MB / 466 MB, free: 2.266 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.FourVariableLoadsThreeFeeders): time 0.005598/0.1266, allocations: 4.761 MB / 470.8 MB, free: 13.48 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00461/0.1313, allocations: 3.159 MB / 473.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000711/0.132, allocations: 12 kB / 473.9 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008578/0.1329, allocations: 274.2 kB / 474.2 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001622/0.1345, allocations: 0.5436 MB / 474.7 MB, free: 9.477 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002734/0.1373, allocations: 1.482 MB / 476.2 MB, free: 8 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001742/0.139, allocations: 1.121 MB / 477.3 MB, free: 6.875 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006589/0.1397, allocations: 314.7 kB / 477.7 MB, free: 6.551 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009114/0.1406, allocations: 454.3 kB / 478.1 MB, free: 6.105 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001207/0.1418, allocations: 0.5447 MB / 478.6 MB, free: 5.559 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004436/0.1423, allocations: 92 kB / 478.7 MB, free: 5.469 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001282/0.1436, allocations: 419.7 kB / 479.1 MB, free: 5.059 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003072/0.1439, allocations: 207.2 kB / 479.3 MB, free: 4.855 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006919/0.1446, allocations: 0.5013 MB / 479.8 MB, free: 4.352 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00188/0.1465, allocations: 1.281 MB / 481.1 MB, free: 3.066 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.1465, allocations: 0 / 481.1 MB, free: 3.066 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.185e-06/0.1465, allocations: 4 kB / 481.1 MB, free: 3.062 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.635e-05/0.1466, allocations: 4 kB / 481.1 MB, free: 3.059 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.01076/0.1574, allocations: 2.567 MB / 483.7 MB, free: 440 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.742e-05/0.1574, allocations: 8.031 kB / 483.7 MB, free: 432 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006745/0.1581, allocations: 111.7 kB / 483.8 MB, free: 320 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001979/0.1601, allocations: 0.57 MB / 484.4 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002403/0.1604, allocations: 176.6 kB / 484.6 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002801/0.1607, allocations: 75.94 kB / 484.6 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002166/0.1629, allocations: 1.089 MB / 485.7 MB, free: 14.32 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.067e-05/0.1629, allocations: 0 / 485.7 MB, free: 14.32 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.913e-05/0.163, allocations: 36 kB / 485.8 MB, free: 14.29 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.883e-05/0.163, allocations: 16 kB / 485.8 MB, free: 14.27 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001778/0.1648, allocations: 0.9734 MB / 486.7 MB, free: 13.3 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005934/0.1708, allocations: 4.048 MB / 490.8 MB, free: 8.914 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001946/0.1727, allocations: 1.592 MB / 492.4 MB, free: 7.242 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001064/0.1738, allocations: 0.76 MB / 493.1 MB, free: 6.484 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001308/0.1739, allocations: 28.95 kB / 493.2 MB, free: 6.453 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001615/0.1756, allocations: 1.003 MB / 494.2 MB, free: 5.414 MB / 366.1 MB Notification: Performance of pre-optimization done (n=123): time 3.567e-06/0.1756, allocations: 0 / 494.2 MB, free: 5.414 MB / 366.1 MB Notification: Performance of matching and sorting (n=123): time 0.0204/0.196, allocations: 5.626 MB / 499.8 MB, free: 15.75 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001272/0.1961, allocations: 256.3 kB / 0.4883 GB, free: 15.44 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006787/0.1968, allocations: 0.5339 MB / 0.4889 GB, free: 14.89 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001225/0.197, allocations: 61.69 kB / 0.4889 GB, free: 14.83 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002105/0.1972, allocations: 285.9 kB / 0.4892 GB, free: 14.54 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003196/0.1975, allocations: 390.3 kB / 0.4896 GB, free: 14.16 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003874/0.1979, allocations: 222.9 kB / 0.4898 GB, free: 13.93 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001751/0.1981, allocations: 390.7 kB / 0.4901 GB, free: 13.54 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009831/0.1991, allocations: 0.6508 MB / 0.4908 GB, free: 12.89 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001087/0.2002, allocations: 0.767 MB / 0.4915 GB, free: 12.12 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01645/0.2166, allocations: 4.783 MB / 0.4962 GB, free: 7.305 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/0.2167, allocations: 0 / 0.4962 GB, free: 7.305 MB / 382.1 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.003862/0.2206, allocations: 2.214 MB / 0.4984 GB, free: 5.07 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.64e-05/0.2206, allocations: 33.7 kB / 0.4984 GB, free: 5.031 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.816e-06/0.2206, allocations: 0 / 0.4984 GB, free: 5.031 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008432/0.2291, allocations: 2.375 MB / 0.5007 GB, free: 2.648 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007264/0.2298, allocations: 159.8 kB / 0.5009 GB, free: 2.492 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004115/0.234, allocations: 2.257 MB / 0.5031 GB, free: 208 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001116/0.2351, allocations: 150.8 kB / 0.5032 GB, free: 56 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001104/0.2352, allocations: 43.92 kB / 0.5033 GB, free: 12 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.2249/0.4601, allocations: 297 kB / 0.5035 GB, free: 46.82 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006379/0.4608, allocations: 91.67 kB / 0.5036 GB, free: 46.82 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006104/0.4669, allocations: 2.416 MB / 0.506 GB, free: 46.47 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.121e-05/0.467, allocations: 12.75 kB / 0.506 GB, free: 46.47 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.07e-05/0.467, allocations: 0 / 0.506 GB, free: 46.47 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.062e-05/0.467, allocations: 7.172 kB / 0.506 GB, free: 46.47 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009056/0.4761, allocations: 4.195 MB / 0.5101 GB, free: 44.38 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.328e-06/0.4762, allocations: 0.8438 kB / 0.5101 GB, free: 44.38 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004606/0.4766, allocations: 117.7 kB / 0.5102 GB, free: 44.37 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01011/0.4867, allocations: 2.127 MB / 0.5123 GB, free: 44.03 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002256/0.487, allocations: 29.91 kB / 0.5123 GB, free: 44.01 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006174/0.4932, allocations: 2.385 MB / 0.5146 GB, free: 42.66 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.4932, allocations: 0 / 0.5146 GB, free: 42.66 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005872/0.4991, allocations: 2.43 MB / 0.517 GB, free: 41.45 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008688/0.5, allocations: 342.9 kB / 0.5173 GB, free: 41.2 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002438/0.5003, allocations: 34.62 kB / 0.5174 GB, free: 41.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001259/0.5015, allocations: 105 kB / 0.5175 GB, free: 41.16 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003613/0.5019, allocations: 98.12 kB / 0.5176 GB, free: 41.14 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001726/0.5021, allocations: 55.17 kB / 0.5176 GB, free: 41.12 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007835/0.5029, allocations: 379.7 kB / 0.518 GB, free: 40.95 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.5029, allocations: 0 / 0.518 GB, free: 40.95 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001356/0.5043, allocations: 332 kB / 0.5183 GB, free: 40.89 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.001363/0.5056, allocations: 486.5 kB / 0.5188 GB, free: 40.72 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.006014/0.5117, allocations: 2.097 MB / 0.5208 GB, free: 39.86 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.142e-05/0.5117, allocations: 2.906 kB / 0.5208 GB, free: 39.86 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003812/0.5155, allocations: 1.377 MB / 0.5222 GB, free: 39.28 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008574/0.5164, allocations: 127.4 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.003038/0.5194, allocations: 1.75 MB / 0.524 GB, free: 38.34 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003093/0.5198, allocations: 0.9712 MB / 0.5249 GB, free: 37.62 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003317/0.5201, allocations: 109 kB / 0.5251 GB, free: 37.59 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001629/0.5203, allocations: 81.98 kB / 0.5251 GB, free: 37.56 MB / 382.1 MB Notification: Performance of SimCode: time 2.274e-06/0.5203, allocations: 0 / 0.5251 GB, free: 37.56 MB / 382.1 MB Notification: Performance of Templates: time 0.024/0.5443, allocations: 21.88 MB / 0.5465 GB, free: 17.2 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)