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-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.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.001608/0.001608, allocations: 113.2 kB / 17.13 MB, free: 5.945 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.00164/0.00164, allocations: 199 kB / 18.06 MB, free: 5.031 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.445/1.445, allocations: 222.9 MB / 241.8 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04522/0.04522, allocations: 8.101 MB / 300 MB, free: 6.633 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001173/0.001173, allocations: 63.91 kB / 415.2 MB, free: 21.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08576/0.08694, allocations: 51.52 MB / 466.7 MB, free: 2.156 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableTransformers.VariableTransformer2): time 0.002699/0.08968, allocations: 1.825 MB / 468.5 MB, free: 328 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002055/0.09175, allocations: 1.696 MB / 470.2 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.771e-05/0.09185, allocations: 4 kB / 470.2 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003558/0.09222, allocations: 143.3 kB / 470.3 MB, free: 14.46 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003225/0.09256, allocations: 143.1 kB / 470.5 MB, free: 14.32 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001562/0.09413, allocations: 0.9489 MB / 471.4 MB, free: 13.38 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004128/0.09455, allocations: 366.6 kB / 471.8 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001436/0.0947, allocations: 68.62 kB / 471.9 MB, free: 12.95 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000128/0.09484, allocations: 139.5 kB / 472 MB, free: 12.81 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002002/0.09505, allocations: 163.3 kB / 472.2 MB, free: 12.65 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.977e-05/0.09511, allocations: 28 kB / 472.2 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003866/0.0955, allocations: 239.8 kB / 472.4 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.312e-05/0.09556, allocations: 59.7 kB / 472.5 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001482/0.09571, allocations: 159.2 kB / 472.6 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005211/0.09624, allocations: 494.7 kB / 473.1 MB, free: 11.69 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.279e-06/0.09626, allocations: 4 kB / 473.1 MB, free: 11.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.09627, allocations: 0 / 473.1 MB, free: 11.68 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.5e-06/0.09628, allocations: 0 / 473.1 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.003571/0.09985, allocations: 1.054 MB / 474.2 MB, free: 10.57 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.423e-05/0.0999, allocations: 11.89 kB / 474.2 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.094e-05/0.1, allocations: 40.55 kB / 474.2 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003244/0.1003, allocations: 294.7 kB / 474.5 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.981e-05/0.1004, allocations: 12.38 kB / 474.5 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.501e-05/0.1005, allocations: 24.56 kB / 474.5 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006325/0.1011, allocations: 343 kB / 474.9 MB, free: 9.812 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.1011, allocations: 0 / 474.9 MB, free: 9.812 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.14e-05/0.1012, allocations: 8 kB / 474.9 MB, free: 9.805 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.1012, allocations: 4 kB / 474.9 MB, free: 9.801 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005154/0.1017, allocations: 267.8 kB / 475.1 MB, free: 9.539 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001318/0.103, allocations: 0.9244 MB / 476.1 MB, free: 8.539 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008482/0.1039, allocations: 447.1 kB / 476.5 MB, free: 8.074 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003561/0.1042, allocations: 204.8 kB / 476.7 MB, free: 7.871 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009059/0.1052, allocations: 0.819 MB / 477.5 MB, free: 6.988 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005938/0.1058, allocations: 382.7 kB / 477.9 MB, free: 6.574 MB / 350.1 MB Notification: Performance of pre-optimization done (n=33): time 1.723e-06/0.1058, allocations: 0 / 477.9 MB, free: 6.574 MB / 350.1 MB Notification: Performance of matching and sorting (n=33): time 0.002785/0.1086, allocations: 1.017 MB / 478.9 MB, free: 5.504 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001009/0.1087, allocations: 221.6 kB / 479.1 MB, free: 5.238 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002507/0.1089, allocations: 266.5 kB / 479.4 MB, free: 4.969 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.494e-05/0.109, allocations: 37.7 kB / 479.4 MB, free: 4.926 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.887e-05/0.1091, allocations: 140.7 kB / 479.6 MB, free: 4.785 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.31e-05/0.1092, allocations: 106.5 kB / 479.7 MB, free: 4.68 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001208/0.1093, allocations: 77.67 kB / 479.8 MB, free: 4.598 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001126/0.1094, allocations: 338.8 kB / 480.1 MB, free: 4.258 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002403/0.1097, allocations: 132.4 kB / 480.2 MB, free: 4.129 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002971/0.11, allocations: 246.5 kB / 480.5 MB, free: 3.848 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003061/0.113, allocations: 1.033 MB / 481.5 MB, free: 2.754 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.1131, allocations: 3.938 kB / 481.5 MB, free: 2.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001052/0.1141, allocations: 0.5975 MB / 482.1 MB, free: 2.133 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.904e-05/0.1142, allocations: 41.69 kB / 482.1 MB, free: 2.086 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.305e-06/0.1142, allocations: 3.984 kB / 482.1 MB, free: 2.082 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001398/0.1156, allocations: 355.5 kB / 482.5 MB, free: 1.723 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002613/0.1159, allocations: 67.91 kB / 482.5 MB, free: 1.656 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001947/0.1178, allocations: 2.264 MB / 484.8 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004231/0.1183, allocations: 75.78 kB / 484.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.622e-05/0.1183, allocations: 20 kB / 484.9 MB, free: 15.12 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.0002846/0.1186, allocations: 209.9 kB / 485.1 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.296e-05/0.1187, allocations: 35.56 kB / 485.1 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001742/0.1204, allocations: 0.8236 MB / 486 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.1204, allocations: 4 kB / 486 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.1205, allocations: 3.938 kB / 486 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.1205, allocations: 3.938 kB / 486 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004083/0.1209, allocations: 437.1 kB / 486.4 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.1209, allocations: 0 / 486.4 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001698/0.1211, allocations: 31.98 kB / 486.4 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001462/0.1225, allocations: 410.4 kB / 486.8 MB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.323e-05/0.1226, allocations: 12 kB / 486.8 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002254/0.1248, allocations: 2.38 MB / 489.2 MB, free: 10.54 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.1249, allocations: 3.938 kB / 489.2 MB, free: 10.54 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002031/0.1269, allocations: 1.047 MB / 490.3 MB, free: 9.461 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001648/0.1271, allocations: 148.7 kB / 490.4 MB, free: 9.297 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.521e-05/0.1272, allocations: 20.06 kB / 490.4 MB, free: 9.277 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000374/0.1275, allocations: 51.94 kB / 490.5 MB, free: 9.227 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001093/0.1277, allocations: 31.95 kB / 490.5 MB, free: 9.195 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.698e-05/0.1277, allocations: 23.92 kB / 490.5 MB, free: 9.172 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001933/0.1279, allocations: 186 kB / 490.7 MB, free: 8.988 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1279, allocations: 4 kB / 490.7 MB, free: 8.984 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004308/0.1283, allocations: 99.98 kB / 490.8 MB, free: 8.887 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.0002342/0.1286, allocations: 147.1 kB / 491 MB, free: 8.73 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001306/0.1299, allocations: 0.6311 MB / 491.6 MB, free: 8.074 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.1299, allocations: 0 / 491.6 MB, free: 8.074 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008552/0.1308, allocations: 0.5494 MB / 492.2 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.0002526/0.131, allocations: 48.23 kB / 492.2 MB, free: 7.453 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001102/0.1322, allocations: 0.6436 MB / 492.8 MB, free: 6.781 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002895/0.1325, allocations: 0.7644 MB / 493.6 MB, free: 5.988 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.524e-05/0.1325, allocations: 23.44 kB / 493.6 MB, free: 5.965 MB / 366.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1325, allocations: 0 / 493.6 MB, free: 5.965 MB / 366.1 MB Notification: Performance of Templates: time 0.008286/0.1408, allocations: 6.195 MB / 499.8 MB, free: 15.77 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)