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/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 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.00123/0.00123, allocations: 108 kB / 16.45 MB, free: 6.395 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.001048/0.001049, allocations: 189 kB / 17.39 MB, free: 5.648 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.375/1.375, allocations: 222.9 MB / 241.1 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.06155/0.06155, allocations: 8.105 MB / 299.3 MB, free: 6.602 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001195/0.001195, allocations: 71.89 kB / 414.5 MB, free: 21.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09631/0.09752, allocations: 51.51 MB / 466 MB, free: 2.129 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableTransformers.WithVariableLoad): time 0.004464/0.102, allocations: 3.209 MB / 469.2 MB, free: 14.89 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002302/0.1044, allocations: 1.102 MB / 470.3 MB, free: 13.79 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002406/0.1046, allocations: 8 kB / 470.3 MB, free: 13.78 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005981/0.1052, allocations: 175 kB / 470.5 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009659/0.1063, allocations: 254.4 kB / 470.7 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00268/0.109, allocations: 1.284 MB / 472 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008516/0.1098, allocations: 0.5175 MB / 472.5 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002454/0.1101, allocations: 136.1 kB / 472.7 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002443/0.1103, allocations: 203.2 kB / 472.9 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002899/0.1106, allocations: 251 kB / 473.1 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.872e-05/0.1107, allocations: 40 kB / 473.2 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006746/0.1114, allocations: 319.7 kB / 473.5 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.794e-05/0.1115, allocations: 87.61 kB / 473.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002243/0.1117, allocations: 234.8 kB / 473.8 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009868/0.1127, allocations: 0.6778 MB / 474.5 MB, free: 9.625 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.1127, allocations: 0 / 474.5 MB, free: 9.625 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1127, allocations: 11.94 kB / 474.5 MB, free: 9.613 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.604e-06/0.1128, allocations: 0 / 474.5 MB, free: 9.613 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.004405/0.1172, allocations: 1.304 MB / 475.8 MB, free: 8.25 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.1172, allocations: 12.02 kB / 475.8 MB, free: 8.238 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001346/0.1174, allocations: 48.38 kB / 475.8 MB, free: 8.191 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004695/0.1178, allocations: 355.4 kB / 476.2 MB, free: 7.809 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.15e-05/0.1179, allocations: 50.83 kB / 476.2 MB, free: 7.754 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.114e-05/0.118, allocations: 36.38 kB / 476.3 MB, free: 7.719 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000902/0.1189, allocations: 480.8 kB / 476.7 MB, free: 7.242 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/0.1189, allocations: 0 / 476.7 MB, free: 7.242 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.81e-05/0.119, allocations: 19.92 kB / 476.8 MB, free: 7.223 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.708e-06/0.119, allocations: 8 kB / 476.8 MB, free: 7.215 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008614/0.1199, allocations: 465.9 kB / 477.2 MB, free: 6.758 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002673/0.1226, allocations: 1.968 MB / 479.2 MB, free: 4.617 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001118/0.1237, allocations: 0.5651 MB / 479.8 MB, free: 4.039 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005365/0.1242, allocations: 329.5 kB / 480.1 MB, free: 3.715 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001553/0.1244, allocations: 93.41 kB / 480.2 MB, free: 3.605 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008625/0.1253, allocations: 0.536 MB / 480.7 MB, free: 3.031 MB / 350.1 MB Notification: Performance of pre-optimization done (n=51): time 1.914e-06/0.1253, allocations: 0 / 480.7 MB, free: 3.031 MB / 350.1 MB Notification: Performance of matching and sorting (n=51): time 0.005894/0.1312, allocations: 1.892 MB / 482.6 MB, free: 1.105 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.38e-05/0.1313, allocations: 199.8 kB / 482.8 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003403/0.1317, allocations: 320.5 kB / 483.1 MB, free: 0.543 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.99e-05/0.1317, allocations: 41.7 kB / 483.1 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000114/0.1318, allocations: 176.8 kB / 483.3 MB, free: 328 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001286/0.132, allocations: 153.8 kB / 483.5 MB, free: 172 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00019/0.1322, allocations: 110.2 kB / 483.6 MB, free: 56 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001487/0.1323, allocations: 350.7 kB / 483.9 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004907/0.1328, allocations: 289.1 kB / 484.2 MB, free: 15.41 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005411/0.1334, allocations: 350 kB / 484.5 MB, free: 15.07 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00777/0.1412, allocations: 2.153 MB / 486.7 MB, free: 12.88 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.788e-06/0.1412, allocations: 0 / 486.7 MB, free: 12.88 MB / 366.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003381/0.1446, allocations: 1.305 MB / 488 MB, free: 11.56 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.345e-05/0.1446, allocations: 41.69 kB / 488 MB, free: 11.51 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.1446, allocations: 0 / 488 MB, free: 11.51 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003644/0.1483, allocations: 0.8627 MB / 488.9 MB, free: 10.64 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002802/0.1486, allocations: 71.91 kB / 489 MB, free: 10.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001709/0.1503, allocations: 1.271 MB / 490.2 MB, free: 9.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000524/0.1508, allocations: 87.47 kB / 490.3 MB, free: 9.184 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.3e-05/0.1509, allocations: 20 kB / 490.3 MB, free: 9.164 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.0003361/0.1512, allocations: 231.3 kB / 490.6 MB, free: 8.922 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.478e-05/0.1514, allocations: 43.53 kB / 490.6 MB, free: 8.879 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002123/0.1535, allocations: 1.22 MB / 491.8 MB, free: 7.641 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.184e-06/0.1535, allocations: 4 kB / 491.8 MB, free: 7.637 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.1535, allocations: 4 kB / 491.8 MB, free: 7.633 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.1535, allocations: 0 / 491.8 MB, free: 7.633 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006819/0.1542, allocations: 0.6306 MB / 492.5 MB, free: 6.949 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.1542, allocations: 4 kB / 492.5 MB, free: 6.945 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000175/0.1544, allocations: 39.92 kB / 492.5 MB, free: 6.906 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003639/0.1581, allocations: 0.9117 MB / 493.4 MB, free: 5.984 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.165e-05/0.1581, allocations: 15.98 kB / 493.4 MB, free: 5.969 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002154/0.1603, allocations: 1.409 MB / 494.9 MB, free: 4.527 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.54e-06/0.1603, allocations: 3.938 kB / 494.9 MB, free: 4.523 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001887/0.1622, allocations: 1.186 MB / 496 MB, free: 3.312 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000245/0.1624, allocations: 196.4 kB / 496.2 MB, free: 3.102 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.907e-05/0.1625, allocations: 24 kB / 496.3 MB, free: 3.078 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004872/0.163, allocations: 63.92 kB / 496.3 MB, free: 3.016 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001635/0.1632, allocations: 48.38 kB / 496.4 MB, free: 2.969 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.77e-05/0.1633, allocations: 20 kB / 496.4 MB, free: 2.949 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000272/0.1636, allocations: 231 kB / 496.6 MB, free: 2.727 MB / 366.1 MB Notification: Performance of sort global known variables: time 3e-07/0.1636, allocations: 4 kB / 496.6 MB, free: 2.723 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004936/0.1641, allocations: 143.8 kB / 496.8 MB, free: 2.582 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.000274/0.1643, allocations: 151.5 kB / 496.9 MB, free: 2.422 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001968/0.1663, allocations: 0.9208 MB / 497.8 MB, free: 1.488 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.1663, allocations: 8.062 kB / 497.8 MB, free: 1.48 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001323/0.1677, allocations: 0.6723 MB / 498.5 MB, free: 0.793 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003437/0.168, allocations: 53.02 kB / 498.6 MB, free: 0.7422 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001639/0.1697, allocations: 0.8226 MB / 499.4 MB, free: 15.9 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004605/0.1702, allocations: 0.8085 MB / 0.4885 GB, free: 15.06 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001645/0.1703, allocations: 43.38 kB / 0.4885 GB, free: 15.02 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001034/0.1704, allocations: 35.42 kB / 0.4885 GB, free: 14.99 MB / 382.1 MB Notification: Performance of SimCode: time 8.52e-07/0.1705, allocations: 4 kB / 0.4885 GB, free: 14.98 MB / 382.1 MB Notification: Performance of Templates: time 0.0175/0.188, allocations: 10.65 MB / 0.4989 GB, free: 4.395 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)