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-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.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.001035/0.001035, allocations: 117.8 kB / 17.13 MB, free: 5.934 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.001/0.001, allocations: 194.2 kB / 18.06 MB, free: 5.02 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.277/1.277, allocations: 222.9 MB / 241.7 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04592/0.04592, allocations: 8.094 MB / 300 MB, free: 6.637 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001179/0.001179, allocations: 71.88 kB / 415.2 MB, free: 21.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08217/0.08336, allocations: 51.51 MB / 466.7 MB, free: 2.164 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableTransformers.VariableTransformer1): time 0.003393/0.08679, allocations: 2.661 MB / 469.3 MB, free: 15.48 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001941/0.08874, allocations: 1.363 MB / 470.7 MB, free: 14.11 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001011/0.08886, allocations: 4 kB / 470.7 MB, free: 14.11 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004827/0.08936, allocations: 259 kB / 471 MB, free: 13.86 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003993/0.08977, allocations: 258.8 kB / 471.2 MB, free: 13.6 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001751/0.09153, allocations: 1.027 MB / 472.2 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005037/0.09204, allocations: 474.4 kB / 472.7 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001534/0.09221, allocations: 72.64 kB / 472.8 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001908/0.0924, allocations: 203.3 kB / 473 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003408/0.09275, allocations: 311 kB / 473.3 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.047e-05/0.09282, allocations: 36 kB / 473.3 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000494/0.09332, allocations: 315.7 kB / 473.6 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001336/0.09347, allocations: 135.5 kB / 473.7 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002059/0.09368, allocations: 246.4 kB / 474 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007173/0.0944, allocations: 0.7167 MB / 474.7 MB, free: 10.09 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.09442, allocations: 7.938 kB / 474.7 MB, free: 10.09 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.09443, allocations: 0 / 474.7 MB, free: 10.09 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.102e-05/0.09444, allocations: 0 / 474.7 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.003948/0.0984, allocations: 1.362 MB / 476.1 MB, free: 8.66 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.09844, allocations: 11.89 kB / 476.1 MB, free: 8.648 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001207/0.09857, allocations: 64.19 kB / 476.1 MB, free: 8.586 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005497/0.09913, allocations: 467.8 kB / 476.6 MB, free: 8.086 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.44e-05/0.09916, allocations: 16.38 kB / 476.6 MB, free: 8.07 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.433e-05/0.09922, allocations: 28.38 kB / 476.6 MB, free: 8.043 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007258/0.09995, allocations: 410.1 kB / 477 MB, free: 7.629 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.09997, allocations: 0 / 477 MB, free: 7.629 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.005e-05/0.1, allocations: 8 kB / 477.1 MB, free: 7.621 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.044e-05/0.1, allocations: 11.92 kB / 477.1 MB, free: 7.609 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006452/0.1007, allocations: 348.8 kB / 477.4 MB, free: 7.27 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001575/0.1023, allocations: 1.101 MB / 478.5 MB, free: 6.094 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009271/0.1032, allocations: 0.5132 MB / 479 MB, free: 5.559 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003939/0.1036, allocations: 277 kB / 479.3 MB, free: 5.285 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009781/0.1046, allocations: 0.8665 MB / 480.2 MB, free: 4.355 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006122/0.1052, allocations: 484.6 kB / 480.6 MB, free: 3.84 MB / 350.1 MB Notification: Performance of pre-optimization done (n=40): time 1.714e-06/0.1052, allocations: 3.938 kB / 480.6 MB, free: 3.836 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.003372/0.1086, allocations: 1.397 MB / 482 MB, free: 2.379 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000115/0.1087, allocations: 247.6 kB / 482.3 MB, free: 2.082 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006919/0.1094, allocations: 0.6864 MB / 483 MB, free: 1.383 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.46e-05/0.1095, allocations: 37.7 kB / 483 MB, free: 1.34 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001753/0.1097, allocations: 256.6 kB / 483.2 MB, free: 1.086 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.387e-05/0.1098, allocations: 118.3 kB / 483.4 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000136/0.1099, allocations: 86.06 kB / 483.4 MB, free: 0.875 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001356/0.1101, allocations: 378.8 kB / 483.8 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002713/0.1103, allocations: 196.9 kB / 484 MB, free: 312 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003441/0.1107, allocations: 307.1 kB / 484.3 MB, free: 15.97 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003467/0.1142, allocations: 1.398 MB / 485.7 MB, free: 14.48 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.69e-06/0.1142, allocations: 3.938 kB / 485.7 MB, free: 14.48 MB / 366.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001749/0.116, allocations: 0.9346 MB / 486.6 MB, free: 13.52 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.433e-05/0.116, allocations: 75.52 kB / 486.7 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.094e-06/0.116, allocations: 4 kB / 486.7 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001464/0.1175, allocations: 351.1 kB / 487.1 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002408/0.1178, allocations: 67.89 kB / 487.1 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001957/0.1197, allocations: 2.264 MB / 489.4 MB, free: 10.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004663/0.1202, allocations: 79.53 kB / 489.5 MB, free: 10.49 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.442e-05/0.1203, allocations: 16 kB / 489.5 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.000365/0.1206, allocations: 332.4 kB / 489.8 MB, free: 10.13 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.574e-05/0.1207, allocations: 67.19 kB / 489.9 MB, free: 10.07 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002299/0.123, allocations: 1.165 MB / 491 MB, free: 8.875 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.157e-06/0.1231, allocations: 4 kB / 491 MB, free: 8.871 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.1231, allocations: 0 / 491 MB, free: 8.871 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.1231, allocations: 7.938 kB / 491.1 MB, free: 8.863 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005023/0.1236, allocations: 0.5556 MB / 491.6 MB, free: 8.258 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.1236, allocations: 0 / 491.6 MB, free: 8.258 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001404/0.1237, allocations: 31.98 kB / 491.6 MB, free: 8.227 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001538/0.1253, allocations: 397.7 kB / 492 MB, free: 7.828 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.862e-05/0.1253, allocations: 23.92 kB / 492.1 MB, free: 7.805 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002249/0.1276, allocations: 2.377 MB / 494.4 MB, free: 5.258 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.1276, allocations: 0 / 494.4 MB, free: 5.258 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002227/0.1298, allocations: 1.166 MB / 495.6 MB, free: 4.055 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002214/0.1301, allocations: 208.1 kB / 495.8 MB, free: 3.832 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.698e-05/0.1302, allocations: 20 kB / 495.8 MB, free: 3.812 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004184/0.1306, allocations: 63.88 kB / 495.9 MB, free: 3.75 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001029/0.1307, allocations: 39.94 kB / 495.9 MB, free: 3.711 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.179e-05/0.1308, allocations: 16 kB / 495.9 MB, free: 3.695 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005244/0.1313, allocations: 498.8 kB / 496.4 MB, free: 3.211 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1313, allocations: 0 / 496.4 MB, free: 3.211 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004626/0.1318, allocations: 140 kB / 496.6 MB, free: 3.074 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.0002686/0.1321, allocations: 171.1 kB / 496.7 MB, free: 2.898 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001433/0.1335, allocations: 0.8807 MB / 497.6 MB, free: 1.98 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.1335, allocations: 0 / 497.6 MB, free: 1.98 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001039/0.1346, allocations: 0.7044 MB / 498.3 MB, free: 1.238 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003531/0.1349, allocations: 59.55 kB / 498.4 MB, free: 1.18 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001573/0.1365, allocations: 1.117 MB / 499.5 MB, free: 32 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004119/0.1369, allocations: 0.8795 MB / 0.4886 GB, free: 15.12 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001079/0.1371, allocations: 39.42 kB / 0.4887 GB, free: 15.09 MB / 382.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1371, allocations: 0 / 0.4887 GB, free: 15.09 MB / 382.1 MB Notification: Performance of Templates: time 0.01312/0.1502, allocations: 10.02 MB / 0.4985 GB, free: 5.066 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)