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.001565/0.001565, allocations: 176.8 kB / 8.044 MB, free: 1.016 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.601/1.601, allocations: 221.5 MB / 230 MB, free: 3.184 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001065/0.001065, allocations: 100.8 kB / 280.9 MB, free: 1.145 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.07724/0.07724, allocations: 8.107 MB / 339.8 MB, free: 6.211 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.446e-05/1.464e-05, allocations: 4 kB / 398.5 MB, free: 67.64 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09158/0.0916, allocations: 52.52 MB / 451 MB, free: 15.12 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3608/0.4524, allocations: 80.02 MB / 0.5186 GB, free: 13.95 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000215/0.4527, allocations: 66.72 kB / 0.5186 GB, free: 13.91 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02308/0.4758, allocations: 8.833 MB / 0.5273 GB, free: 6.91 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.784e-06/0.4758, allocations: 0 / 0.5273 GB, free: 6.91 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.422e-05/0.4759, allocations: 11.94 kB / 0.5273 GB, free: 6.898 MB / 346.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.002127/0.478, allocations: 0.7303 MB / 0.528 GB, free: 6.164 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.923e-05/0.4781, allocations: 11.98 kB / 0.528 GB, free: 6.152 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001079/0.4782, allocations: 35.62 kB / 0.528 GB, free: 6.117 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000519/0.4787, allocations: 293.2 kB / 0.5283 GB, free: 5.832 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.653e-05/0.4787, allocations: 8 kB / 0.5283 GB, free: 5.824 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.23e-05/0.4788, allocations: 12 kB / 0.5283 GB, free: 5.812 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004105/0.4793, allocations: 236.9 kB / 0.5285 GB, free: 5.676 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004615/0.4797, allocations: 296.1 kB / 0.5288 GB, free: 5.469 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.4797, allocations: 0 / 0.5288 GB, free: 5.469 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.893e-05/0.4798, allocations: 4 kB / 0.5288 GB, free: 5.465 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.4798, allocations: 4 kB / 0.5288 GB, free: 5.461 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001713/0.4815, allocations: 1.127 MB / 0.5299 GB, free: 4.48 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006593/0.4822, allocations: 335.6 kB / 0.5303 GB, free: 4.285 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002031/0.4824, allocations: 165.8 kB / 0.5304 GB, free: 4.199 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.71e-05/0.4825, allocations: 4 kB / 0.5304 GB, free: 4.195 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004492/0.4829, allocations: 354.2 kB / 0.5308 GB, free: 3.883 MB / 346.7 MB Notification: Performance of pre-optimization done (n=34): time 1.803e-06/0.4829, allocations: 0.75 kB / 0.5308 GB, free: 3.883 MB / 346.7 MB Notification: Performance of matching and sorting (n=34): time 0.00137/0.4843, allocations: 0.5516 MB / 0.5313 GB, free: 3.504 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001254/0.4845, allocations: 221.7 kB / 0.5315 GB, free: 3.242 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002351/0.4847, allocations: 216.7 kB / 0.5317 GB, free: 3.059 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.583e-05/0.4847, allocations: 37.45 kB / 0.5318 GB, free: 3.02 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.476e-05/0.4848, allocations: 147.1 kB / 0.5319 GB, free: 2.898 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.338e-05/0.4849, allocations: 98.12 kB / 0.532 GB, free: 2.812 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.633e-05/0.485, allocations: 0 / 0.532 GB, free: 2.812 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001287/0.4851, allocations: 346.4 kB / 0.5323 GB, free: 2.477 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001631/0.4853, allocations: 108.7 kB / 0.5324 GB, free: 2.422 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002122/0.4855, allocations: 189.4 kB / 0.5326 GB, free: 2.266 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003605/0.4858, allocations: 127.2 kB / 0.5327 GB, free: 2.191 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.4859, allocations: 4.031 kB / 0.5327 GB, free: 2.188 MB / 346.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001453/0.4873, allocations: 0.5488 MB / 0.5333 GB, free: 1.77 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.598e-05/0.4874, allocations: 46.72 kB / 0.5333 GB, free: 1.723 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.4874, allocations: 0 / 0.5333 GB, free: 1.723 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001422/0.4888, allocations: 341.7 kB / 0.5336 GB, free: 1.426 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000232/0.4891, allocations: 54.34 kB / 0.5337 GB, free: 1.375 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002178/0.4913, allocations: 2.089 MB / 0.5357 GB, free: 15.34 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000429/0.4917, allocations: 67.89 kB / 0.5358 GB, free: 15.28 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.145e-05/0.4918, allocations: 10.31 kB / 0.5358 GB, free: 15.27 MB / 362.7 MB Warning: Assuming fixed start value for the following 4 variables: varTra.tapChanger.furtherTapChangeTimeout:DISCRETE(start = varTra.tapChanger.nextTapChangeTimeout unit = "s" fixed = false protected = true ) "Time lag between the first change and the following tap" type: Real varTra.tapChanger.abnormalUTime:DISCRETE(unit = "s" fixed = false protected = true ) "Time when the signal U went out its normal range" type: Real varTra.tapChanger.tap:DISCRETE(start = varTra.tapChanger.startTap fixed = false ) "Current tap position" type: Integer slackBusRamp.U:VARIABLE(start = slackBusRamp.UNom unit = "V" ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$PRE.varTra.tapChanger.tap,varTra.tapChanger.tap,$PRE.varTra.tapChanger.abnormalUTime,varTra.tapChanger.abnormalUTime,varTra.tapChanger.normalU,varTra.tapChanger.decreaseEvent,varTra.tapChanger.increaseEvent,$PRE.varTra.tapChanger.furtherTapChangeTimeout,varTra.tapChanger.furtherTapChangeTimeout) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {2 4} Notification: Performance of prepare postOptimizeDAE: time 0.0003128/0.4921, allocations: 177.2 kB / 0.536 GB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.83e-05/0.4922, allocations: 39.58 kB / 0.536 GB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001674/0.4939, allocations: 0.7175 MB / 0.5367 GB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.582e-06/0.4939, allocations: 4 kB / 0.5367 GB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.4939, allocations: 0 / 0.5367 GB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.4939, allocations: 3.984 kB / 0.5367 GB, free: 14.6 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004614/0.4944, allocations: 428.8 kB / 0.5371 GB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.4944, allocations: 4 kB / 0.5371 GB, free: 14.24 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001904/0.4946, allocations: 39.11 kB / 0.5372 GB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001358/0.496, allocations: 373.7 kB / 0.5375 GB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.38e-05/0.496, allocations: 7.984 kB / 0.5375 GB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002119/0.4981, allocations: 2.156 MB / 0.5396 GB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.079e-06/0.4982, allocations: 3.953 kB / 0.5396 GB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00169/0.4999, allocations: 0.9126 MB / 0.5405 GB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002079/0.5001, allocations: 160.1 kB / 0.5407 GB, free: 11.08 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.319e-05/0.5002, allocations: 18.25 kB / 0.5407 GB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003835/0.5005, allocations: 56.02 kB / 0.5408 GB, free: 11.01 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001217/0.5007, allocations: 45.42 kB / 0.5408 GB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.402e-05/0.5007, allocations: 14.92 kB / 0.5408 GB, free: 10.96 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001813/0.5009, allocations: 179.6 kB / 0.541 GB, free: 10.82 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5009, allocations: 0 / 0.541 GB, free: 10.82 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004169/0.5013, allocations: 87.16 kB / 0.5411 GB, free: 10.74 MB / 362.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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {2 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002696/0.5016, allocations: 141.8 kB / 0.5412 GB, free: 10.6 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001154/0.5028, allocations: 0.5622 MB / 0.5417 GB, free: 10.19 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.5028, allocations: 3.938 kB / 0.5418 GB, free: 10.18 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007604/0.5036, allocations: 0.5272 MB / 0.5423 GB, free: 9.832 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001986/0.5038, allocations: 19.44 kB / 0.5423 GB, free: 9.824 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007521/0.5045, allocations: 410.7 kB / 0.5427 GB, free: 9.461 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003283/0.5049, allocations: 0.7687 MB / 0.5434 GB, free: 8.668 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000153/0.505, allocations: 34.05 kB / 0.5435 GB, free: 8.637 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.674e-05/0.5051, allocations: 27.42 kB / 0.5435 GB, free: 8.609 MB / 362.7 MB Notification: Performance of SimCode: time 2.2e-07/0.5051, allocations: 0 / 0.5435 GB, free: 8.609 MB / 362.7 MB Notification: Performance of Templates: time 0.009282/0.5144, allocations: 5.104 MB / 0.5485 GB, free: 3.566 MB / 362.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)