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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001095/0.001095, allocations: 190.8 kB / 7.843 MB, free: 2.504 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.264/1.264, allocations: 221.4 MB / 229.7 MB, free: 3.051 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.001007/0.001008, allocations: 86.86 kB / 280.5 MB, free: 1.301 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05812/0.05812, allocations: 8.094 MB / 339.4 MB, free: 6.387 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.113e-06/7.133e-06, allocations: 0 / 397.9 MB, free: 68.01 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09859/0.09861, allocations: 52.51 MB / 450.4 MB, free: 15.49 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3139/0.4126, allocations: 84.97 MB / 0.5228 GB, free: 9.258 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002782/0.4129, allocations: 63.22 kB / 0.5229 GB, free: 9.23 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.08094/0.4939, allocations: 27.86 MB / 0.5501 GB, free: 3.543 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.897e-05/0.494, allocations: 15.94 kB / 0.5501 GB, free: 3.527 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.00716/0.5012, allocations: 1.676 MB / 0.5518 GB, free: 1.953 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.205e-05/0.5012, allocations: 11.97 kB / 0.5518 GB, free: 1.941 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000698/0.5019, allocations: 114.7 kB / 0.5519 GB, free: 1.828 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001628/0.5036, allocations: 0.5679 MB / 0.5524 GB, free: 1.348 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001547/0.5038, allocations: 143.8 kB / 0.5526 GB, free: 1.188 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002699/0.504, allocations: 36 kB / 0.5526 GB, free: 1.152 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002002/0.5061, allocations: 0.9137 MB / 0.5535 GB, free: 0.625 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002111/0.5082, allocations: 0.9634 MB / 0.5544 GB, free: 16 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.132e-05/0.5082, allocations: 0 / 0.5544 GB, free: 16 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001372/0.5084, allocations: 7.984 kB / 0.5545 GB, free: 15.99 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.027e-05/0.5084, allocations: 12 kB / 0.5545 GB, free: 15.98 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007855/0.5163, allocations: 4.232 MB / 0.5586 GB, free: 11.45 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001803/0.5181, allocations: 1.095 MB / 0.5597 GB, free: 10.35 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00114/0.5193, allocations: 0.6912 MB / 0.5603 GB, free: 9.656 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003131/0.5196, allocations: 110.1 kB / 0.5604 GB, free: 9.531 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001546/0.5212, allocations: 0.8923 MB / 0.5613 GB, free: 8.602 MB / 378.7 MB Notification: Performance of pre-optimization done (n=122): time 4.529e-06/0.5212, allocations: 0 / 0.5613 GB, free: 8.602 MB / 378.7 MB Notification: Performance of matching and sorting (n=122): time 0.006762/0.528, allocations: 2.284 MB / 0.5635 GB, free: 6.305 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001581/0.5282, allocations: 264.2 kB / 0.5638 GB, free: 5.992 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007626/0.529, allocations: 426.3 kB / 0.5642 GB, free: 5.574 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001621/0.5291, allocations: 29.7 kB / 0.5642 GB, free: 5.539 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001956/0.5293, allocations: 201.5 kB / 0.5644 GB, free: 5.336 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004612/0.5298, allocations: 374.4 kB / 0.5648 GB, free: 4.965 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.535e-05/0.5299, allocations: 0 / 0.5648 GB, free: 4.965 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000227/0.5301, allocations: 394.7 kB / 0.5652 GB, free: 4.57 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001044/0.5312, allocations: 0.5413 MB / 0.5657 GB, free: 4.023 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001019/0.5322, allocations: 0.6232 MB / 0.5663 GB, free: 3.391 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001786/0.534, allocations: 0.6299 MB / 0.5669 GB, free: 2.762 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/0.534, allocations: 0 / 0.5669 GB, free: 2.762 MB / 378.7 MB Notification: Performance of matching and sorting (n=133) (initialization): time 0.004054/0.5381, allocations: 1.873 MB / 0.5687 GB, free: 0.8789 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.589e-05/0.5381, allocations: 4 kB / 0.5687 GB, free: 0.875 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/0.5382, allocations: 3.938 kB / 0.5687 GB, free: 0.8711 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008664/0.5468, allocations: 1.904 MB / 0.5706 GB, free: 14.96 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006891/0.5476, allocations: 115.9 kB / 0.5707 GB, free: 14.84 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005527/0.5531, allocations: 2.402 MB / 0.5731 GB, free: 12.41 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001649/0.5548, allocations: 115.2 kB / 0.5732 GB, free: 12.3 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002557/0.5551, allocations: 43.97 kB / 0.5732 GB, free: 12.26 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 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 varLoad1.U:VARIABLE(unit = "V" ) "Voltage at the load" type: Real varLoad2.U:VARIABLE(unit = "V" ) "Voltage at the load" type: Real varLoad4.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 {19 31} Notification: Performance of prepare postOptimizeDAE: time 0.0008598/0.556, allocations: 185.2 kB / 0.5734 GB, free: 12.07 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005261/0.5565, allocations: 98.97 kB / 0.5735 GB, free: 11.97 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005747/0.5623, allocations: 2.27 MB / 0.5757 GB, free: 9.688 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.373e-05/0.5624, allocations: 12 kB / 0.5757 GB, free: 9.676 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.516e-05/0.5624, allocations: 7.906 kB / 0.5757 GB, free: 9.668 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.046e-05/0.5624, allocations: 11.95 kB / 0.5757 GB, free: 9.656 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002522/0.5649, allocations: 1.346 MB / 0.577 GB, free: 8.27 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.323e-06/0.565, allocations: 4 kB / 0.5771 GB, free: 8.266 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005788/0.5655, allocations: 119.8 kB / 0.5772 GB, free: 8.148 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008898/0.5745, allocations: 1.943 MB / 0.5791 GB, free: 6.195 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003846/0.5749, allocations: 19.97 kB / 0.5791 GB, free: 6.176 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006058/0.581, allocations: 2.518 MB / 0.5815 GB, free: 3.629 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.578e-06/0.581, allocations: 4 kB / 0.5815 GB, free: 3.625 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005418/0.5865, allocations: 2.156 MB / 0.5836 GB, free: 1.449 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001014/0.5875, allocations: 367.5 kB / 0.584 GB, free: 1.07 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003676/0.5879, allocations: 16 kB / 0.584 GB, free: 1.055 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001326/0.5893, allocations: 115.9 kB / 0.5841 GB, free: 0.9414 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003148/0.5896, allocations: 92.84 kB / 0.5842 GB, free: 0.8477 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001634/0.5898, allocations: 43.98 kB / 0.5843 GB, free: 0.8047 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0006252/0.5904, allocations: 330.9 kB / 0.5846 GB, free: 492 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.00132/0.5917, allocations: 319.6 kB / 0.5849 GB, free: 172 kB / 394.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,varLoad1.degradedMode,varLoad2.degradedMode,varLoad3.degradedMode,varLoad4.degradedMode) * Top-level inputs: 0 Notification: Strong component statistics for simulation (73): * Single equations (assignments): 72 * 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 36} Notification: Performance of Backend phase and start with SimCode phase: time 0.001527/0.5933, allocations: 0.5038 MB / 0.5854 GB, free: 15.73 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005097/0.5984, allocations: 1.716 MB / 0.587 GB, free: 14 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.548e-06/0.5984, allocations: 0.6562 kB / 0.587 GB, free: 14 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003641/0.6021, allocations: 1.234 MB / 0.5883 GB, free: 12.76 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001011/0.6031, allocations: 75.89 kB / 0.5883 GB, free: 12.69 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003764/0.6069, allocations: 1.189 MB / 0.5895 GB, free: 11.47 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001111/0.6081, allocations: 1.07 MB / 0.5905 GB, free: 10.37 MB / 410.7 MB Notification: Performance of SimCode: time 1.432e-06/0.6081, allocations: 4 kB / 0.5905 GB, free: 10.37 MB / 410.7 MB Notification: Performance of Templates: time 0.03988/0.648, allocations: 19.55 MB / 0.6096 GB, free: 6.895 MB / 426.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)