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.001019/0.00102, allocations: 106.7 kB / 16.45 MB, free: 6.453 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.001088/0.001088, allocations: 189.4 kB / 17.38 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.365/1.365, allocations: 222.9 MB / 241.1 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04791/0.04792, allocations: 8.103 MB / 299.3 MB, free: 6.645 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00115/0.00115, allocations: 59.91 kB / 414.5 MB, free: 21.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09176/0.09293, allocations: 51.52 MB / 466 MB, free: 2.148 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableTransformers.WithVariableLoad): time 0.004178/0.09714, allocations: 3.213 MB / 469.2 MB, free: 14.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001838/0.099, allocations: 1.11 MB / 470.3 MB, free: 13.8 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000141/0.09916, allocations: 4 kB / 470.3 MB, free: 13.8 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004283/0.0996, allocations: 167 kB / 470.5 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005849/0.1002, allocations: 262.4 kB / 470.7 MB, free: 13.38 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002121/0.1023, allocations: 1.272 MB / 472 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006318/0.103, allocations: 0.5253 MB / 472.5 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002736/0.1033, allocations: 132.1 kB / 472.7 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000268/0.1035, allocations: 203.2 kB / 472.9 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003917/0.1039, allocations: 247 kB / 473.1 MB, free: 11 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.472e-05/0.104, allocations: 44 kB / 473.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006506/0.1047, allocations: 315.7 kB / 473.5 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000104/0.1048, allocations: 87.61 kB / 473.5 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002561/0.1051, allocations: 226.8 kB / 473.8 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008748/0.106, allocations: 0.6852 MB / 474.5 MB, free: 9.652 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.106, allocations: 4 kB / 474.5 MB, free: 9.648 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.106, allocations: 7.922 kB / 474.5 MB, free: 9.641 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.692e-06/0.106, 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.00449/0.1105, allocations: 1.326 MB / 475.8 MB, free: 8.254 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.1105, allocations: 12.03 kB / 475.8 MB, free: 8.242 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001264/0.1107, allocations: 56.59 kB / 475.9 MB, free: 8.188 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004959/0.1112, allocations: 351.6 kB / 476.2 MB, free: 7.809 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.212e-05/0.1113, allocations: 50.83 kB / 476.3 MB, free: 7.754 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.476e-05/0.1113, allocations: 36.38 kB / 476.3 MB, free: 7.719 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009058/0.1123, allocations: 484.8 kB / 476.8 MB, free: 7.238 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.479e-05/0.1123, allocations: 3.984 kB / 476.8 MB, free: 7.234 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.642e-05/0.1123, allocations: 15.94 kB / 476.8 MB, free: 7.219 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.837e-06/0.1123, allocations: 12 kB / 476.8 MB, free: 7.207 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008782/0.1132, allocations: 462 kB / 477.2 MB, free: 6.754 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002735/0.116, allocations: 1.969 MB / 479.2 MB, free: 4.613 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001123/0.1171, allocations: 0.5546 MB / 479.8 MB, free: 4.043 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005684/0.1177, allocations: 333.5 kB / 480.1 MB, free: 3.715 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001672/0.1179, allocations: 89.41 kB / 480.2 MB, free: 3.609 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009782/0.1189, allocations: 0.5437 MB / 480.7 MB, free: 3.027 MB / 350.1 MB Notification: Performance of pre-optimization done (n=51): time 2.074e-06/0.1189, allocations: 0 / 480.7 MB, free: 3.027 MB / 350.1 MB Notification: Performance of matching and sorting (n=51): time 0.005927/0.1248, allocations: 1.892 MB / 482.6 MB, free: 1.102 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001026/0.1249, allocations: 207.8 kB / 482.8 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003395/0.1253, allocations: 320.4 kB / 483.1 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.524e-05/0.1253, allocations: 37.7 kB / 483.2 MB, free: 500 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001105/0.1254, allocations: 181 kB / 483.3 MB, free: 316 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001216/0.1256, allocations: 162.6 kB / 483.5 MB, free: 152 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001868/0.1258, allocations: 106.2 kB / 483.6 MB, free: 40 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001542/0.1259, allocations: 354.7 kB / 484 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004974/0.1264, allocations: 285.1 kB / 484.2 MB, free: 15.39 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005451/0.127, allocations: 358 kB / 484.6 MB, free: 15.04 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007778/0.1348, allocations: 2.145 MB / 486.7 MB, free: 12.86 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.1348, allocations: 0 / 486.7 MB, free: 12.86 MB / 366.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0034/0.1382, allocations: 1.297 MB / 488 MB, free: 11.55 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.444e-05/0.1383, allocations: 37.69 kB / 488.1 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.1383, allocations: 0 / 488.1 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003701/0.142, allocations: 0.8744 MB / 488.9 MB, free: 10.62 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003104/0.1423, allocations: 71.91 kB / 489 MB, free: 10.55 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001781/0.1441, allocations: 1.278 MB / 490.3 MB, free: 9.246 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005867/0.1447, allocations: 87.67 kB / 490.4 MB, free: 9.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.931e-05/0.1448, allocations: 24 kB / 490.4 MB, free: 9.137 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.0003574/0.1452, allocations: 219.2 kB / 490.6 MB, free: 8.906 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001052/0.1453, allocations: 43.77 kB / 490.7 MB, free: 8.863 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002188/0.1475, allocations: 1.22 MB / 491.9 MB, free: 7.625 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.047e-06/0.1475, allocations: 11.94 kB / 491.9 MB, free: 7.613 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.1475, allocations: 0 / 491.9 MB, free: 7.613 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.612e-06/0.1475, allocations: 0 / 491.9 MB, free: 7.613 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006722/0.1482, allocations: 0.6385 MB / 492.5 MB, free: 6.922 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5e-06/0.1482, allocations: 0 / 492.5 MB, free: 6.922 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001815/0.1484, allocations: 47.91 kB / 492.6 MB, free: 6.875 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003692/0.1521, allocations: 0.9039 MB / 493.5 MB, free: 5.961 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.503e-05/0.1522, allocations: 19.98 kB / 493.5 MB, free: 5.941 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002124/0.1543, allocations: 1.413 MB / 494.9 MB, free: 4.496 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.1543, allocations: 0 / 494.9 MB, free: 4.496 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001959/0.1563, allocations: 1.194 MB / 496.1 MB, free: 3.277 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002562/0.1566, allocations: 192.7 kB / 496.3 MB, free: 3.07 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000113/0.1567, allocations: 27.95 kB / 496.3 MB, free: 3.043 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005131/0.1572, allocations: 63.92 kB / 496.4 MB, free: 2.98 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001486/0.1574, allocations: 48.38 kB / 496.4 MB, free: 2.934 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.481e-05/0.1574, allocations: 20 kB / 496.4 MB, free: 2.914 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002602/0.1577, allocations: 235 kB / 496.7 MB, free: 2.688 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1577, allocations: 0 / 496.7 MB, free: 2.688 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004596/0.1582, allocations: 135.9 kB / 496.8 MB, free: 2.555 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.0002447/0.1584, allocations: 155.7 kB / 497 MB, free: 2.391 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001995/0.1604, allocations: 0.9247 MB / 497.9 MB, free: 1.453 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.1604, allocations: 0 / 497.9 MB, free: 1.453 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001376/0.1618, allocations: 0.6763 MB / 498.6 MB, free: 0.7617 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003639/0.1622, allocations: 53.02 kB / 498.6 MB, free: 0.7109 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00148/0.1637, allocations: 0.8341 MB / 499.4 MB, free: 15.85 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003647/0.1641, allocations: 0.8007 MB / 0.4885 GB, free: 15.02 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001647/0.1642, allocations: 55.23 kB / 0.4886 GB, free: 14.97 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.15e-05/0.1643, allocations: 35.42 kB / 0.4886 GB, free: 14.94 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1643, allocations: 0 / 0.4886 GB, free: 14.94 MB / 382.1 MB Notification: Performance of Templates: time 0.01567/0.18, allocations: 10.64 MB / 0.499 GB, free: 4.355 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)