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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001434/0.001434, 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.265/1.265, allocations: 221.4 MB / 235.1 MB, free: 14.45 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.0008615/0.0008616, allocations: 89.03 kB / 286.1 MB, free: 13 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04158/0.04158, allocations: 8.104 MB / 345.1 MB, free: 1.934 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.831e-05/2.833e-05, allocations: 4 kB / 405.5 MB, free: 61.98 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08068/0.08072, allocations: 52.51 MB / 458 MB, free: 9.465 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3207/0.4015, allocations: 82.7 MB / 0.528 GB, free: 3.344 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001948/0.4018, allocations: 68.91 kB / 0.5281 GB, free: 3.312 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03091/0.4327, allocations: 12.18 MB / 0.54 GB, free: 9.426 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.4327, allocations: 3.938 kB / 0.54 GB, free: 9.422 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.817e-05/0.4328, allocations: 4 kB / 0.54 GB, free: 9.418 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: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.002639/0.4354, allocations: 0.8918 MB / 0.5408 GB, free: 8.535 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.4355, allocations: 12.03 kB / 0.5409 GB, free: 8.523 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001523/0.4356, allocations: 43.53 kB / 0.5409 GB, free: 8.48 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004745/0.4361, allocations: 359.2 kB / 0.5412 GB, free: 8.156 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.586e-05/0.4362, allocations: 52.89 kB / 0.5413 GB, free: 8.109 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.26e-05/0.4362, allocations: 27 kB / 0.5413 GB, free: 8.09 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007388/0.437, allocations: 445.4 kB / 0.5417 GB, free: 7.812 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/0.437, allocations: 3.938 kB / 0.5417 GB, free: 7.809 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.981e-05/0.4371, allocations: 14.95 kB / 0.5418 GB, free: 7.801 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.4371, allocations: 8 kB / 0.5418 GB, free: 7.793 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006184/0.4377, allocations: 421.1 kB / 0.5422 GB, free: 7.547 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002992/0.4407, allocations: 2.156 MB / 0.5443 GB, free: 5.754 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009137/0.4416, allocations: 0.5267 MB / 0.5448 GB, free: 5.441 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003735/0.442, allocations: 302.9 kB / 0.5451 GB, free: 5.293 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.77e-05/0.4421, allocations: 12.31 kB / 0.5451 GB, free: 5.281 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006843/0.4428, allocations: 0.5041 MB / 0.5456 GB, free: 4.879 MB / 362.7 MB Notification: Performance of pre-optimization done (n=51): time 4.619e-06/0.4428, allocations: 3.984 kB / 0.5456 GB, free: 4.875 MB / 362.7 MB Notification: Performance of matching and sorting (n=51): time 0.00259/0.4454, allocations: 1.085 MB / 0.5466 GB, free: 4.137 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001032/0.4455, allocations: 195.7 kB / 0.5468 GB, free: 3.906 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003449/0.4459, allocations: 288.5 kB / 0.5471 GB, free: 3.672 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.404e-05/0.446, allocations: 40.5 kB / 0.5471 GB, free: 3.633 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001209/0.4461, allocations: 176.7 kB / 0.5473 GB, free: 3.504 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001499/0.4462, allocations: 158.2 kB / 0.5475 GB, free: 3.367 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.24e-05/0.4463, allocations: 11 kB / 0.5475 GB, free: 3.363 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001461/0.4464, allocations: 347.4 kB / 0.5478 GB, free: 3.031 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003599/0.4468, allocations: 236.1 kB / 0.548 GB, free: 2.91 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003801/0.4472, allocations: 292.8 kB / 0.5483 GB, free: 2.73 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004022/0.4476, allocations: 284.3 kB / 0.5486 GB, free: 2.555 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.4476, allocations: 0 / 0.5486 GB, free: 2.555 MB / 362.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001237/0.4489, allocations: 0.8722 MB / 0.5494 GB, free: 2.012 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.368e-05/0.4489, allocations: 39.25 kB / 0.5495 GB, free: 1.969 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.4489, allocations: 4.094 kB / 0.5495 GB, free: 1.965 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003845/0.4528, allocations: 0.8713 MB / 0.5503 GB, free: 1.211 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002589/0.453, allocations: 59.83 kB / 0.5504 GB, free: 1.152 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001615/0.4547, allocations: 1.263 MB / 0.5516 GB, free: 188 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006163/0.4553, allocations: 86.8 kB / 0.5517 GB, free: 108 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.363e-05/0.4554, allocations: 19.67 kB / 0.5517 GB, free: 92 kB / 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: 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.0003063/0.4557, allocations: 186.4 kB / 0.5519 GB, free: 15.91 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001035/0.4558, allocations: 47.48 kB / 0.5519 GB, free: 15.86 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0024/0.4582, allocations: 1.248 MB / 0.5532 GB, free: 15.11 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.027e-06/0.4582, allocations: 12 kB / 0.5532 GB, free: 15.09 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.4583, allocations: 0 / 0.5532 GB, free: 15.09 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.07e-05/0.4583, allocations: 3.984 kB / 0.5532 GB, free: 15.09 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000746/0.459, allocations: 0.6845 MB / 0.5538 GB, free: 14.55 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.307e-06/0.459, allocations: 0 / 0.5538 GB, free: 14.55 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002162/0.4593, allocations: 47.66 kB / 0.5539 GB, free: 14.51 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003765/0.463, allocations: 0.8926 MB / 0.5548 GB, free: 13.73 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.275e-05/0.4631, allocations: 23.17 kB / 0.5548 GB, free: 13.72 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001772/0.4649, allocations: 1.338 MB / 0.5561 GB, free: 12.71 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.4649, allocations: 0 / 0.5561 GB, free: 12.71 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002236/0.4672, allocations: 1.211 MB / 0.5573 GB, free: 11.62 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003576/0.4676, allocations: 200.4 kB / 0.5575 GB, free: 11.41 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001124/0.4677, allocations: 24 kB / 0.5575 GB, free: 11.39 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005821/0.4683, allocations: 83.88 kB / 0.5576 GB, free: 11.3 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001405/0.4684, allocations: 44.36 kB / 0.5576 GB, free: 11.26 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.813e-05/0.4685, allocations: 27.98 kB / 0.5576 GB, free: 11.23 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002538/0.4688, allocations: 234.2 kB / 0.5579 GB, free: 11 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4688, allocations: 3.938 kB / 0.5579 GB, free: 11 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004471/0.4692, allocations: 139.9 kB / 0.558 GB, free: 10.86 MB / 378.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 (26): * Single equations (assignments): 25 * 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.0002483/0.4695, allocations: 155 kB / 0.5581 GB, free: 10.7 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001653/0.4711, allocations: 0.8188 MB / 0.5589 GB, free: 9.871 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.4712, allocations: 0 / 0.5589 GB, free: 9.871 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001267/0.4724, allocations: 0.6375 MB / 0.5596 GB, free: 9.223 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003078/0.4727, allocations: 41.16 kB / 0.5596 GB, free: 9.184 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001241/0.474, allocations: 0.5691 MB / 0.5602 GB, free: 8.594 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000314/0.4743, allocations: 0.8168 MB / 0.561 GB, free: 7.746 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001792/0.4745, allocations: 47.23 kB / 0.561 GB, free: 7.703 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.841e-05/0.4746, allocations: 35.42 kB / 0.561 GB, free: 7.672 MB / 378.7 MB Notification: Performance of SimCode: time 3.71e-07/0.4746, allocations: 3.938 kB / 0.561 GB, free: 7.668 MB / 378.7 MB Notification: Performance of Templates: time 0.01481/0.4894, allocations: 9.148 MB / 0.57 GB, free: 14.57 MB / 394.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)