Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad.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.VariableTransformers.WithVariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad") translateModel(PowerSysPro.Examples.VariableTransformers.WithVariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad") [: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.001155/0.001156, allocations: 189.3 kB / 7.842 MB, free: 2.516 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.329/1.329, allocations: 221.4 MB / 229.7 MB, free: 3.066 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.001125/0.001125, allocations: 101.7 kB / 280.5 MB, free: 1.305 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04795/0.04795, allocations: 8.095 MB / 339.4 MB, free: 6.41 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.875e-06/7.905e-06, allocations: 0 / 397.9 MB, free: 68.02 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09584/0.09587, allocations: 52.52 MB / 450.4 MB, free: 15.51 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2857/0.3816, allocations: 82.05 MB / 0.52 GB, free: 12.21 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001857/0.3818, allocations: 67.34 kB / 0.5201 GB, free: 12.18 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.03217/0.414, allocations: 11.74 MB / 0.5315 GB, free: 2.973 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.976e-05/0.4141, allocations: 8 kB / 0.5315 GB, free: 2.965 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: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.003104/0.4172, allocations: 0.91 MB / 0.5324 GB, free: 2.066 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.524e-05/0.4173, allocations: 15.97 kB / 0.5324 GB, free: 2.051 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002253/0.4175, allocations: 47.44 kB / 0.5325 GB, free: 2.004 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007141/0.4182, allocations: 348.7 kB / 0.5328 GB, free: 1.688 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.129e-05/0.4183, allocations: 38.36 kB / 0.5328 GB, free: 1.645 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.671e-05/0.4184, allocations: 16 kB / 0.5329 GB, free: 1.629 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007919/0.4192, allocations: 406.5 kB / 0.5332 GB, free: 1.395 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007755/0.42, allocations: 413.8 kB / 0.5336 GB, free: 1.125 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.42, allocations: 0 / 0.5336 GB, free: 1.125 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.455e-05/0.4201, allocations: 7.25 kB / 0.5336 GB, free: 1.121 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.099e-05/0.4201, allocations: 7.938 kB / 0.5337 GB, free: 1.113 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00364/0.4237, allocations: 2.114 MB / 0.5357 GB, free: 15.36 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000728/0.4245, allocations: 462 kB / 0.5362 GB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000395/0.4249, allocations: 290.8 kB / 0.5364 GB, free: 14.94 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.384e-05/0.425, allocations: 16.19 kB / 0.5365 GB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006309/0.4256, allocations: 462.8 kB / 0.5369 GB, free: 14.57 MB / 362.7 MB Notification: Performance of pre-optimization done (n=50): time 2.885e-06/0.4256, allocations: 0 / 0.5369 GB, free: 14.57 MB / 362.7 MB Notification: Performance of matching and sorting (n=50): time 0.004024/0.4297, allocations: 1.195 MB / 0.5381 GB, free: 13.71 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001275/0.4298, allocations: 191.2 kB / 0.5382 GB, free: 13.49 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003584/0.4302, allocations: 263.3 kB / 0.5385 GB, free: 13.27 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.368e-05/0.4303, allocations: 32.58 kB / 0.5385 GB, free: 13.24 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001133/0.4304, allocations: 145.7 kB / 0.5387 GB, free: 13.11 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001519/0.4305, allocations: 146.7 kB / 0.5388 GB, free: 12.98 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.177e-05/0.4306, allocations: 7.938 kB / 0.5388 GB, free: 12.97 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001725/0.4308, allocations: 355.1 kB / 0.5392 GB, free: 12.63 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003573/0.4311, allocations: 224.4 kB / 0.5394 GB, free: 12.52 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004264/0.4316, allocations: 274.6 kB / 0.5396 GB, free: 12.36 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006892/0.4323, allocations: 269.7 kB / 0.5399 GB, free: 12.2 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.4323, allocations: 0 / 0.5399 GB, free: 12.2 MB / 362.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001601/0.4339, allocations: 0.8355 MB / 0.5407 GB, free: 11.68 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.104e-05/0.4339, allocations: 4 kB / 0.5407 GB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/0.4339, allocations: 4 kB / 0.5407 GB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00385/0.4378, allocations: 0.7865 MB / 0.5415 GB, free: 10.99 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002811/0.4381, allocations: 63.84 kB / 0.5415 GB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002065/0.4402, allocations: 1.297 MB / 0.5428 GB, free: 9.949 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000636/0.4408, allocations: 83.64 kB / 0.5429 GB, free: 9.867 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.243e-05/0.4409, allocations: 19.61 kB / 0.5429 GB, free: 9.852 MB / 362.7 MB Warning: Assuming fixed start value for the following 3 variables: varTra.tapChanger.furtherTapChangeTimeout:DISCRETE(start = varTra.tapChanger.nextTapChangeTimeout unit = "s" fixed = false protected = true ) "Time lag between the first change and the following tap" type: Real varTra.tapChanger.abnormalUTime:DISCRETE(unit = "s" fixed = false protected = true ) "Time when the signal U went out its normal range" type: Real varTra.tapChanger.tap:DISCRETE(start = varTra.tapChanger.startTap fixed = false ) "Current tap position" type: Integer Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: varLoad.U:VARIABLE(unit = "V" ) "Voltage at the load" type: Real varTra.UB:VARIABLE(unit = "V" ) "Voltage at port B" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$PRE.varTra.tapChanger.tap,varTra.tapChanger.tap,$PRE.varTra.tapChanger.abnormalUTime,varTra.tapChanger.abnormalUTime,varTra.tapChanger.normalU,varTra.tapChanger.decreaseEvent,varTra.tapChanger.increaseEvent,$PRE.varTra.tapChanger.furtherTapChangeTimeout,varTra.tapChanger.furtherTapChangeTimeout,$PRE.varLoad.degradedMode,varLoad.degradedMode) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 33 * 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 {6 14} Notification: Performance of prepare postOptimizeDAE: time 0.0003661/0.4413, allocations: 171.9 kB / 0.5431 GB, free: 9.68 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001116/0.4414, allocations: 51.44 kB / 0.5431 GB, free: 9.629 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002527/0.4439, allocations: 1.166 MB / 0.5443 GB, free: 8.926 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.898e-06/0.4439, allocations: 4 kB / 0.5443 GB, free: 8.922 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.444, allocations: 0 / 0.5443 GB, free: 8.922 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-06/0.444, allocations: 0 / 0.5443 GB, free: 8.922 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007935/0.4448, allocations: 0.6268 MB / 0.5449 GB, free: 8.445 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.4448, allocations: 0 / 0.5449 GB, free: 8.445 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00021/0.445, allocations: 55.89 kB / 0.5449 GB, free: 8.391 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003733/0.4487, allocations: 0.8409 MB / 0.5457 GB, free: 7.668 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.487e-05/0.4488, allocations: 15.67 kB / 0.5458 GB, free: 7.656 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002144/0.451, allocations: 1.402 MB / 0.5471 GB, free: 6.613 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.451, allocations: 0 / 0.5471 GB, free: 6.613 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002438/0.4534, allocations: 1.128 MB / 0.5482 GB, free: 5.91 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003762/0.4538, allocations: 207.6 kB / 0.5484 GB, free: 5.734 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001391/0.454, allocations: 18.25 kB / 0.5484 GB, free: 5.723 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000615/0.4546, allocations: 75.94 kB / 0.5485 GB, free: 5.648 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001558/0.4548, allocations: 54.28 kB / 0.5486 GB, free: 5.605 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.475e-05/0.4548, allocations: 22.48 kB / 0.5486 GB, free: 5.59 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0002476/0.4551, allocations: 206.2 kB / 0.5488 GB, free: 5.434 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005274/0.4556, allocations: 127.3 kB / 0.5489 GB, free: 5.312 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: 12 ($whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,varTra.tapChanger.tap,varTra.tapChanger.abnormalUTime,varTra.tapChanger.normalU,varTra.tapChanger.decreaseEvent,varTra.tapChanger.increaseEvent,varTra.tapChanger.furtherTapChangeTimeout,varLoad.degradedMode) * Number of discrete states: 11 (varTra.tapChanger.tap,varTra.tapChanger.furtherTapChangeTimeout,$whenCondition4,$whenCondition3,varTra.tapChanger.abnormalUTime,$whenCondition2,$whenCondition1,varTra.tapChanger.decreaseEvent,varTra.tapChanger.increaseEvent,varTra.tapChanger.normalU,varLoad.degradedMode) * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 24 * 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 {6 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002919/0.4559, allocations: 138.2 kB / 0.549 GB, free: 5.176 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00179/0.4577, allocations: 0.7167 MB / 0.5497 GB, free: 4.582 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.4577, allocations: 0 / 0.5497 GB, free: 4.582 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001372/0.4591, allocations: 0.594 MB / 0.5503 GB, free: 3.977 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003867/0.4595, allocations: 29.08 kB / 0.5503 GB, free: 3.949 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001704/0.4612, allocations: 0.5449 MB / 0.5509 GB, free: 3.383 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000621/0.4619, allocations: 0.8392 MB / 0.5517 GB, free: 2.516 MB / 362.7 MB Notification: Performance of SimCode: time 7.62e-07/0.4619, allocations: 8 kB / 0.5517 GB, free: 2.508 MB / 362.7 MB Notification: Performance of Templates: time 0.01787/0.4798, allocations: 8.687 MB / 0.5602 GB, free: 9.879 MB / 378.7 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad.makefile (rm -f PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad.sim & ./PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad.pipe 2>&1)