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.001038/0.001038, allocations: 114.2 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.001023/0.001023, allocations: 199 kB / 18.06 MB, free: 5.039 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.352/1.352, 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.04791/0.04791, allocations: 8.106 MB / 300 MB, free: 6.617 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001337/0.001337, allocations: 59.89 kB / 415.2 MB, free: 21.82 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09739/0.09874, allocations: 51.52 MB / 466.7 MB, free: 2.258 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableTransformers.WithVariableLoad): time 0.004637/0.1034, allocations: 3.205 MB / 469.9 MB, free: 15.03 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002151/0.1056, allocations: 1.102 MB / 471 MB, free: 13.92 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003065/0.1059, allocations: 8 kB / 471 MB, free: 13.91 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005333/0.1065, allocations: 167 kB / 471.2 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008459/0.1073, allocations: 258.5 kB / 471.4 MB, free: 13.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002232/0.1096, allocations: 1.283 MB / 472.7 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006554/0.1103, allocations: 0.5253 MB / 473.2 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002056/0.1105, allocations: 128 kB / 473.3 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001933/0.1107, allocations: 211.2 kB / 473.6 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002912/0.111, allocations: 247 kB / 473.8 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.898e-05/0.1111, allocations: 47.94 kB / 473.8 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005297/0.1116, allocations: 315.7 kB / 474.1 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.201e-05/0.1117, allocations: 87.61 kB / 474.2 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002239/0.1119, allocations: 230.8 kB / 474.5 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007375/0.1127, allocations: 0.6817 MB / 475.1 MB, free: 9.754 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.1127, allocations: 7.938 kB / 475.1 MB, free: 9.746 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1127, allocations: 0 / 475.1 MB, free: 9.746 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.798e-06/0.1127, allocations: 4 kB / 475.2 MB, free: 9.742 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.004697/0.1174, allocations: 1.304 MB / 476.5 MB, free: 8.379 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.1175, allocations: 8.031 kB / 476.5 MB, free: 8.371 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001408/0.1176, allocations: 52.38 kB / 476.5 MB, free: 8.32 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005338/0.1181, allocations: 359.4 kB / 476.9 MB, free: 7.934 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.617e-05/0.1182, allocations: 50.83 kB / 476.9 MB, free: 7.879 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.234e-05/0.1183, allocations: 32.38 kB / 476.9 MB, free: 7.848 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009698/0.1193, allocations: 484.8 kB / 477.4 MB, free: 7.367 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.1193, allocations: 3.938 kB / 477.4 MB, free: 7.363 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.046e-05/0.1194, allocations: 12 kB / 477.4 MB, free: 7.352 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.819e-06/0.1194, allocations: 8 kB / 477.4 MB, free: 7.344 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009186/0.1203, allocations: 466 kB / 477.9 MB, free: 6.887 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002891/0.1232, allocations: 1.976 MB / 479.9 MB, free: 4.738 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00119/0.1244, allocations: 0.5534 MB / 480.4 MB, free: 4.172 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005819/0.125, allocations: 333.5 kB / 480.8 MB, free: 3.844 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001383/0.1251, allocations: 97.41 kB / 480.8 MB, free: 3.73 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008954/0.1261, allocations: 0.5321 MB / 481.4 MB, free: 3.16 MB / 350.1 MB Notification: Performance of pre-optimization done (n=51): time 3.257e-06/0.1261, allocations: 0 / 481.4 MB, free: 3.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=51): time 0.00608/0.1322, allocations: 1.892 MB / 483.3 MB, free: 1.234 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001062/0.1323, allocations: 203.9 kB / 483.5 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000376/0.1327, allocations: 316.5 kB / 483.8 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.593e-05/0.1327, allocations: 41.7 kB / 483.8 MB, free: 0.625 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001195/0.1329, allocations: 176.8 kB / 484 MB, free: 460 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00013/0.133, allocations: 157.7 kB / 484.1 MB, free: 300 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001978/0.1332, allocations: 110.2 kB / 484.3 MB, free: 184 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000143/0.1333, allocations: 350.7 kB / 484.6 MB, free: 15.83 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005237/0.1339, allocations: 285.1 kB / 484.9 MB, free: 15.54 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005671/0.1345, allocations: 350.1 kB / 485.2 MB, free: 15.2 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008161/0.1426, allocations: 2.149 MB / 487.4 MB, free: 13.01 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/0.1426, allocations: 0 / 487.4 MB, free: 13.01 MB / 366.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003505/0.1462, allocations: 1.305 MB / 488.7 MB, free: 11.69 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.812e-05/0.1462, allocations: 37.69 kB / 488.7 MB, free: 11.65 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.1462, allocations: 4 kB / 488.7 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003672/0.1499, allocations: 0.8704 MB / 489.6 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002863/0.1502, allocations: 75.89 kB / 489.7 MB, free: 10.69 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00172/0.1519, allocations: 1.266 MB / 490.9 MB, free: 9.395 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006064/0.1526, allocations: 87.53 kB / 491 MB, free: 9.309 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.643e-05/0.1526, allocations: 23.98 kB / 491 MB, free: 9.285 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.000347/0.153, allocations: 227.2 kB / 491.3 MB, free: 9.047 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001082/0.1531, allocations: 39.53 kB / 491.3 MB, free: 9.008 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002233/0.1553, allocations: 1.228 MB / 492.5 MB, free: 7.762 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/0.1554, allocations: 4 kB / 492.5 MB, free: 7.758 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.1554, allocations: 0 / 492.5 MB, free: 7.758 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.586e-06/0.1554, allocations: 3.984 kB / 492.5 MB, free: 7.754 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007303/0.1561, allocations: 0.6268 MB / 493.2 MB, free: 7.074 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.1561, allocations: 0 / 493.2 MB, free: 7.074 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001877/0.1563, allocations: 47.91 kB / 493.2 MB, free: 7.027 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00378/0.1601, allocations: 0.9117 MB / 494.1 MB, free: 6.105 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.377e-05/0.1602, allocations: 16 kB / 494.1 MB, free: 6.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002145/0.1623, allocations: 1.405 MB / 495.5 MB, free: 4.652 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.1624, allocations: 0 / 495.5 MB, free: 4.652 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002025/0.1644, allocations: 1.19 MB / 496.7 MB, free: 3.438 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000284/0.1647, allocations: 200.4 kB / 496.9 MB, free: 3.223 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001074/0.1648, allocations: 23.98 kB / 496.9 MB, free: 3.199 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005473/0.1654, allocations: 59.94 kB / 497 MB, free: 3.141 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001401/0.1655, allocations: 48.38 kB / 497.1 MB, free: 3.094 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.64e-05/0.1656, allocations: 27.97 kB / 497.1 MB, free: 3.066 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002611/0.1658, allocations: 227.1 kB / 497.3 MB, free: 2.848 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1659, allocations: 4 kB / 497.3 MB, free: 2.844 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004744/0.1663, allocations: 147.8 kB / 497.4 MB, free: 2.699 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.0002395/0.1666, allocations: 147.5 kB / 497.6 MB, free: 2.543 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002016/0.1686, allocations: 0.913 MB / 498.5 MB, free: 1.617 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.1686, allocations: 4.125 kB / 498.5 MB, free: 1.613 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001389/0.17, allocations: 0.6763 MB / 499.2 MB, free: 0.9219 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003796/0.1704, allocations: 60.95 kB / 499.2 MB, free: 0.8633 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001806/0.1722, allocations: 0.845 MB / 0.4884 GB, free: 15.98 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003525/0.1726, allocations: 0.8084 MB / 0.4892 GB, free: 15.14 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001084/0.1727, allocations: 39.42 kB / 0.4892 GB, free: 15.11 MB / 382.1 MB Notification: Performance of SimCode: time 7.22e-07/0.1727, allocations: 0 / 0.4892 GB, free: 15.11 MB / 382.1 MB Notification: Performance of Templates: time 0.01065/0.1834, allocations: 7.339 MB / 0.4964 GB, free: 7.773 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)