Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2.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.VariableTransformer2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2") translateModel(PowerSysPro.Examples.VariableTransformers.VariableTransformer2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001224/0.001224, allocations: 106.7 kB / 16.45 MB, free: 6.449 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.001527/0.001527, allocations: 186.4 kB / 17.38 MB, free: 5.691 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.497/1.497, allocations: 222.9 MB / 241.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05435/0.05435, allocations: 8.11 MB / 299.3 MB, free: 6.637 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 63.91 kB / 414.5 MB, free: 21.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.1125, allocations: 51.52 MB / 466 MB, free: 2.16 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableTransformers.VariableTransformer2): time 0.002994/0.1156, allocations: 1.821 MB / 467.8 MB, free: 336 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002434/0.118, allocations: 1.696 MB / 469.5 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001134/0.1182, allocations: 4 kB / 469.5 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004219/0.1186, allocations: 143.3 kB / 469.7 MB, free: 14.47 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004/0.119, allocations: 147.1 kB / 469.8 MB, free: 14.33 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001795/0.1208, allocations: 0.953 MB / 470.8 MB, free: 13.38 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004854/0.1213, allocations: 362.6 kB / 471.1 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001757/0.1215, allocations: 76.61 kB / 471.2 MB, free: 12.94 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001604/0.1217, allocations: 135.5 kB / 471.3 MB, free: 12.81 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002037/0.1219, allocations: 163.3 kB / 471.5 MB, free: 12.65 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.229e-05/0.122, allocations: 32 kB / 471.5 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004754/0.1224, allocations: 239.8 kB / 471.8 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.187e-05/0.1225, allocations: 59.64 kB / 471.8 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001702/0.1227, allocations: 155.2 kB / 472 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006046/0.1233, allocations: 498.7 kB / 472.4 MB, free: 11.68 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1233, allocations: 0 / 472.4 MB, free: 11.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1233, allocations: 0 / 472.4 MB, free: 11.68 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.1233, allocations: 0 / 472.4 MB, free: 11.68 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.003626/0.127, allocations: 1.054 MB / 473.5 MB, free: 10.57 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.832e-05/0.127, allocations: 12.03 kB / 473.5 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001083/0.1272, allocations: 32.56 kB / 473.5 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003999/0.1276, allocations: 298.7 kB / 473.8 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.825e-05/0.1276, allocations: 12.38 kB / 473.8 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001082/0.1277, allocations: 24.56 kB / 473.9 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006725/0.1284, allocations: 339 kB / 474.2 MB, free: 9.82 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.1284, allocations: 0 / 474.2 MB, free: 9.82 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.864e-05/0.1285, allocations: 8 kB / 474.2 MB, free: 9.812 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.286e-06/0.1285, allocations: 8 kB / 474.2 MB, free: 9.805 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005159/0.129, allocations: 267.8 kB / 474.5 MB, free: 9.543 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001413/0.1304, allocations: 0.9205 MB / 475.4 MB, free: 8.547 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008462/0.1313, allocations: 455.1 kB / 475.8 MB, free: 8.074 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000349/0.1316, allocations: 196.8 kB / 476 MB, free: 7.879 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001019/0.1327, allocations: 0.8151 MB / 476.9 MB, free: 7 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007421/0.1334, allocations: 383.6 kB / 477.2 MB, free: 6.586 MB / 350.1 MB Notification: Performance of pre-optimization done (n=33): time 2.043e-06/0.1334, allocations: 0 / 477.2 MB, free: 6.586 MB / 350.1 MB Notification: Performance of matching and sorting (n=33): time 0.002779/0.1362, allocations: 1.021 MB / 478.2 MB, free: 5.512 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001434/0.1364, allocations: 221.6 kB / 478.5 MB, free: 5.246 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002769/0.1367, allocations: 266.5 kB / 478.7 MB, free: 4.977 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.565e-05/0.1367, allocations: 37.7 kB / 478.8 MB, free: 4.934 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001121/0.1368, allocations: 144.7 kB / 478.9 MB, free: 4.789 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.642e-05/0.1369, allocations: 102.5 kB / 479 MB, free: 4.688 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001478/0.1371, allocations: 81.67 kB / 479.1 MB, free: 4.602 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001429/0.1372, allocations: 334.8 kB / 479.4 MB, free: 4.266 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002457/0.1375, allocations: 136.4 kB / 479.5 MB, free: 4.133 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003086/0.1378, allocations: 246.5 kB / 479.8 MB, free: 3.852 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003077/0.1409, allocations: 1.025 MB / 480.8 MB, free: 2.766 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.1409, allocations: 3.938 kB / 480.8 MB, free: 2.762 MB / 350.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001137/0.142, allocations: 0.5898 MB / 481.4 MB, free: 2.152 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.819e-05/0.1421, allocations: 41.69 kB / 481.4 MB, free: 2.105 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.1421, allocations: 4 kB / 481.4 MB, free: 2.102 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001471/0.1436, allocations: 355.4 kB / 481.8 MB, free: 1.742 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002504/0.1439, allocations: 67.91 kB / 481.9 MB, free: 1.676 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002142/0.146, allocations: 2.276 MB / 484.1 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004099/0.1465, allocations: 71.8 kB / 484.2 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.777e-05/0.1465, allocations: 19.94 kB / 484.2 MB, free: 15.13 MB / 366.1 MB Warning: Assuming fixed start value for the following 4 variables: slackBusRamp.U:VARIABLE(start = slackBusRamp.UNom unit = "V" fixed = true ) type: Real 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: 12 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.varTra.tapChanger.tap,$PRE.varTra.tapChanger.furtherTapChangeTimeout,$PRE.varTra.tapChanger.abnormalUTime,varTra.tapChanger.furtherTapChangeTimeout,varTra.tapChanger.increaseEvent,varTra.tapChanger.decreaseEvent,varTra.tapChanger.normalU,varTra.tapChanger.abnormalUTime,varTra.tapChanger.tap,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0003034/0.1468, allocations: 213.7 kB / 484.4 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.252e-05/0.1469, allocations: 39.56 kB / 484.5 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001768/0.1487, allocations: 0.8277 MB / 485.3 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.1487, allocations: 4 kB / 485.3 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.666e-06/0.1487, allocations: 11.98 kB / 485.3 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.1487, allocations: 3.938 kB / 485.3 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004741/0.1492, allocations: 429.1 kB / 485.7 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.1492, allocations: 0 / 485.7 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001756/0.1494, allocations: 31.97 kB / 485.8 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001475/0.1509, allocations: 406.8 kB / 486.2 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.75e-05/0.1509, allocations: 19.98 kB / 486.2 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002355/0.1533, allocations: 2.372 MB / 488.6 MB, free: 10.55 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.1533, allocations: 3.938 kB / 488.6 MB, free: 10.54 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002093/0.1554, allocations: 1.047 MB / 489.6 MB, free: 9.465 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001659/0.1556, allocations: 148.6 kB / 489.8 MB, free: 9.301 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.243e-05/0.1556, allocations: 20.06 kB / 489.8 MB, free: 9.281 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000344/0.156, allocations: 55.94 kB / 489.8 MB, free: 9.227 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001128/0.1561, allocations: 31.95 kB / 489.9 MB, free: 9.195 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.527e-05/0.1562, allocations: 15.94 kB / 489.9 MB, free: 9.18 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001901/0.1563, allocations: 190 kB / 490.1 MB, free: 8.992 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1564, allocations: 0 / 490.1 MB, free: 8.992 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004476/0.1568, allocations: 100 kB / 490.2 MB, free: 8.895 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (slackBusRamp.U) * Number of discrete variables: 10 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,varTra.tapChanger.tap,varTra.tapChanger.abnormalUTime,varTra.tapChanger.normalU,varTra.tapChanger.decreaseEvent,varTra.tapChanger.increaseEvent,varTra.tapChanger.furtherTapChangeTimeout) * Number of discrete states: 10 (varTra.tapChanger.tap,varTra.tapChanger.furtherTapChangeTimeout,$whenCondition4,$whenCondition3,varTra.tapChanger.abnormalUTime,$whenCondition2,$whenCondition1,varTra.tapChanger.decreaseEvent,varTra.tapChanger.increaseEvent,varTra.tapChanger.normalU) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002848/0.1571, allocations: 147.1 kB / 490.3 MB, free: 8.738 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001454/0.1586, allocations: 0.635 MB / 490.9 MB, free: 8.078 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.1586, allocations: 0 / 490.9 MB, free: 8.078 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008975/0.1595, allocations: 0.5526 MB / 491.5 MB, free: 7.5 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002661/0.1598, allocations: 41.05 kB / 491.5 MB, free: 7.461 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001259/0.161, allocations: 0.6074 MB / 492.1 MB, free: 6.828 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004397/0.1615, allocations: 0.7527 MB / 492.9 MB, free: 6.047 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001137/0.1616, allocations: 34.27 kB / 492.9 MB, free: 6.012 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.347e-05/0.1617, allocations: 35.36 kB / 493 MB, free: 5.977 MB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1617, allocations: 0 / 493 MB, free: 5.977 MB / 366.1 MB Notification: Performance of Templates: time 0.0129/0.1746, allocations: 6.468 MB / 499.4 MB, free: 15.56 MB / 382.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2.makefile (rm -f PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2.sim & ./PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2.pipe 2>&1)