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.001627/0.001627, allocations: 182.3 kB / 13.23 MB, free: 2.086 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.225/1.225, allocations: 221.4 MB / 235.1 MB, free: 14.39 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008871/0.0008871, allocations: 104.2 kB / 286.1 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04089/0.04089, allocations: 8.097 MB / 345.1 MB, free: 1.922 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.435e-05/2.457e-05, allocations: 4 kB / 405.5 MB, free: 61.98 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07242/0.07246, allocations: 52.51 MB / 458 MB, free: 9.469 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3024/0.3749, allocations: 85.58 MB / 0.5308 GB, free: 0.4922 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001468/0.3751, allocations: 63.72 kB / 0.5309 GB, free: 476 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06845/0.4435, allocations: 27 MB / 0.5572 GB, free: 10.9 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.938e-06/0.4436, allocations: 4 kB / 0.5572 GB, free: 10.9 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.395e-05/0.4436, allocations: 15.94 kB / 0.5573 GB, free: 10.88 MB / 378.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.005619/0.4493, allocations: 1.597 MB / 0.5588 GB, free: 9.375 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.4493, allocations: 8.031 kB / 0.5588 GB, free: 9.367 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004244/0.4498, allocations: 110.8 kB / 0.5589 GB, free: 9.258 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001227/0.451, allocations: 0.586 MB / 0.5595 GB, free: 8.773 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001285/0.4511, allocations: 165.4 kB / 0.5597 GB, free: 8.613 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001259/0.4513, allocations: 61.94 kB / 0.5597 GB, free: 8.57 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001746/0.453, allocations: 1.052 MB / 0.5608 GB, free: 7.902 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.609e-05/0.4531, allocations: 0 / 0.5608 GB, free: 7.902 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.943e-05/0.4532, allocations: 37.86 kB / 0.5608 GB, free: 7.887 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.663e-05/0.4532, allocations: 12 kB / 0.5608 GB, free: 7.875 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001397/0.4546, allocations: 0.9545 MB / 0.5617 GB, free: 7.309 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005942/0.4605, allocations: 4.341 MB / 0.566 GB, free: 2.719 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001815/0.4624, allocations: 1.549 MB / 0.5675 GB, free: 1.094 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009676/0.4634, allocations: 0.7342 MB / 0.5682 GB, free: 368 kB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002123/0.4636, allocations: 110.1 kB / 0.5683 GB, free: 240 kB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001441/0.465, allocations: 0.9723 MB / 0.5693 GB, free: 15.22 MB / 394.7 MB Notification: Performance of pre-optimization done (n=123): time 3.216e-06/0.4651, allocations: 4 kB / 0.5693 GB, free: 15.22 MB / 394.7 MB Notification: Performance of matching and sorting (n=123): time 0.004053/0.4691, allocations: 2.082 MB / 0.5713 GB, free: 13.11 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001143/0.4693, allocations: 256.3 kB / 0.5715 GB, free: 12.81 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005889/0.4699, allocations: 488.9 kB / 0.572 GB, free: 12.33 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001033/0.47, allocations: 49.7 kB / 0.5721 GB, free: 12.27 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001971/0.4702, allocations: 301.5 kB / 0.5723 GB, free: 11.97 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003005/0.4705, allocations: 386.4 kB / 0.5727 GB, free: 11.59 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.316e-05/0.4706, allocations: 20 kB / 0.5727 GB, free: 11.57 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000155/0.4707, allocations: 398.7 kB / 0.5731 GB, free: 11.17 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008398/0.4716, allocations: 0.553 MB / 0.5736 GB, free: 10.62 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009124/0.4725, allocations: 0.6408 MB / 0.5743 GB, free: 9.969 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009225/0.4734, allocations: 0.6184 MB / 0.5749 GB, free: 9.344 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.4734, allocations: 0 / 0.5749 GB, free: 9.344 MB / 394.7 MB Notification: Performance of matching and sorting (n=133) (initialization): time 0.004696/0.4781, allocations: 2.239 MB / 0.5771 GB, free: 7.09 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.278e-05/0.4782, allocations: 37.69 kB / 0.5771 GB, free: 7.047 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.4782, allocations: 0 / 0.5771 GB, free: 7.047 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01229/0.4905, allocations: 2.225 MB / 0.5793 GB, free: 4.812 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008606/0.4914, allocations: 119.9 kB / 0.5794 GB, free: 4.695 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006391/0.4978, allocations: 2.174 MB / 0.5815 GB, free: 2.492 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001736/0.4996, allocations: 131.4 kB / 0.5816 GB, free: 2.363 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000171/0.4998, allocations: 35.98 kB / 0.5817 GB, free: 2.328 MB / 394.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 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.0006431/0.5005, allocations: 214.8 kB / 0.5819 GB, free: 2.105 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003904/0.5009, allocations: 98.92 kB / 0.582 GB, free: 2.008 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00618/0.5071, allocations: 2.361 MB / 0.5843 GB, free: 15.62 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-05/0.5071, allocations: 12 kB / 0.5843 GB, free: 15.61 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/0.5071, allocations: 0 / 0.5843 GB, free: 15.61 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.782e-05/0.5072, allocations: 3.984 kB / 0.5843 GB, free: 15.61 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01076/0.5179, allocations: 4.45 MB / 0.5886 GB, free: 11.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.047e-06/0.518, allocations: 0 / 0.5886 GB, free: 11.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007343/0.5187, allocations: 119.8 kB / 0.5887 GB, free: 10.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01272/0.5315, allocations: 2.022 MB / 0.5907 GB, free: 8.945 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000297/0.5318, allocations: 39.97 kB / 0.5908 GB, free: 8.906 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006257/0.5381, allocations: 2.257 MB / 0.593 GB, free: 6.613 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/0.5381, allocations: 0 / 0.593 GB, free: 6.613 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00456/0.5427, allocations: 2.363 MB / 0.5953 GB, free: 4.223 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005753/0.5433, allocations: 363.4 kB / 0.5956 GB, free: 3.848 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001686/0.5435, allocations: 32 kB / 0.5956 GB, free: 3.816 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001041/0.5445, allocations: 127.9 kB / 0.5958 GB, free: 3.691 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002257/0.5448, allocations: 101.1 kB / 0.5959 GB, free: 3.594 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001088/0.5449, allocations: 51.97 kB / 0.5959 GB, free: 3.543 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004658/0.5454, allocations: 393.6 kB / 0.5963 GB, free: 3.16 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5454, allocations: 0 / 0.5963 GB, free: 3.16 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007475/0.5461, allocations: 307.7 kB / 0.5966 GB, free: 2.859 MB / 410.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,varLoad2.degradedMode,varLoad4.degradedMode,varLoad3.degradedMode,varLoad1.degradedMode) * 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 (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.0009228/0.547, allocations: 464.8 kB / 0.597 GB, free: 2.504 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004035/0.5511, allocations: 1.819 MB / 0.5988 GB, free: 0.6719 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/0.5511, allocations: 4.781 kB / 0.5988 GB, free: 0.668 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003024/0.5542, allocations: 1.275 MB / 0.6001 GB, free: 15.38 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006377/0.5548, allocations: 102 kB / 0.6002 GB, free: 15.28 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002447/0.5573, allocations: 1.25 MB / 0.6014 GB, free: 14 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004414/0.5577, allocations: 0.9852 MB / 0.6023 GB, free: 12.99 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0004305/0.5582, allocations: 110.1 kB / 0.6024 GB, free: 12.88 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001835/0.5584, allocations: 79.39 kB / 0.6025 GB, free: 12.8 MB / 426.7 MB Notification: Performance of SimCode: time 6.82e-07/0.5584, allocations: 0 / 0.6025 GB, free: 12.8 MB / 426.7 MB Notification: Performance of Templates: time 0.0275/0.5859, allocations: 19.14 MB / 0.6212 GB, free: 9.75 MB / 442.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)