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.001447/0.001447, allocations: 109.5 kB / 16.57 MB, free: 6.723 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.001544/0.001544, allocations: 193.9 kB / 17.48 MB, free: 6.027 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.363/1.363, allocations: 222.9 MB / 241.2 MB, free: 15.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04986/0.04986, allocations: 8.101 MB / 299.4 MB, free: 6.973 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001201, allocations: 63.91 kB / 361.7 MB, free: 8.641 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2349/0.2361, allocations: 51.52 MB / 413.2 MB, free: 25.86 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableTransformers.VariableTransformer2): time 0.002536/0.2387, allocations: 1.868 MB / 415.1 MB, free: 23.98 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001808/0.2405, allocations: 1.711 MB / 416.8 MB, free: 22.26 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.626e-05/0.2406, allocations: 4 kB / 416.8 MB, free: 22.25 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003681/0.241, allocations: 127.5 kB / 416.9 MB, free: 22.13 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002913/0.2413, allocations: 119.3 kB / 417 MB, free: 22.01 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001338/0.2426, allocations: 0.9261 MB / 418 MB, free: 21.09 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002734/0.2429, allocations: 318.6 kB / 418.3 MB, free: 20.77 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001329/0.2431, allocations: 56.7 kB / 418.3 MB, free: 20.71 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.85e-05/0.2432, allocations: 123.5 kB / 418.4 MB, free: 20.59 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001371/0.2433, allocations: 151.3 kB / 418.6 MB, free: 20.45 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.102e-05/0.2434, allocations: 20 kB / 418.6 MB, free: 20.43 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000319/0.2437, allocations: 219.8 kB / 418.8 MB, free: 20.21 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.24e-05/0.2437, allocations: 55.7 kB / 418.9 MB, free: 20.16 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001266/0.2439, allocations: 139.2 kB / 419 MB, free: 20.02 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002962/0.2442, allocations: 361.1 kB / 419.4 MB, free: 19.67 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.2442, allocations: 0 / 419.4 MB, free: 19.67 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.2442, allocations: 0 / 419.4 MB, free: 19.67 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.661e-06/0.2442, allocations: 0 / 419.4 MB, free: 19.67 MB / 302.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.003352/0.2476, allocations: 1.064 MB / 420.4 MB, free: 18.55 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.2476, allocations: 11.97 kB / 420.4 MB, free: 18.54 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.614e-05/0.2477, allocations: 36.56 kB / 420.5 MB, free: 18.5 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002778/0.248, allocations: 290.8 kB / 420.8 MB, free: 18.18 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.458e-05/0.248, allocations: 20.38 kB / 420.8 MB, free: 18.16 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.052e-05/0.2481, allocations: 20.56 kB / 420.8 MB, free: 18.14 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00057/0.2487, allocations: 339.1 kB / 421.1 MB, free: 17.8 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.2487, allocations: 0 / 421.1 MB, free: 17.8 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.532e-05/0.2488, allocations: 8 kB / 421.1 MB, free: 17.79 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.2488, allocations: 11.98 kB / 421.2 MB, free: 17.78 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004641/0.2493, allocations: 267.8 kB / 421.4 MB, free: 17.52 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001201/0.2505, allocations: 0.9321 MB / 422.3 MB, free: 16.51 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007709/0.2513, allocations: 439.4 kB / 422.8 MB, free: 16.05 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002987/0.2516, allocations: 196.8 kB / 423 MB, free: 15.86 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007562/0.2523, allocations: 0.8192 MB / 423.8 MB, free: 14.97 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005512/0.2529, allocations: 382.8 kB / 424.2 MB, free: 14.56 MB / 302.1 MB Notification: Performance of pre-optimization done (n=33): time 1.844e-06/0.2529, allocations: 0 / 424.2 MB, free: 14.56 MB / 302.1 MB Notification: Performance of matching and sorting (n=33): time 0.002652/0.2556, allocations: 1.029 MB / 425.2 MB, free: 13.48 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.805e-05/0.2557, allocations: 217.6 kB / 425.4 MB, free: 13.21 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002131/0.2559, allocations: 262.5 kB / 425.7 MB, free: 12.95 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.144e-05/0.2559, allocations: 33.7 kB / 425.7 MB, free: 12.91 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.741e-05/0.256, allocations: 148.7 kB / 425.8 MB, free: 12.76 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.09e-05/0.2561, allocations: 98.55 kB / 425.9 MB, free: 12.66 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001097/0.2562, allocations: 81.69 kB / 426 MB, free: 12.58 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.367e-05/0.2562, allocations: 338.8 kB / 426.3 MB, free: 12.24 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002093/0.2565, allocations: 136.4 kB / 426.5 MB, free: 12.1 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002412/0.2567, allocations: 250.4 kB / 426.7 MB, free: 11.82 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002965/0.2597, allocations: 1.009 MB / 427.7 MB, free: 10.75 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.2597, allocations: 4 kB / 427.7 MB, free: 10.74 MB / 302.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009504/0.2607, allocations: 0.5975 MB / 428.3 MB, free: 10.12 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.182e-05/0.2607, allocations: 37.69 kB / 428.4 MB, free: 10.08 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.2607, allocations: 4.344 kB / 428.4 MB, free: 10.08 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001401/0.2621, allocations: 359.1 kB / 428.7 MB, free: 9.715 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002498/0.2624, allocations: 67.89 kB / 428.8 MB, free: 9.648 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001527/0.2639, allocations: 2.166 MB / 431 MB, free: 7.32 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004106/0.2643, allocations: 75.78 kB / 431 MB, free: 7.246 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.264e-05/0.2644, allocations: 16.06 kB / 431 MB, free: 7.23 MB / 302.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.0002578/0.2647, allocations: 216.5 kB / 431.3 MB, free: 7.004 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.676e-05/0.2647, allocations: 31.72 kB / 431.3 MB, free: 6.973 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001551/0.2663, allocations: 0.8274 MB / 432.1 MB, free: 6.121 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.2663, allocations: 4 kB / 432.1 MB, free: 6.117 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.2663, allocations: 0 / 432.1 MB, free: 6.117 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.2663, allocations: 7.922 kB / 432.1 MB, free: 6.109 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003132/0.2666, allocations: 433.1 kB / 432.6 MB, free: 5.637 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.2666, allocations: 0 / 432.6 MB, free: 5.637 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001626/0.2668, allocations: 31.92 kB / 432.6 MB, free: 5.605 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001437/0.2683, allocations: 425.6 kB / 433 MB, free: 5.18 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.147e-05/0.2683, allocations: 11.98 kB / 433 MB, free: 5.168 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001731/0.27, allocations: 2.263 MB / 435.3 MB, free: 2.738 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.27, allocations: 0 / 435.3 MB, free: 2.738 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00182/0.2719, allocations: 1.046 MB / 436.3 MB, free: 1.66 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001254/0.272, allocations: 148.7 kB / 436.5 MB, free: 1.496 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.882e-05/0.2721, allocations: 20 kB / 436.5 MB, free: 1.477 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003581/0.2725, allocations: 59.94 kB / 436.5 MB, free: 1.418 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001008/0.2726, allocations: 39.89 kB / 436.6 MB, free: 1.379 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.069e-05/0.2726, allocations: 15.98 kB / 436.6 MB, free: 1.363 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001425/0.2728, allocations: 190 kB / 436.8 MB, free: 1.184 MB / 302.1 MB Notification: Performance of sort global known variables: time 4.3e-07/0.2728, allocations: 0 / 436.8 MB, free: 1.184 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003999/0.2732, allocations: 100 kB / 436.9 MB, free: 1.086 MB / 302.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.0001959/0.2734, allocations: 145.6 kB / 437 MB, free: 0.9336 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001111/0.2745, allocations: 0.6506 MB / 437.7 MB, free: 264 kB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.2745, allocations: 0 / 437.7 MB, free: 264 kB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008485/0.2754, allocations: 0.5534 MB / 438.2 MB, free: 15.68 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002737/0.2756, allocations: 36.5 kB / 438.3 MB, free: 15.64 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001116/0.2768, allocations: 0.7229 MB / 439 MB, free: 14.89 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002822/0.2771, allocations: 0.7644 MB / 439.8 MB, free: 14.1 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.408e-05/0.2771, allocations: 23.44 kB / 439.8 MB, free: 14.08 MB / 318.1 MB Notification: Performance of SimCode: time 3.3e-07/0.2772, allocations: 0 / 439.8 MB, free: 14.08 MB / 318.1 MB Notification: Performance of Templates: time 0.008249/0.2854, allocations: 6.174 MB / 445.9 MB, free: 7.906 MB / 318.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)