Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1.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.VariableTransformer1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1") translateModel(PowerSysPro.Examples.VariableTransformers.VariableTransformer1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001893/0.001893, allocations: 103.3 kB / 16.45 MB, free: 6.441 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.002619/0.002619, allocations: 189.4 kB / 17.39 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.332/1.332, allocations: 222.9 MB / 241.1 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04756/0.04756, allocations: 8.102 MB / 299.3 MB, free: 6.625 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001102/0.001102, allocations: 68.03 kB / 414.5 MB, free: 21.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09467/0.09578, allocations: 51.52 MB / 466 MB, free: 2.16 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableTransformers.VariableTransformer1): time 0.003532/0.09935, allocations: 2.653 MB / 468.7 MB, free: 15.48 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002068/0.1014, allocations: 1.363 MB / 470 MB, free: 14.12 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.713e-05/0.1015, allocations: 4 kB / 470 MB, free: 14.11 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005166/0.1021, allocations: 267 kB / 470.3 MB, free: 13.85 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003872/0.1025, allocations: 250.8 kB / 470.5 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001704/0.1042, allocations: 1.035 MB / 471.6 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006999/0.1049, allocations: 466.5 kB / 472 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001789/0.1051, allocations: 80.62 kB / 472.1 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002253/0.1053, allocations: 207.3 kB / 472.3 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003712/0.1057, allocations: 303 kB / 472.6 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.733e-05/0.1058, allocations: 36 kB / 472.6 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000567/0.1063, allocations: 319.7 kB / 472.9 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001442/0.1065, allocations: 131.6 kB / 473.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002289/0.1067, allocations: 250.4 kB / 473.3 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008017/0.1075, allocations: 0.7166 MB / 474 MB, free: 10.09 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.1075, allocations: 0 / 474 MB, free: 10.09 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1076, allocations: 0 / 474 MB, free: 10.09 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.217e-06/0.1076, allocations: 0 / 474 MB, free: 10.09 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.004088/0.1117, allocations: 1.366 MB / 475.4 MB, free: 8.66 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/0.1117, allocations: 11.97 kB / 475.4 MB, free: 8.648 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001331/0.1119, allocations: 68.19 kB / 475.5 MB, free: 8.582 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005919/0.1125, allocations: 467.8 kB / 475.9 MB, free: 8.082 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.319e-05/0.1125, allocations: 16.38 kB / 475.9 MB, free: 8.066 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.81e-05/0.1126, allocations: 24.38 kB / 476 MB, free: 8.043 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006766/0.1132, allocations: 414.1 kB / 476.4 MB, free: 7.625 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.597e-06/0.1133, allocations: 0 / 476.4 MB, free: 7.625 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.8e-05/0.1133, allocations: 16 kB / 476.4 MB, free: 7.609 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/0.1133, allocations: 4 kB / 476.4 MB, free: 7.605 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005433/0.1139, allocations: 344.8 kB / 476.7 MB, free: 7.27 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001527/0.1154, allocations: 1.105 MB / 477.8 MB, free: 6.09 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009095/0.1163, allocations: 0.5001 MB / 478.3 MB, free: 5.562 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003838/0.1167, allocations: 277 kB / 478.6 MB, free: 5.289 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001006/0.1177, allocations: 0.8626 MB / 479.5 MB, free: 4.363 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006195/0.1184, allocations: 496.5 kB / 480 MB, free: 3.836 MB / 350.1 MB Notification: Performance of pre-optimization done (n=40): time 1.803e-06/0.1184, allocations: 0 / 480 MB, free: 3.836 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.00332/0.1217, allocations: 1.401 MB / 481.4 MB, free: 2.375 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000124/0.1218, allocations: 247.6 kB / 481.6 MB, free: 2.078 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006913/0.1225, allocations: 0.6786 MB / 482.3 MB, free: 1.387 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.176e-05/0.1226, allocations: 41.69 kB / 482.3 MB, free: 1.34 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001894/0.1228, allocations: 256.6 kB / 482.6 MB, free: 1.086 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.582e-05/0.1229, allocations: 114.4 kB / 482.7 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001301/0.123, allocations: 97.98 kB / 482.8 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000154/0.1232, allocations: 378.8 kB / 483.1 MB, free: 500 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002685/0.1235, allocations: 196.9 kB / 483.3 MB, free: 304 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000362/0.1238, allocations: 307.2 kB / 483.6 MB, free: 15.96 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00336/0.1272, allocations: 1.387 MB / 485 MB, free: 14.48 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.1272, allocations: 7.875 kB / 485 MB, free: 14.48 MB / 366.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001708/0.1289, allocations: 0.9346 MB / 486 MB, free: 13.52 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.467e-05/0.129, allocations: 75.33 kB / 486 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.293e-06/0.129, allocations: 4 kB / 486 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001448/0.1305, allocations: 347.3 kB / 486.4 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002309/0.1307, allocations: 63.91 kB / 486.4 MB, free: 13.01 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002019/0.1327, allocations: 2.264 MB / 488.7 MB, free: 10.58 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004537/0.1332, allocations: 83.62 kB / 488.8 MB, free: 10.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.775e-05/0.1333, allocations: 16 kB / 488.8 MB, free: 10.48 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: 11 * Number of states: 0 () * Number of discrete variables: 20 ($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,voltage.nextEventScaled,voltage.nextEvent,$PRE.voltage.nextEvent,voltage.last,voltage.b,voltage.a,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 1 * 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.0003496/0.1336, allocations: 331 kB / 489.1 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.603e-05/0.1337, allocations: 63.25 kB / 489.2 MB, free: 10.08 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002188/0.1359, allocations: 1.177 MB / 490.4 MB, free: 8.875 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.1359, allocations: 4 kB / 490.4 MB, free: 8.871 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-06/0.1359, allocations: 3.984 kB / 490.4 MB, free: 8.867 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.1359, allocations: 0 / 490.4 MB, free: 8.867 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004852/0.1364, allocations: 0.5517 MB / 490.9 MB, free: 8.266 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1364, allocations: 0 / 490.9 MB, free: 8.266 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001277/0.1366, allocations: 31.98 kB / 491 MB, free: 8.234 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001425/0.138, allocations: 406.1 kB / 491.4 MB, free: 7.828 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.246e-05/0.1381, allocations: 19.94 kB / 491.4 MB, free: 7.809 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002224/0.1403, allocations: 2.374 MB / 493.7 MB, free: 5.266 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.1403, allocations: 0 / 493.7 MB, free: 5.266 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002152/0.1425, allocations: 1.166 MB / 494.9 MB, free: 4.062 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000246/0.1427, allocations: 204.1 kB / 495.1 MB, free: 3.844 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.169e-05/0.1428, allocations: 23.98 kB / 495.1 MB, free: 3.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003929/0.1432, allocations: 63.88 kB / 495.2 MB, free: 3.758 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.882e-05/0.1433, allocations: 39.91 kB / 495.2 MB, free: 3.719 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.006e-05/0.1434, allocations: 19.98 kB / 495.3 MB, free: 3.699 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005227/0.1439, allocations: 498.8 kB / 495.7 MB, free: 3.215 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1439, allocations: 0 / 495.7 MB, free: 3.215 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004781/0.1444, allocations: 140 kB / 495.9 MB, free: 3.078 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: 16 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,voltage.a,voltage.b,voltage.last,voltage.nextEvent,voltage.nextEventScaled,varTra.tapChanger.tap,varTra.tapChanger.abnormalUTime,varTra.tapChanger.normalU,varTra.tapChanger.decreaseEvent,varTra.tapChanger.increaseEvent,varTra.tapChanger.furtherTapChangeTimeout) * Number of discrete states: 16 (voltage.nextEvent,voltage.last,voltage.nextEventScaled,voltage.b,voltage.a,$whenCondition1,varTra.tapChanger.tap,varTra.tapChanger.furtherTapChangeTimeout,$whenCondition5,$whenCondition4,varTra.tapChanger.abnormalUTime,$whenCondition3,$whenCondition2,varTra.tapChanger.decreaseEvent,varTra.tapChanger.increaseEvent,varTra.tapChanger.normalU) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 1 * 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.000268/0.1447, allocations: 175 kB / 496.1 MB, free: 2.898 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001377/0.1461, allocations: 0.8775 MB / 496.9 MB, free: 1.984 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1461, allocations: 4.062 kB / 496.9 MB, free: 1.98 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009391/0.147, allocations: 0.7122 MB / 497.6 MB, free: 1.23 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003152/0.1474, allocations: 54.98 kB / 497.7 MB, free: 1.176 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001423/0.1488, allocations: 1.068 MB / 498.8 MB, free: 88 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000436/0.1492, allocations: 0.8834 MB / 499.7 MB, free: 15.18 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001364/0.1494, allocations: 59.25 kB / 499.7 MB, free: 15.11 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.545e-05/0.1495, allocations: 27.44 kB / 499.7 MB, free: 15.09 MB / 382.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1495, allocations: 0 / 499.7 MB, free: 15.09 MB / 382.1 MB Notification: Performance of Templates: time 0.01344/0.1629, allocations: 8.432 MB / 0.4963 GB, free: 6.695 MB / 382.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1.makefile (rm -f PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1.sim & ./PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1.pipe 2>&1)