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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001343/0.001342, allocations: 173.1 kB / 8.042 MB, free: 1.043 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.432/1.432, allocations: 221.5 MB / 230 MB, free: 7.586 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008392/0.0008392, allocations: 97.3 kB / 280.9 MB, free: 5.324 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04484/0.04484, allocations: 8.095 MB / 339.8 MB, free: 7.016 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.882e-05/1.884e-05, allocations: 3.125 kB / 398.5 MB, free: 49.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1134/0.1135, allocations: 52.53 MB / 451 MB, free: 5.496 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1173/0.2308, allocations: 84.64 MB / 0.5231 GB, free: 0.7383 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001912/0.231, allocations: 67.97 kB / 0.5231 GB, free: 0.6719 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3083/0.5393, allocations: 26.55 MB / 0.5491 GB, free: 68.46 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.5394, allocations: 0 / 0.5491 GB, free: 68.46 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.459e-05/0.5394, allocations: 12 kB / 0.5491 GB, free: 68.45 MB / 362.7 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.005947/0.5454, allocations: 1.598 MB / 0.5506 GB, free: 66.8 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/0.5455, allocations: 15.98 kB / 0.5507 GB, free: 66.78 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005293/0.546, allocations: 106.8 kB / 0.5508 GB, free: 66.68 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001292/0.5473, allocations: 0.5884 MB / 0.5513 GB, free: 66.05 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001129/0.5474, allocations: 144.1 kB / 0.5515 GB, free: 65.88 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001827/0.5476, allocations: 39.98 kB / 0.5515 GB, free: 65.84 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001541/0.5492, allocations: 0.9164 MB / 0.5524 GB, free: 64.93 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001526/0.5507, allocations: 0.9694 MB / 0.5534 GB, free: 63.94 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.999e-05/0.5507, allocations: 0 / 0.5534 GB, free: 63.94 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001086/0.5509, allocations: 0 / 0.5534 GB, free: 63.94 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.519e-05/0.5509, allocations: 16 kB / 0.5534 GB, free: 63.92 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005361/0.5563, allocations: 4.227 MB / 0.5575 GB, free: 59.37 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001451/0.5577, allocations: 1.498 MB / 0.559 GB, free: 57.79 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007648/0.5585, allocations: 0.7 MB / 0.5596 GB, free: 57.09 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002349/0.5588, allocations: 110.4 kB / 0.5597 GB, free: 56.97 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001128/0.5599, allocations: 0.9349 MB / 0.5607 GB, free: 56 MB / 362.7 MB Notification: Performance of pre-optimization done (n=122): time 3.687e-06/0.5599, allocations: 0 / 0.5607 GB, free: 56 MB / 362.7 MB Notification: Performance of matching and sorting (n=122): time 0.005102/0.565, allocations: 2.25 MB / 0.5629 GB, free: 53.73 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.178e-05/0.5651, allocations: 256.7 kB / 0.5631 GB, free: 53.43 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000608/0.5657, allocations: 462.3 kB / 0.5635 GB, free: 52.97 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001115/0.5659, allocations: 37.7 kB / 0.5636 GB, free: 52.93 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001759/0.5661, allocations: 293.5 kB / 0.5639 GB, free: 52.63 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002886/0.5663, allocations: 378.4 kB / 0.5642 GB, free: 52.26 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.694e-05/0.5664, allocations: 4 kB / 0.5642 GB, free: 52.25 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001164/0.5665, allocations: 390.8 kB / 0.5646 GB, free: 51.86 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006966/0.5672, allocations: 0.5338 MB / 0.5651 GB, free: 51.33 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007458/0.568, allocations: 0.6125 MB / 0.5657 GB, free: 50.71 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001391/0.5694, allocations: 0.6113 MB / 0.5663 GB, free: 50.1 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.603e-06/0.5694, allocations: 0 / 0.5663 GB, free: 50.1 MB / 362.7 MB Notification: Performance of matching and sorting (n=133) (initialization): time 0.003142/0.5726, allocations: 1.818 MB / 0.5681 GB, free: 48.27 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.151e-05/0.5726, allocations: 41.69 kB / 0.5681 GB, free: 48.22 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/0.5727, allocations: 0 / 0.5681 GB, free: 48.22 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007241/0.5799, allocations: 1.897 MB / 0.57 GB, free: 46.31 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006072/0.5806, allocations: 123.8 kB / 0.5701 GB, free: 46.19 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003811/0.5844, allocations: 2.283 MB / 0.5723 GB, free: 43.88 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001218/0.5857, allocations: 107.3 kB / 0.5724 GB, free: 43.77 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001581/0.5858, allocations: 39.98 kB / 0.5725 GB, free: 43.73 MB / 362.7 MB Warning: Assuming fixed start value for the following 3 variables: HVMV.tapChanger.furtherTapChangeTimeout:DISCRETE(start = HVMV.tapChanger.nextTapChangeTimeout unit = "s" fixed = false protected = true ) "Time lag between the first change and the following tap" type: Real HVMV.tapChanger.abnormalUTime:DISCRETE(unit = "s" fixed = false protected = true ) "Time when the signal U went out its normal range" type: Real HVMV.tapChanger.tap:DISCRETE(start = HVMV.tapChanger.startTap fixed = false ) "Current tap position" type: Integer Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: varLoad2.terminal.i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real varLoad2.terminal.i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real varLoad3.U:VARIABLE(unit = "V" ) "Voltage at the load" type: Real varLoad4.U:VARIABLE(unit = "V" ) "Voltage at the load" type: Real varLoad1.U:VARIABLE(unit = "V" ) "Voltage at the load" type: Real HVMV.UB:VARIABLE(unit = "V" ) "Voltage at port B" 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 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$PRE.HVMV.tapChanger.tap,HVMV.tapChanger.tap,$PRE.HVMV.tapChanger.abnormalUTime,HVMV.tapChanger.abnormalUTime,HVMV.tapChanger.normalU,HVMV.tapChanger.decreaseEvent,HVMV.tapChanger.increaseEvent,$PRE.HVMV.tapChanger.furtherTapChangeTimeout,HVMV.tapChanger.furtherTapChangeTimeout,$PRE.varLoad1.degradedMode,varLoad1.degradedMode,$PRE.varLoad2.degradedMode,varLoad2.degradedMode,$PRE.varLoad3.degradedMode,varLoad3.degradedMode,$PRE.varLoad4.degradedMode,varLoad4.degradedMode) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {18 32} Notification: Performance of prepare postOptimizeDAE: time 0.0004758/0.5863, allocations: 189.6 kB / 0.5726 GB, free: 43.54 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000334/0.5867, allocations: 98.92 kB / 0.5727 GB, free: 43.44 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003845/0.5905, allocations: 2.227 MB / 0.5749 GB, free: 41.2 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.057e-05/0.5906, allocations: 12 kB / 0.5749 GB, free: 41.19 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.5906, allocations: 4 kB / 0.5749 GB, free: 41.19 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.231e-05/0.5906, allocations: 7.938 kB / 0.5749 GB, free: 41.18 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006051/0.5967, allocations: 4.172 MB / 0.579 GB, free: 36.96 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.414e-06/0.5967, allocations: 3.984 kB / 0.579 GB, free: 36.96 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004272/0.5971, allocations: 119.8 kB / 0.5791 GB, free: 36.84 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007051/0.6042, allocations: 1.944 MB / 0.581 GB, free: 34.88 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001504/0.6044, allocations: 15.98 kB / 0.581 GB, free: 34.87 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00361/0.608, allocations: 2.365 MB / 0.5834 GB, free: 32.48 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.019e-06/0.608, allocations: 0 / 0.5834 GB, free: 32.48 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00351/0.6115, allocations: 2.198 MB / 0.5855 GB, free: 30.26 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007483/0.6123, allocations: 351.5 kB / 0.5858 GB, free: 29.89 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000272/0.6126, allocations: 16 kB / 0.5859 GB, free: 29.88 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001195/0.6138, allocations: 103.9 kB / 0.586 GB, free: 29.78 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002234/0.614, allocations: 93.17 kB / 0.586 GB, free: 29.68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001146/0.6142, allocations: 47.97 kB / 0.5861 GB, free: 29.64 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004722/0.6146, allocations: 370.9 kB / 0.5864 GB, free: 29.28 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.6146, allocations: 0 / 0.5864 GB, free: 29.28 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001012/0.6157, allocations: 279.6 kB / 0.5867 GB, free: 29 MB / 362.7 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,varLoad4.degradedMode,varLoad3.degradedMode,varLoad2.degradedMode,varLoad1.degradedMode) * Top-level inputs: 0 Notification: Strong component statistics for simulation (74): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {18 35} Notification: Performance of Backend phase and start with SimCode phase: time 0.00102/0.6167, allocations: 402.7 kB / 0.5871 GB, free: 28.68 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.004092/0.6208, allocations: 1.749 MB / 0.5888 GB, free: 26.92 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.085e-05/0.6208, allocations: 4.781 kB / 0.5888 GB, free: 26.91 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003117/0.624, allocations: 1.238 MB / 0.59 GB, free: 25.67 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009659/0.625, allocations: 77.28 kB / 0.5901 GB, free: 25.59 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002892/0.6279, allocations: 1.191 MB / 0.5913 GB, free: 24.38 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003428/0.6282, allocations: 0.9853 MB / 0.5922 GB, free: 23.36 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0005061/0.6288, allocations: 110.1 kB / 0.5923 GB, free: 23.25 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002041/0.629, allocations: 83.39 kB / 0.5924 GB, free: 23.17 MB / 362.7 MB Notification: Performance of SimCode: time 6.61e-07/0.629, allocations: 0 / 0.5924 GB, free: 23.17 MB / 362.7 MB Notification: Performance of Templates: time 0.02456/0.6535, allocations: 17.89 MB / 0.6099 GB, free: 5.367 MB / 362.7 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)