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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001175/0.001175, allocations: 186.9 kB / 16.68 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.456/1.456, allocations: 222.9 MB / 240.3 MB, free: 10.99 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001429/0.001428, allocations: 101.2 kB / 290.6 MB, free: 10.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05212/0.05212, allocations: 8.086 MB / 348.8 MB, free: 0.6836 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001043/0.001043, allocations: 46.42 kB / 411.1 MB, free: 57.59 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1002/0.1013, allocations: 51.53 MB / 462.6 MB, free: 6.055 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableTransformers.VariableTransformer2): time 0.002961/0.1043, allocations: 1.862 MB / 464.5 MB, free: 4.184 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001991/0.1063, allocations: 1.723 MB / 466.2 MB, free: 2.445 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.024e-05/0.1064, allocations: 4 kB / 466.2 MB, free: 2.441 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003896/0.1068, allocations: 127.5 kB / 466.3 MB, free: 2.316 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002996/0.1072, allocations: 119.2 kB / 466.4 MB, free: 2.199 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001491/0.1087, allocations: 0.9175 MB / 467.4 MB, free: 1.281 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003365/0.109, allocations: 330.7 kB / 467.7 MB, free: 0.957 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001456/0.1092, allocations: 56.66 kB / 467.7 MB, free: 0.8984 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001074/0.1093, allocations: 127.5 kB / 467.9 MB, free: 0.7734 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001483/0.1094, allocations: 147.4 kB / 468 MB, free: 0.6289 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.997e-05/0.1095, allocations: 16 kB / 468 MB, free: 0.6133 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003656/0.1098, allocations: 227.8 kB / 468.2 MB, free: 400 kB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.402e-05/0.1099, allocations: 47.77 kB / 468.3 MB, free: 352 kB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001479/0.1101, allocations: 139.2 kB / 468.4 MB, free: 212 kB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005322/0.1106, allocations: 490.8 kB / 468.9 MB, free: 15.73 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.1106, allocations: 0 / 468.9 MB, free: 15.73 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1106, allocations: 3.938 kB / 468.9 MB, free: 15.72 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.524e-06/0.1106, allocations: 0 / 468.9 MB, free: 15.72 MB / 314.7 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.003668/0.1143, allocations: 1.058 MB / 470 MB, free: 14.61 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.879e-05/0.1144, allocations: 12.02 kB / 470 MB, free: 14.6 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001158/0.1145, allocations: 36.66 kB / 470 MB, free: 14.56 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000454/0.115, allocations: 286.7 kB / 470.3 MB, free: 14.24 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.903e-05/0.115, allocations: 16.38 kB / 470.3 MB, free: 14.22 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.79e-05/0.1151, allocations: 24.56 kB / 470.3 MB, free: 14.2 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006914/0.1158, allocations: 335.2 kB / 470.7 MB, free: 13.86 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.476e-05/0.1158, allocations: 3.984 kB / 470.7 MB, free: 13.86 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.922e-05/0.1159, allocations: 12 kB / 470.7 MB, free: 13.84 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.929e-06/0.1159, allocations: 11.92 kB / 470.7 MB, free: 13.83 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005562/0.1165, allocations: 267.8 kB / 471 MB, free: 13.57 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001719/0.1182, allocations: 0.9244 MB / 471.9 MB, free: 12.57 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009058/0.1191, allocations: 450.4 kB / 472.3 MB, free: 12.11 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003509/0.1195, allocations: 197 kB / 472.5 MB, free: 11.91 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009125/0.1204, allocations: 0.8152 MB / 473.3 MB, free: 11.03 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000603/0.121, allocations: 383.6 kB / 473.7 MB, free: 10.62 MB / 314.7 MB Notification: Performance of pre-optimization done (n=33): time 2.705e-06/0.121, allocations: 0 / 473.7 MB, free: 10.62 MB / 314.7 MB Notification: Performance of matching and sorting (n=33): time 0.002783/0.1238, allocations: 1.032 MB / 474.7 MB, free: 9.531 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001104/0.1239, allocations: 221.6 kB / 475 MB, free: 9.266 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000252/0.1242, allocations: 258.5 kB / 475.2 MB, free: 9.004 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.762e-05/0.1243, allocations: 41.64 kB / 475.2 MB, free: 8.957 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001066/0.1244, allocations: 148.7 kB / 475.4 MB, free: 8.809 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.163e-05/0.1245, allocations: 98.55 kB / 475.5 MB, free: 8.711 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000127/0.1246, allocations: 85.67 kB / 475.6 MB, free: 8.621 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001326/0.1247, allocations: 338.8 kB / 475.9 MB, free: 8.281 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002252/0.125, allocations: 136.4 kB / 476 MB, free: 8.148 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002884/0.1253, allocations: 238.5 kB / 476.3 MB, free: 7.875 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003107/0.1284, allocations: 1.017 MB / 477.3 MB, free: 6.797 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/0.1284, allocations: 8 kB / 477.3 MB, free: 6.789 MB / 314.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001057/0.1295, allocations: 0.5898 MB / 477.9 MB, free: 6.18 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.892e-05/0.1295, allocations: 40.7 kB / 477.9 MB, free: 6.137 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-06/0.1295, allocations: 11.94 kB / 477.9 MB, free: 6.125 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001458/0.131, allocations: 359.1 kB / 478.3 MB, free: 5.762 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002515/0.1313, allocations: 63.91 kB / 478.3 MB, free: 5.699 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001987/0.1333, allocations: 2.154 MB / 480.5 MB, free: 3.383 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004391/0.1337, allocations: 79.7 kB / 480.6 MB, free: 3.305 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.672e-05/0.1338, allocations: 16 kB / 480.6 MB, free: 3.289 MB / 314.7 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.0003583/0.1341, allocations: 221.2 kB / 480.8 MB, free: 3.059 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.684e-05/0.1342, allocations: 31.72 kB / 480.8 MB, free: 3.027 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00176/0.136, allocations: 0.8258 MB / 481.7 MB, free: 2.18 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.624e-06/0.136, allocations: 7.984 kB / 481.7 MB, free: 2.172 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.136, allocations: 0 / 481.7 MB, free: 2.172 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.136, allocations: 3.984 kB / 481.7 MB, free: 2.168 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004324/0.1364, allocations: 441.1 kB / 482.1 MB, free: 1.688 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.1365, allocations: 3.938 kB / 482.1 MB, free: 1.684 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001692/0.1366, allocations: 35.91 kB / 482.1 MB, free: 1.648 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001512/0.1382, allocations: 415.1 kB / 482.6 MB, free: 1.23 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.639e-05/0.1382, allocations: 11.98 kB / 482.6 MB, free: 1.219 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2112/0.3494, allocations: 2.256 MB / 484.8 MB, free: 27.54 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.3495, allocations: 1.188 kB / 484.8 MB, free: 27.54 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00354/0.353, allocations: 2.189 MB / 487 MB, free: 26.21 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001555/0.3532, allocations: 155.4 kB / 487.2 MB, free: 26.09 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.936e-05/0.3532, allocations: 21.61 kB / 487.2 MB, free: 26.08 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003992/0.3537, allocations: 56.8 kB / 487.2 MB, free: 26.07 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001302/0.3538, allocations: 32.47 kB / 487.3 MB, free: 26.07 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.486e-05/0.3538, allocations: 16.36 kB / 487.3 MB, free: 26.06 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000209/0.3541, allocations: 188.2 kB / 487.5 MB, free: 25.95 MB / 314.7 MB Notification: Performance of sort global known variables: time 2e-07/0.3541, allocations: 0 / 487.5 MB, free: 25.95 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005325/0.3546, allocations: 109.3 kB / 487.6 MB, free: 25.94 MB / 314.7 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.0002357/0.3548, allocations: 150.4 kB / 487.7 MB, free: 25.84 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001243/0.3561, allocations: 0.6362 MB / 488.4 MB, free: 25.48 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.3561, allocations: 1.719 kB / 488.4 MB, free: 25.48 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000818/0.3569, allocations: 0.5519 MB / 488.9 MB, free: 25.11 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000254/0.3572, allocations: 39.66 kB / 489 MB, free: 25.09 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001166/0.3584, allocations: 0.9333 MB / 489.9 MB, free: 24.5 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002226/0.3586, allocations: 0.7717 MB / 490.7 MB, free: 23.8 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001284/0.3587, allocations: 32.69 kB / 490.7 MB, free: 23.79 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.138e-05/0.3588, allocations: 25.19 kB / 490.7 MB, free: 23.78 MB / 314.7 MB Notification: Performance of SimCode: time 2.5e-07/0.3588, allocations: 0 / 490.7 MB, free: 23.78 MB / 314.7 MB Notification: Performance of Templates: time 0.01156/0.3704, allocations: 6.084 MB / 496.8 MB, free: 22.82 MB / 314.7 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)