Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.VoltageRegulation2.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.Tests.VoltageRegulation2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Tests.VoltageRegulation2") translateModel(PowerSysPro.Tests.VoltageRegulation2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Tests.VoltageRegulation2") [: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.001291/0.001291, allocations: 196.9 kB / 7.848 MB, free: 2.477 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.167/1.167, allocations: 221.4 MB / 229.7 MB, free: 2.977 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.001042/0.001041, allocations: 101.8 kB / 280.5 MB, free: 1.191 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.03727/0.03727, allocations: 8.098 MB / 339.4 MB, free: 6.301 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.683e-06/6.703e-06, allocations: 4 kB / 397.9 MB, free: 67.99 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08668/0.0867, allocations: 52.51 MB / 450.4 MB, free: 15.49 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2837/0.3704, allocations: 77.84 MB / 0.5159 GB, free: 324 kB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001774/0.3707, allocations: 59.72 kB / 0.5159 GB, free: 296 kB / 330.7 MB Notification: Performance of FrontEnd: time 0.0113/0.382, allocations: 3.335 MB / 0.5192 GB, free: 13.48 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.608e-06/0.382, allocations: 4 kB / 0.5192 GB, free: 13.48 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004478/0.3825, allocations: 452.5 kB / 0.5196 GB, free: 12.99 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.3825, allocations: 19.97 kB / 0.5196 GB, free: 12.97 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.893e-05/0.3826, allocations: 15.81 kB / 0.5196 GB, free: 12.96 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003544/0.383, allocations: 245.1 kB / 0.5199 GB, free: 12.69 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.538e-05/0.383, allocations: 0 / 0.5199 GB, free: 12.69 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.857e-05/0.383, allocations: 8 kB / 0.5199 GB, free: 12.68 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001319/0.3832, allocations: 49.42 kB / 0.5199 GB, free: 12.65 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001975/0.3834, allocations: 115.6 kB / 0.52 GB, free: 12.56 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.3834, allocations: 0 / 0.52 GB, free: 12.56 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.646e-05/0.3835, allocations: 0 / 0.52 GB, free: 12.56 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.734e-06/0.3835, allocations: 4 kB / 0.5201 GB, free: 12.55 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005378/0.384, allocations: 343.8 kB / 0.5204 GB, free: 12.21 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001377/0.3842, allocations: 107.5 kB / 0.5205 GB, free: 12.14 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001207/0.3843, allocations: 90.52 kB / 0.5206 GB, free: 12.09 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.067e-06/0.3843, allocations: 3.906 kB / 0.5206 GB, free: 12.09 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002591/0.3846, allocations: 284.4 kB / 0.5208 GB, free: 11.8 MB / 346.7 MB Notification: Performance of pre-optimization done (n=19): time 1.533e-06/0.3846, allocations: 0 / 0.5208 GB, free: 11.8 MB / 346.7 MB Notification: Performance of matching and sorting (n=19): time 0.0004094/0.385, allocations: 183.1 kB / 0.521 GB, free: 11.66 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001393/0.3852, allocations: 220.6 kB / 0.5212 GB, free: 11.39 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001713/0.3853, allocations: 179.2 kB / 0.5214 GB, free: 11.23 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.954e-05/0.3854, allocations: 29.7 kB / 0.5214 GB, free: 11.2 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.742e-05/0.3854, allocations: 92 kB / 0.5215 GB, free: 11.11 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.015e-05/0.3855, allocations: 42.78 kB / 0.5216 GB, free: 11.07 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.303e-05/0.3855, allocations: 0 / 0.5216 GB, free: 11.07 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001106/0.3856, allocations: 334 kB / 0.5219 GB, free: 10.75 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.443e-05/0.3857, allocations: 50.67 kB / 0.5219 GB, free: 10.71 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.479e-05/0.3858, allocations: 70.16 kB / 0.522 GB, free: 10.66 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001184/0.386, allocations: 46.98 kB / 0.522 GB, free: 10.63 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.386, allocations: 0 / 0.522 GB, free: 10.63 MB / 346.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002946/0.3863, allocations: 191.7 kB / 0.5222 GB, free: 10.48 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.3863, allocations: 4 kB / 0.5222 GB, free: 10.47 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.3863, allocations: 0 / 0.5222 GB, free: 10.47 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.3863, allocations: 8.031 kB / 0.5222 GB, free: 10.46 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.167e-05/0.3864, allocations: 11.94 kB / 0.5222 GB, free: 10.45 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.3864, allocations: 0 / 0.5222 GB, free: 10.45 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002584/0.3867, allocations: 51.86 kB / 0.5223 GB, free: 10.4 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.063e-05/0.3867, allocations: 8 kB / 0.5223 GB, free: 10.39 MB / 346.7 MB Warning: Assuming fixed start value for the following 3 variables: tapChanger.furtherTapChangeTimeout:DISCRETE(start = tapChanger.nextTapChangeTimeout unit = "s" fixed = false protected = true ) "Time lag between the first change and the following tap" type: Real tapChanger.abnormalUTime:DISCRETE(unit = "s" fixed = false protected = true ) "Time when the signal U went out its normal range" type: Real tapChanger.tap:DISCRETE(start = 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: 20 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,voltage.a,voltage.b,voltage.last,$PRE.voltage.nextEvent,voltage.nextEvent,voltage.nextEventScaled,$PRE.tapChanger.tap,tapChanger.tap,$PRE.tapChanger.abnormalUTime,tapChanger.abnormalUTime,tapChanger.normalU,tapChanger.decreaseEvent,tapChanger.increaseEvent,$PRE.tapChanger.furtherTapChangeTimeout,tapChanger.furtherTapChangeTimeout) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002208/0.3869, allocations: 195.1 kB / 0.5225 GB, free: 10.19 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.254e-05/0.387, allocations: 19.81 kB / 0.5225 GB, free: 10.17 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.783e-05/0.387, allocations: 21.3 kB / 0.5225 GB, free: 10.16 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.387, allocations: 3.906 kB / 0.5225 GB, free: 10.15 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.3871, allocations: 4 kB / 0.5225 GB, free: 10.15 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.3871, allocations: 0 / 0.5225 GB, free: 10.15 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002106/0.3873, allocations: 239 kB / 0.5228 GB, free: 9.902 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.3873, allocations: 0 / 0.5228 GB, free: 9.902 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.469e-05/0.3873, allocations: 7.891 kB / 0.5228 GB, free: 9.895 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.3873, allocations: 8 kB / 0.5228 GB, free: 9.887 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.705e-05/0.3874, allocations: 4 kB / 0.5228 GB, free: 9.883 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.22e-06/0.3874, allocations: 4 kB / 0.5228 GB, free: 9.879 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.3874, allocations: 3.938 kB / 0.5228 GB, free: 9.875 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004089/0.3878, allocations: 252.1 kB / 0.523 GB, free: 9.664 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001667/0.388, allocations: 135.4 kB / 0.5232 GB, free: 9.523 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.55e-05/0.388, allocations: 11.5 kB / 0.5232 GB, free: 9.516 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002928/0.3883, allocations: 67.84 kB / 0.5232 GB, free: 9.449 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.508e-05/0.3884, allocations: 22.66 kB / 0.5233 GB, free: 9.434 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.579e-05/0.3885, allocations: 15.48 kB / 0.5233 GB, free: 9.422 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0001273/0.3886, allocations: 144.4 kB / 0.5234 GB, free: 9.297 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003499/0.389, allocations: 60.12 kB / 0.5235 GB, free: 9.238 MB / 346.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: 16 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,voltage.a,voltage.b,voltage.last,voltage.nextEvent,voltage.nextEventScaled,tapChanger.tap,tapChanger.abnormalUTime,tapChanger.normalU,tapChanger.decreaseEvent,tapChanger.increaseEvent,tapChanger.furtherTapChangeTimeout) * Number of discrete states: 16 (tapChanger.tap,tapChanger.furtherTapChangeTimeout,$whenCondition4,$whenCondition3,tapChanger.abnormalUTime,$whenCondition2,$whenCondition1,tapChanger.decreaseEvent,tapChanger.increaseEvent,tapChanger.normalU,voltage.nextEvent,voltage.last,voltage.nextEventScaled,voltage.b,voltage.a,$whenCondition5) * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002692/0.3892, allocations: 142.2 kB / 0.5236 GB, free: 9.094 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003211/0.3896, allocations: 228.8 kB / 0.5238 GB, free: 8.93 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.3896, allocations: 0 / 0.5238 GB, free: 8.93 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000268/0.3899, allocations: 338.4 kB / 0.5241 GB, free: 8.758 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001926/0.3901, allocations: 14.38 kB / 0.5242 GB, free: 8.75 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000494/0.3906, allocations: 202.4 kB / 0.5243 GB, free: 8.555 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003457/0.3909, allocations: 0.7384 MB / 0.5251 GB, free: 7.793 MB / 346.7 MB Notification: Performance of SimCode: time 2.5e-07/0.3909, allocations: 0 / 0.5251 GB, free: 7.793 MB / 346.7 MB Notification: Performance of Templates: time 0.006148/0.3971, allocations: 2.493 MB / 0.5275 GB, free: 5.336 MB / 346.7 MB make -j1 -f PowerSysPro_PowerSysPro.Tests.VoltageRegulation2.makefile (rm -f PowerSysPro_PowerSysPro.Tests.VoltageRegulation2.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.VoltageRegulation2.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.VoltageRegulation2.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.VoltageRegulation2.sim & ./PowerSysPro_PowerSysPro.Tests.VoltageRegulation2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Tests.VoltageRegulation2.pipe 2>&1)