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.001015/0.001015, allocations: 101 kB / 16.45 MB, free: 6.445 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.00132/0.00132, allocations: 192.1 kB / 17.39 MB, free: 5.668 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.311/1.311, allocations: 222.9 MB / 241.1 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05267/0.05267, allocations: 8.099 MB / 299.3 MB, free: 6.633 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00116/0.00116, allocations: 71.89 kB / 414.5 MB, free: 21.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1134/0.1146, allocations: 51.51 MB / 466 MB, free: 2.152 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableTransformers.WithVariableLoad): time 0.004396/0.119, allocations: 3.212 MB / 469.2 MB, free: 14.92 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001856/0.1209, allocations: 1.113 MB / 470.3 MB, free: 13.8 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001537/0.1211, allocations: 4 kB / 470.3 MB, free: 13.8 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004353/0.1215, allocations: 167 kB / 470.5 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006376/0.1222, allocations: 266.3 kB / 470.8 MB, free: 13.38 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002014/0.1242, allocations: 1.264 MB / 472 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006036/0.1248, allocations: 0.5213 MB / 472.5 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000205/0.125, allocations: 132.1 kB / 472.7 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001885/0.1252, allocations: 203.3 kB / 472.9 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002968/0.1255, allocations: 254.9 kB / 473.1 MB, free: 11 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.928e-05/0.1256, allocations: 44 kB / 473.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004917/0.1261, allocations: 315.8 kB / 473.5 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.263e-05/0.1262, allocations: 83.62 kB / 473.5 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001972/0.1264, allocations: 238.8 kB / 473.8 MB, free: 10.33 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007451/0.1271, allocations: 0.6778 MB / 474.5 MB, free: 9.652 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.1272, allocations: 7.875 kB / 474.5 MB, free: 9.645 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1272, allocations: 4 kB / 474.5 MB, free: 9.641 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.356e-05/0.1272, allocations: 0 / 474.5 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.00471/0.1319, allocations: 1.312 MB / 475.8 MB, free: 8.27 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/0.132, allocations: 8.031 kB / 475.8 MB, free: 8.262 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001788/0.1321, allocations: 48.38 kB / 475.8 MB, free: 8.215 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000497/0.1326, allocations: 343.4 kB / 476.2 MB, free: 7.844 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.377e-05/0.1327, allocations: 54.83 kB / 476.2 MB, free: 7.785 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.971e-05/0.1328, allocations: 36.31 kB / 476.3 MB, free: 7.75 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009406/0.1338, allocations: 492.7 kB / 476.7 MB, free: 7.262 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.1338, allocations: 3.938 kB / 476.7 MB, free: 7.258 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.002e-05/0.1338, allocations: 15.98 kB / 476.8 MB, free: 7.242 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.676e-06/0.1339, allocations: 8 kB / 476.8 MB, free: 7.234 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008579/0.1347, allocations: 458 kB / 477.2 MB, free: 6.785 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002859/0.1376, allocations: 1.98 MB / 479.2 MB, free: 4.633 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001222/0.1388, allocations: 0.5508 MB / 479.7 MB, free: 4.066 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005646/0.1394, allocations: 337.5 kB / 480.1 MB, free: 3.734 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001461/0.1396, allocations: 85.42 kB / 480.2 MB, free: 3.633 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008879/0.1405, allocations: 0.5359 MB / 480.7 MB, free: 3.059 MB / 350.1 MB Notification: Performance of pre-optimization done (n=51): time 4.659e-06/0.1405, allocations: 0 / 480.7 MB, free: 3.059 MB / 350.1 MB Notification: Performance of matching and sorting (n=51): time 0.006182/0.1467, allocations: 1.896 MB / 482.6 MB, free: 1.129 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000122/0.1468, allocations: 199.9 kB / 482.8 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000359/0.1472, allocations: 316.5 kB / 483.1 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.682e-05/0.1472, allocations: 37.7 kB / 483.1 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001236/0.1474, allocations: 176.8 kB / 483.3 MB, free: 360 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001341/0.1475, allocations: 161.7 kB / 483.5 MB, free: 196 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001769/0.1477, allocations: 106.2 kB / 483.6 MB, free: 84 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001515/0.1479, allocations: 350.7 kB / 483.9 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004792/0.1483, allocations: 293 kB / 484.2 MB, free: 15.44 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005946/0.1489, allocations: 346 kB / 484.5 MB, free: 15.09 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007849/0.1568, allocations: 2.157 MB / 486.7 MB, free: 12.9 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/0.1568, allocations: 3.938 kB / 486.7 MB, free: 12.89 MB / 366.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003655/0.1605, allocations: 1.297 MB / 488 MB, free: 11.59 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.674e-05/0.1606, allocations: 41.7 kB / 488 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/0.1606, allocations: 3.984 kB / 488 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003631/0.1642, allocations: 0.8589 MB / 488.9 MB, free: 10.67 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002888/0.1645, allocations: 79.89 kB / 489 MB, free: 10.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001892/0.1664, allocations: 1.267 MB / 490.2 MB, free: 9.293 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005547/0.167, allocations: 87.53 kB / 490.3 MB, free: 9.207 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.94e-05/0.167, allocations: 23.98 kB / 490.4 MB, free: 9.184 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.0003305/0.1674, allocations: 229.9 kB / 490.6 MB, free: 8.945 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.463e-05/0.1675, allocations: 43.53 kB / 490.6 MB, free: 8.902 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002336/0.1698, allocations: 1.22 MB / 491.8 MB, free: 7.664 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.708e-06/0.1698, allocations: 11.98 kB / 491.9 MB, free: 7.652 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.1698, allocations: 0 / 491.9 MB, free: 7.652 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.764e-06/0.1698, allocations: 3.984 kB / 491.9 MB, free: 7.648 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006355/0.1705, allocations: 0.6268 MB / 492.5 MB, free: 6.969 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-06/0.1705, allocations: 7.938 kB / 492.5 MB, free: 6.961 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001744/0.1707, allocations: 39.97 kB / 492.5 MB, free: 6.922 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003706/0.1744, allocations: 0.9039 MB / 493.4 MB, free: 6.008 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.091e-05/0.1745, allocations: 23.98 kB / 493.5 MB, free: 5.984 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002131/0.1766, allocations: 1.405 MB / 494.9 MB, free: 4.547 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.1766, allocations: 4 kB / 494.9 MB, free: 4.543 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001958/0.1786, allocations: 1.186 MB / 496 MB, free: 3.332 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002709/0.1789, allocations: 196.4 kB / 496.2 MB, free: 3.121 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.882e-05/0.179, allocations: 24 kB / 496.3 MB, free: 3.098 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005009/0.1795, allocations: 63.92 kB / 496.3 MB, free: 3.035 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001443/0.1796, allocations: 56.31 kB / 496.4 MB, free: 2.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.973e-05/0.1797, allocations: 19.98 kB / 496.4 MB, free: 2.961 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.00025/0.1799, allocations: 227.1 kB / 496.6 MB, free: 2.742 MB / 366.1 MB Notification: Performance of sort global known variables: time 4.41e-07/0.18, allocations: 0 / 496.6 MB, free: 2.742 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004671/0.1804, allocations: 143.8 kB / 496.8 MB, free: 2.602 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.0002497/0.1807, allocations: 147.6 kB / 496.9 MB, free: 2.445 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001971/0.1827, allocations: 0.9286 MB / 497.8 MB, free: 1.504 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.1827, allocations: 0 / 497.8 MB, free: 1.504 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001338/0.184, allocations: 0.6802 MB / 498.5 MB, free: 0.8086 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003524/0.1844, allocations: 45.03 kB / 498.6 MB, free: 0.7656 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001444/0.1858, allocations: 0.8156 MB / 499.4 MB, free: 15.93 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003588/0.1862, allocations: 0.8007 MB / 0.4885 GB, free: 15.1 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001468/0.1864, allocations: 59.3 kB / 0.4885 GB, free: 15.04 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.171e-05/0.1865, allocations: 35.44 kB / 0.4885 GB, free: 15.01 MB / 382.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1865, allocations: 0 / 0.4885 GB, free: 15.01 MB / 382.1 MB Notification: Performance of Templates: time 0.01584/0.2023, allocations: 10.63 MB / 0.4989 GB, free: 4.43 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)