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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/PowerSysPro 2.3.1-master/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001469/0.001469, allocations: 114.1 kB / 17.13 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001762/0.001762, allocations: 187.1 kB / 18.06 MB, free: 5.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.353/1.353, allocations: 222.9 MB / 241.8 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.0459/0.0459, allocations: 8.103 MB / 300 MB, free: 6.617 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001175/0.001175, allocations: 63.89 kB / 415.2 MB, free: 21.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07497/0.07616, allocations: 51.51 MB / 466.7 MB, free: 2.156 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableTransformers.WithVariableLoad): time 0.004201/0.0804, allocations: 3.212 MB / 469.9 MB, free: 14.92 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001945/0.08236, allocations: 1.11 MB / 471 MB, free: 13.81 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002246/0.08261, allocations: 7.938 kB / 471 MB, free: 13.8 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004585/0.0831, allocations: 167 kB / 471.2 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000673/0.08378, allocations: 262.4 kB / 471.4 MB, free: 13.38 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002256/0.08605, allocations: 1.272 MB / 472.7 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006766/0.08674, allocations: 0.5253 MB / 473.2 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002184/0.08697, allocations: 132 kB / 473.3 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002497/0.08722, allocations: 199.3 kB / 473.5 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003383/0.08757, allocations: 254.9 kB / 473.8 MB, free: 11 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.788e-05/0.08767, allocations: 44 kB / 473.8 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007208/0.08839, allocations: 319.8 kB / 474.1 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001125/0.08852, allocations: 83.62 kB / 474.2 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002895/0.08882, allocations: 238.8 kB / 474.5 MB, free: 10.33 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000841/0.08967, allocations: 0.6778 MB / 475.1 MB, free: 9.648 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.08969, allocations: 3.938 kB / 475.1 MB, free: 9.645 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.08969, allocations: 3.938 kB / 475.1 MB, free: 9.641 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.322e-05/0.08971, allocations: 0 / 475.1 MB, free: 9.641 MB / 350.1 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.004768/0.09448, allocations: 1.308 MB / 476.5 MB, free: 8.273 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.439e-05/0.09453, allocations: 8.031 kB / 476.5 MB, free: 8.266 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001365/0.09467, allocations: 52.38 kB / 476.5 MB, free: 8.215 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004475/0.09513, allocations: 351.4 kB / 476.9 MB, free: 7.836 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.163e-05/0.09521, allocations: 46.83 kB / 476.9 MB, free: 7.785 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.871e-05/0.09529, allocations: 40.31 kB / 476.9 MB, free: 7.746 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009477/0.09624, allocations: 492.8 kB / 477.4 MB, free: 7.258 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.501e-05/0.09627, allocations: 0 / 477.4 MB, free: 7.258 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.23e-05/0.09633, allocations: 15.94 kB / 477.4 MB, free: 7.242 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.728e-06/0.09634, allocations: 8 kB / 477.4 MB, free: 7.234 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008957/0.09724, allocations: 462 kB / 477.9 MB, free: 6.781 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002967/0.1002, allocations: 1.98 MB / 479.9 MB, free: 4.629 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001207/0.1014, allocations: 0.5456 MB / 480.4 MB, free: 4.07 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005957/0.1021, allocations: 337.5 kB / 480.8 MB, free: 3.738 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001514/0.1022, allocations: 93.42 kB / 480.8 MB, free: 3.629 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009302/0.1032, allocations: 0.5359 MB / 481.4 MB, free: 3.055 MB / 350.1 MB Notification: Performance of pre-optimization done (n=51): time 2.014e-06/0.1032, allocations: 0 / 481.4 MB, free: 3.055 MB / 350.1 MB Notification: Performance of matching and sorting (n=51): time 0.006311/0.1095, allocations: 1.888 MB / 483.3 MB, free: 1.133 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001093/0.1096, allocations: 207.8 kB / 483.5 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003978/0.11, allocations: 312.5 kB / 483.8 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.805e-05/0.1101, allocations: 37.7 kB / 483.8 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000134/0.1103, allocations: 180.8 kB / 484 MB, free: 356 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001436/0.1104, allocations: 157.7 kB / 484.1 MB, free: 196 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001921/0.1106, allocations: 106.2 kB / 484.2 MB, free: 84 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.1108, allocations: 358.7 kB / 484.6 MB, free: 15.72 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005194/0.1113, allocations: 293 kB / 484.9 MB, free: 15.43 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005558/0.1119, allocations: 346 kB / 485.2 MB, free: 15.09 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008107/0.12, allocations: 2.153 MB / 487.4 MB, free: 12.89 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.12, allocations: 3.938 kB / 487.4 MB, free: 12.89 MB / 366.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003526/0.1236, allocations: 1.297 MB / 488.7 MB, free: 11.58 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.558e-05/0.1236, allocations: 37.7 kB / 488.7 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/0.1236, allocations: 7.984 kB / 488.7 MB, free: 11.53 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003838/0.1275, allocations: 0.8549 MB / 489.6 MB, free: 10.67 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003282/0.1278, allocations: 75.89 kB / 489.6 MB, free: 10.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001858/0.1297, allocations: 1.274 MB / 490.9 MB, free: 9.289 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006274/0.1303, allocations: 87.53 kB / 491 MB, free: 9.203 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.092e-05/0.1304, allocations: 23.98 kB / 491 MB, free: 9.18 MB / 366.1 MB Warning: Assuming fixed start value for the following 3 variables: varTra.tapChanger.tap:DISCRETE(start = varTra.tapChanger.startTap fixed = true ) "Current tap position" type: Integer varTra.tapChanger.furtherTapChangeTimeout:DISCRETE(start = varTra.tapChanger.nextTapChangeTimeout unit = "s" fixed = true protected = true ) "Time lag between the first change and the following tap" type: Real varTra.tapChanger.abnormalUTime:DISCRETE(unit = "s" fixed = true protected = true ) "Time when the signal U went out its normal range" 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 ($PRE.varTra.tapChanger.tap,$PRE.varTra.tapChanger.furtherTapChangeTimeout,$PRE.varTra.tapChanger.abnormalUTime,varLoad.degradedMode,$PRE.varLoad.degradedMode,varTra.tapChanger.furtherTapChangeTimeout,varTra.tapChanger.increaseEvent,varTra.tapChanger.decreaseEvent,varTra.tapChanger.normalU,varTra.tapChanger.abnormalUTime,varTra.tapChanger.tap,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0003585/0.1308, allocations: 223.2 kB / 491.2 MB, free: 8.945 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001181/0.1309, allocations: 43.52 kB / 491.3 MB, free: 8.902 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002104/0.133, allocations: 1.224 MB / 492.5 MB, free: 7.66 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.133, allocations: 4 kB / 492.5 MB, free: 7.656 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.1331, allocations: 0 / 492.5 MB, free: 7.656 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.812e-06/0.1331, allocations: 3.984 kB / 492.5 MB, free: 7.652 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006492/0.1337, allocations: 0.6307 MB / 493.2 MB, free: 6.969 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-06/0.1337, allocations: 0 / 493.2 MB, free: 6.969 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001859/0.1339, allocations: 43.97 kB / 493.2 MB, free: 6.926 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003789/0.1377, allocations: 0.9078 MB / 494.1 MB, free: 6.008 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.233e-05/0.1378, allocations: 19.98 kB / 494.1 MB, free: 5.988 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002129/0.1399, allocations: 1.409 MB / 495.5 MB, free: 4.547 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.1399, allocations: 0 / 495.5 MB, free: 4.547 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002009/0.142, allocations: 1.19 MB / 496.7 MB, free: 3.332 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002581/0.1422, allocations: 200.4 kB / 496.9 MB, free: 3.117 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001129/0.1423, allocations: 20 kB / 496.9 MB, free: 3.098 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005622/0.1429, allocations: 67.91 kB / 497 MB, free: 3.031 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001409/0.1431, allocations: 56.44 kB / 497.1 MB, free: 2.977 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.451e-05/0.1431, allocations: 23.98 kB / 497.1 MB, free: 2.953 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002569/0.1434, allocations: 227.1 kB / 497.3 MB, free: 2.734 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1434, allocations: 0 / 497.3 MB, free: 2.734 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004717/0.1439, allocations: 143.8 kB / 497.4 MB, free: 2.594 MB / 366.1 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) * Number of clocked states: 0 () * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002431/0.1441, allocations: 147.5 kB / 497.6 MB, free: 2.438 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002082/0.1462, allocations: 0.9247 MB / 498.5 MB, free: 1.5 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1462, allocations: 0 / 498.5 MB, free: 1.5 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001391/0.1476, allocations: 0.6841 MB / 499.2 MB, free: 0.8008 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000377/0.148, allocations: 45.03 kB / 499.2 MB, free: 0.7578 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001461/0.1495, allocations: 0.8413 MB / 0.4884 GB, free: 15.88 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003111/0.1498, allocations: 0.8007 MB / 0.4891 GB, free: 15.05 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001073/0.1499, allocations: 43.42 kB / 0.4892 GB, free: 15.01 MB / 382.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1499, allocations: 0 / 0.4892 GB, free: 15.01 MB / 382.1 MB Notification: Performance of Templates: time 0.009732/0.1597, allocations: 7.283 MB / 0.4963 GB, free: 7.734 MB / 382.1 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)