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/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 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.0009736/0.0009736, allocations: 103.2 kB / 16.31 MB, free: 6.391 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.00123/0.00123, allocations: 188.5 kB / 17.24 MB, free: 5.922 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.546/1.546, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05187/0.05187, allocations: 8.098 MB / 299.2 MB, free: 6.656 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001441/0.001442, allocations: 67.89 kB / 361.7 MB, free: 8.062 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2789/0.2804, allocations: 51.52 MB / 413.3 MB, free: 25.58 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableTransformers.VariableTransformer1): time 0.005322/0.2858, allocations: 2.639 MB / 415.9 MB, free: 22.92 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003225/0.289, allocations: 1.359 MB / 417.3 MB, free: 21.56 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001932/0.2893, allocations: 7.938 kB / 417.3 MB, free: 21.55 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007682/0.2901, allocations: 263 kB / 417.5 MB, free: 21.29 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008084/0.2909, allocations: 258.8 kB / 417.8 MB, free: 21.04 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003246/0.2942, allocations: 1.015 MB / 418.8 MB, free: 20.02 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009105/0.2951, allocations: 462.5 kB / 419.2 MB, free: 19.57 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002529/0.2954, allocations: 84.62 kB / 419.3 MB, free: 19.48 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002652/0.2957, allocations: 199.4 kB / 419.5 MB, free: 19.29 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004191/0.2961, allocations: 303 kB / 419.8 MB, free: 18.99 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.003e-05/0.2962, allocations: 32 kB / 419.8 MB, free: 18.96 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007463/0.297, allocations: 319.7 kB / 420.2 MB, free: 18.64 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001737/0.2972, allocations: 147.4 kB / 420.3 MB, free: 18.5 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002705/0.2975, allocations: 246.5 kB / 420.5 MB, free: 18.26 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009724/0.2984, allocations: 0.7107 MB / 421.2 MB, free: 17.55 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.2985, allocations: 3.938 kB / 421.3 MB, free: 17.54 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.2985, allocations: 0 / 421.3 MB, free: 17.54 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.098e-05/0.2985, allocations: 0 / 421.3 MB, free: 17.54 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.006637/0.3052, allocations: 1.358 MB / 422.6 MB, free: 16.12 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.648e-05/0.3052, allocations: 8.031 kB / 422.6 MB, free: 16.11 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001882/0.3055, allocations: 72.19 kB / 422.7 MB, free: 16.04 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007755/0.3062, allocations: 471.8 kB / 423.1 MB, free: 15.54 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.81e-05/0.3063, allocations: 12.38 kB / 423.2 MB, free: 15.53 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.55e-05/0.3064, allocations: 28.31 kB / 423.2 MB, free: 15.5 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001005/0.3074, allocations: 410.1 kB / 423.6 MB, free: 15.09 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.463e-05/0.3074, allocations: 0 / 423.6 MB, free: 15.09 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.303e-05/0.3075, allocations: 8 kB / 423.6 MB, free: 15.08 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.033e-05/0.3076, allocations: 4 kB / 423.6 MB, free: 15.08 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009182/0.3085, allocations: 348 kB / 423.9 MB, free: 14.73 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00231/0.3108, allocations: 1.105 MB / 425 MB, free: 13.55 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001404/0.3122, allocations: 0.5111 MB / 425.6 MB, free: 13.02 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006245/0.3129, allocations: 284.9 kB / 425.8 MB, free: 12.74 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001413/0.3143, allocations: 0.8549 MB / 426.7 MB, free: 11.82 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009693/0.3153, allocations: 492.5 kB / 427.2 MB, free: 11.3 MB / 302.1 MB Notification: Performance of pre-optimization done (n=40): time 3.156e-06/0.3153, allocations: 0 / 427.2 MB, free: 11.3 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.005208/0.3205, allocations: 1.412 MB / 428.6 MB, free: 9.824 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.507e-05/0.3207, allocations: 247.6 kB / 428.8 MB, free: 9.527 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001045/0.3217, allocations: 0.6748 MB / 429.5 MB, free: 8.844 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.297e-05/0.3218, allocations: 41.69 kB / 429.5 MB, free: 8.797 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002251/0.322, allocations: 256.6 kB / 429.8 MB, free: 8.539 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001161/0.3222, allocations: 118.4 kB / 429.9 MB, free: 8.422 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001966/0.3224, allocations: 90.05 kB / 430 MB, free: 8.324 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001266/0.3225, allocations: 374.8 kB / 430.4 MB, free: 7.949 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004396/0.323, allocations: 200.9 kB / 430.6 MB, free: 7.754 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000534/0.3235, allocations: 307.2 kB / 430.9 MB, free: 7.418 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005459/0.329, allocations: 1.398 MB / 432.3 MB, free: 5.934 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.102e-06/0.329, allocations: 3.938 kB / 432.3 MB, free: 5.93 MB / 302.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.002685/0.3317, allocations: 0.9314 MB / 433.2 MB, free: 4.977 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.948e-05/0.3318, allocations: 71.33 kB / 433.3 MB, free: 4.895 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.302e-05/0.3319, allocations: 4 kB / 433.3 MB, free: 4.891 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002434/0.3343, allocations: 362.5 kB / 433.6 MB, free: 4.527 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004209/0.3347, allocations: 59.91 kB / 433.7 MB, free: 4.469 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002422/0.3372, allocations: 2.253 MB / 435.9 MB, free: 2.047 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008736/0.3381, allocations: 95.56 kB / 436 MB, free: 1.953 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.353e-05/0.3382, allocations: 24.05 kB / 436 MB, free: 1.93 MB / 302.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.0006734/0.3388, allocations: 329.7 kB / 436.4 MB, free: 1.59 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001587/0.339, allocations: 67.25 kB / 436.4 MB, free: 1.523 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00354/0.3426, allocations: 1.167 MB / 437.6 MB, free: 336 kB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.074e-06/0.3426, allocations: 4 kB / 437.6 MB, free: 332 kB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.3426, allocations: 7.984 kB / 437.6 MB, free: 324 kB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.223e-06/0.3426, allocations: 0 / 437.6 MB, free: 324 kB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008518/0.3435, allocations: 0.5517 MB / 438.2 MB, free: 15.71 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/0.3435, allocations: 0 / 438.2 MB, free: 15.71 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002548/0.3438, allocations: 31.92 kB / 438.2 MB, free: 15.68 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002856/0.3467, allocations: 407 kB / 438.6 MB, free: 15.27 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.254e-05/0.3468, allocations: 15.94 kB / 438.6 MB, free: 15.26 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004734/0.3515, allocations: 2.37 MB / 441 MB, free: 12.71 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.3515, allocations: 0 / 441 MB, free: 12.71 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004183/0.3557, allocations: 1.174 MB / 442.2 MB, free: 11.5 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005973/0.3564, allocations: 200.2 kB / 442.3 MB, free: 11.29 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002402/0.3566, allocations: 23.98 kB / 442.4 MB, free: 11.26 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007736/0.3574, allocations: 51.89 kB / 442.4 MB, free: 11.21 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001852/0.3576, allocations: 47.94 kB / 442.5 MB, free: 11.16 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.265e-05/0.3577, allocations: 19.98 kB / 442.5 MB, free: 11.14 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.00125/0.359, allocations: 490.8 kB / 443 MB, free: 10.67 MB / 318.1 MB Notification: Performance of sort global known variables: time 5.21e-07/0.359, allocations: 3.938 kB / 443 MB, free: 10.66 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001038/0.3601, allocations: 136 kB / 443.1 MB, free: 10.53 MB / 318.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.0006067/0.3607, allocations: 179 kB / 443.3 MB, free: 10.35 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002525/0.3632, allocations: 0.8927 MB / 444.2 MB, free: 9.418 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.3633, allocations: 4.062 kB / 444.2 MB, free: 9.414 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001753/0.365, allocations: 0.7082 MB / 444.9 MB, free: 8.668 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006655/0.3657, allocations: 57.02 kB / 444.9 MB, free: 8.617 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003196/0.3689, allocations: 1.074 MB / 446 MB, free: 7.516 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007915/0.3697, allocations: 0.8757 MB / 446.9 MB, free: 6.617 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002844/0.37, allocations: 55.25 kB / 446.9 MB, free: 6.562 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001372/0.3702, allocations: 39.42 kB / 447 MB, free: 6.523 MB / 318.1 MB Notification: Performance of SimCode: time 1.303e-06/0.3702, allocations: 0 / 447 MB, free: 6.523 MB / 318.1 MB Notification: Performance of Templates: time 0.02742/0.3976, allocations: 8.35 MB / 455.3 MB, free: 14.23 MB / 334.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)