Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1.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.VariableTransformer1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1") translateModel(PowerSysPro.Examples.VariableTransformers.VariableTransformer1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1") [: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.001086/0.001086, allocations: 196 kB / 7.848 MB, free: 2.211 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.315/1.315, allocations: 221.4 MB / 229.7 MB, free: 3.07 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.001023/0.001023, allocations: 87.23 kB / 280.5 MB, free: 1.266 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04167/0.04168, allocations: 8.098 MB / 339.4 MB, free: 6.352 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.364e-06/7.394e-06, allocations: 0 / 397.9 MB, free: 68.04 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07753/0.07756, allocations: 52.52 MB / 450.4 MB, free: 15.5 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2594/0.337, allocations: 81.16 MB / 0.5191 GB, free: 13.35 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001842/0.3372, allocations: 67.16 kB / 0.5192 GB, free: 13.32 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.0314/0.3686, allocations: 11.75 MB / 0.5307 GB, free: 3.852 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.092e-05/0.3686, allocations: 8 kB / 0.5307 GB, free: 3.844 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.002269/0.3709, allocations: 0.9704 MB / 0.5316 GB, free: 2.875 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.371, allocations: 15.91 kB / 0.5316 GB, free: 2.859 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001185/0.3711, allocations: 63.25 kB / 0.5317 GB, free: 2.797 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008749/0.372, allocations: 479 kB / 0.5321 GB, free: 2.336 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.133e-05/0.372, allocations: 7.906 kB / 0.5321 GB, free: 2.328 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.442e-05/0.3721, allocations: 16 kB / 0.5322 GB, free: 2.312 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005377/0.3726, allocations: 341.5 kB / 0.5325 GB, free: 2.094 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006124/0.3732, allocations: 416.5 kB / 0.5329 GB, free: 1.781 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.3733, allocations: 0 / 0.5329 GB, free: 1.781 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.114e-05/0.3733, allocations: 0 / 0.5329 GB, free: 1.781 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.3733, allocations: 4 kB / 0.5329 GB, free: 1.777 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00269/0.376, allocations: 1.423 MB / 0.5343 GB, free: 0.5469 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005426/0.3766, allocations: 401.9 kB / 0.5347 GB, free: 292 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003268/0.3769, allocations: 279 kB / 0.5349 GB, free: 116 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.559e-05/0.377, allocations: 7.312 kB / 0.5349 GB, free: 112 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004953/0.3775, allocations: 478 kB / 0.5354 GB, free: 15.69 MB / 362.7 MB Notification: Performance of pre-optimization done (n=41): time 1.954e-06/0.3775, allocations: 4 kB / 0.5354 GB, free: 15.69 MB / 362.7 MB Notification: Performance of matching and sorting (n=41): time 0.001829/0.3793, allocations: 0.8 MB / 0.5362 GB, free: 15.09 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001403/0.3795, allocations: 251.2 kB / 0.5364 GB, free: 14.8 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006929/0.3802, allocations: 0.5698 MB / 0.537 GB, free: 14.32 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.985e-05/0.3802, allocations: 29.7 kB / 0.537 GB, free: 14.29 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.86e-05/0.3803, allocations: 160.5 kB / 0.5372 GB, free: 14.15 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001062/0.3804, allocations: 111.5 kB / 0.5373 GB, free: 14.05 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.539e-05/0.3805, allocations: 0 / 0.5373 GB, free: 14.05 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001401/0.3806, allocations: 382.5 kB / 0.5376 GB, free: 13.7 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003046/0.3809, allocations: 209.9 kB / 0.5378 GB, free: 13.56 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003382/0.3813, allocations: 278.3 kB / 0.5381 GB, free: 13.34 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005016/0.3818, allocations: 236.7 kB / 0.5383 GB, free: 13.17 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.3818, allocations: 4 kB / 0.5383 GB, free: 13.16 MB / 362.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001935/0.3838, allocations: 0.7938 MB / 0.5391 GB, free: 12.54 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.289e-05/0.3838, allocations: 11.94 kB / 0.5391 GB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.3838, allocations: 0 / 0.5391 GB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001636/0.3854, allocations: 334.8 kB / 0.5394 GB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002387/0.3857, allocations: 51.47 kB / 0.5395 GB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002117/0.3878, allocations: 2.041 MB / 0.5415 GB, free: 10.17 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000534/0.3884, allocations: 71.86 kB / 0.5415 GB, free: 10.1 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-05/0.3885, allocations: 23.5 kB / 0.5416 GB, free: 10.08 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 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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.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) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {2 4} Notification: Performance of prepare postOptimizeDAE: time 0.0003016/0.3888, allocations: 205.5 kB / 0.5418 GB, free: 9.863 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001414/0.3889, allocations: 70.12 kB / 0.5418 GB, free: 9.797 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001983/0.3909, allocations: 0.9866 MB / 0.5428 GB, free: 9.125 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.594e-06/0.3909, allocations: 4 kB / 0.5428 GB, free: 9.121 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.3909, allocations: 3.938 kB / 0.5428 GB, free: 9.117 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.844e-06/0.391, allocations: 3.984 kB / 0.5428 GB, free: 9.113 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007287/0.3917, allocations: 0.5451 MB / 0.5433 GB, free: 8.668 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.3917, allocations: 3.984 kB / 0.5433 GB, free: 8.664 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001709/0.3919, allocations: 35.91 kB / 0.5434 GB, free: 8.629 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001652/0.3935, allocations: 388.4 kB / 0.5437 GB, free: 8.289 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.928e-05/0.3936, allocations: 15.73 kB / 0.5438 GB, free: 8.277 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002257/0.3959, allocations: 2.139 MB / 0.5458 GB, free: 6.191 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/0.3959, allocations: 3.938 kB / 0.5458 GB, free: 6.188 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002042/0.398, allocations: 0.9871 MB / 0.5468 GB, free: 5.492 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005523/0.3985, allocations: 240.8 kB / 0.547 GB, free: 5.266 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001722/0.3987, allocations: 19.34 kB / 0.5471 GB, free: 5.254 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005005/0.3992, allocations: 71.94 kB / 0.5471 GB, free: 5.184 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001248/0.3994, allocations: 37.62 kB / 0.5472 GB, free: 5.156 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.851e-05/0.3994, allocations: 26.31 kB / 0.5472 GB, free: 5.137 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0006467/0.4001, allocations: 461.6 kB / 0.5476 GB, free: 4.777 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005484/0.4006, allocations: 119.9 kB / 0.5477 GB, free: 4.66 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: 16 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,voltage.a,voltage.b,voltage.last,voltage.nextEvent,voltage.nextEventScaled,varTra.tapChanger.tap,varTra.tapChanger.abnormalUTime,varTra.tapChanger.normalU,varTra.tapChanger.decreaseEvent,varTra.tapChanger.increaseEvent,varTra.tapChanger.furtherTapChangeTimeout) * Number of discrete states: 16 (varTra.tapChanger.tap,varTra.tapChanger.furtherTapChangeTimeout,$whenCondition4,$whenCondition3,varTra.tapChanger.abnormalUTime,$whenCondition2,$whenCondition1,varTra.tapChanger.decreaseEvent,varTra.tapChanger.increaseEvent,varTra.tapChanger.normalU,voltage.nextEvent,voltage.last,voltage.nextEventScaled,voltage.b,voltage.a,$whenCondition5) * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {2 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003336/0.401, allocations: 177.5 kB / 0.5479 GB, free: 4.488 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001204/0.4022, allocations: 0.6512 MB / 0.5485 GB, free: 3.984 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.4022, allocations: 0 / 0.5485 GB, free: 3.984 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008688/0.4031, allocations: 0.6224 MB / 0.5492 GB, free: 3.57 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002862/0.4034, allocations: 40.98 kB / 0.5492 GB, free: 3.551 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001492/0.4049, allocations: 0.7902 MB / 0.55 GB, free: 2.828 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005433/0.4054, allocations: 0.9212 MB / 0.5509 GB, free: 1.887 MB / 362.7 MB Notification: Performance of SimCode: time 3.01e-07/0.4054, allocations: 0 / 0.5509 GB, free: 1.887 MB / 362.7 MB Notification: Performance of Templates: time 0.01251/0.418, allocations: 6.551 MB / 0.5573 GB, free: 11.41 MB / 378.7 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1.makefile (rm -f PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1.sim & ./PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1.pipe 2>&1)