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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009432/0.0009432, allocations: 80.2 kB / 20.7 MB, free: 3.801 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001177/0.001177, allocations: 173 kB / 24.1 MB, free: 412 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.005/1.005, allocations: 177.1 MB / 204.5 MB, free: 5.176 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo): time 0.04576/0.04576, allocations: 4.472 MB / 265.5 MB, free: 8.289 MB / 250.7 MB " [Timeout remaining time 180] Using package PowerSysPro with version 2.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerSysPro.Examples.VariableTransformers.VariableTransformer2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2") translateModel(PowerSysPro.Examples.VariableTransformers.VariableTransformer2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.784e-06/1.784e-06, allocations: 0 / 336.9 MB, free: 13.03 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.482e-05/1.66e-05, allocations: 6.312 kB / 336.9 MB, free: 13.02 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableTransformers.VariableTransformer2): time 0.001621/0.001638, allocations: 1.759 MB / 338.7 MB, free: 11.26 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001309/0.002947, allocations: 1.711 MB / 340.4 MB, free: 9.531 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.782e-05/0.003024, allocations: 4 kB / 340.4 MB, free: 9.527 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002389/0.003263, allocations: 143 kB / 340.6 MB, free: 9.387 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002241/0.003487, allocations: 150.9 kB / 340.7 MB, free: 9.238 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008137/0.004301, allocations: 0.8675 MB / 341.6 MB, free: 8.367 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000253/0.004554, allocations: 350.5 kB / 341.9 MB, free: 8.023 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.39e-05/0.004638, allocations: 48.91 kB / 342 MB, free: 7.973 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001442/0.004782, allocations: 191.6 kB / 342.1 MB, free: 7.785 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000107/0.004889, allocations: 119.6 kB / 342.3 MB, free: 7.668 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.028e-05/0.00492, allocations: 32 kB / 342.3 MB, free: 7.637 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002589/0.005178, allocations: 243.5 kB / 342.5 MB, free: 7.398 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.977e-05/0.005208, allocations: 51.77 kB / 342.6 MB, free: 7.348 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.34e-05/0.005272, allocations: 107.7 kB / 342.7 MB, free: 7.242 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003283/0.0056, allocations: 454.5 kB / 343.1 MB, free: 6.797 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.813e-06/0.005602, allocations: 0 / 343.1 MB, free: 6.797 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.005602, allocations: 4 kB / 343.1 MB, free: 6.793 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.417e-06/0.005606, allocations: 0 / 343.1 MB, free: 6.793 MB / 266.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.001694/0.0073, allocations: 1.119 MB / 344.3 MB, free: 5.633 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.84e-05/0.007328, allocations: 12.03 kB / 344.3 MB, free: 5.621 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.599e-05/0.007394, allocations: 44.75 kB / 344.3 MB, free: 5.578 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001615/0.007556, allocations: 239.6 kB / 344.5 MB, free: 5.312 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.571e-05/0.007571, allocations: 16.31 kB / 344.6 MB, free: 5.297 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.192e-05/0.007633, allocations: 24.56 kB / 344.6 MB, free: 5.273 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002579/0.007891, allocations: 392.2 kB / 345 MB, free: 4.836 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.004e-06/0.007898, allocations: 4.188 kB / 345 MB, free: 4.832 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.775e-05/0.007916, allocations: 12.12 kB / 345 MB, free: 4.82 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.007921, allocations: 4 kB / 345 MB, free: 4.816 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001372/0.008058, allocations: 138.2 kB / 345.1 MB, free: 4.676 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005808/0.008639, allocations: 0.6129 MB / 345.7 MB, free: 4.035 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003027/0.008942, allocations: 256.6 kB / 346 MB, free: 3.766 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.953e-05/0.009021, allocations: 105.6 kB / 346.1 MB, free: 3.652 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004181/0.00944, allocations: 0.609 MB / 346.7 MB, free: 3.023 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000203/0.009642, allocations: 448.9 kB / 347.1 MB, free: 2.512 MB / 266.7 MB Notification: Performance of pre-optimization done (n=33): time 1.253e-06/0.009644, allocations: 0 / 347.1 MB, free: 2.512 MB / 266.7 MB Notification: Performance of matching and sorting (n=33): time 0.0009974/0.01064, allocations: 0.6701 MB / 347.8 MB, free: 1.805 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.936e-05/0.01068, allocations: 221.6 kB / 348 MB, free: 1.539 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001194/0.0108, allocations: 308.1 kB / 348.3 MB, free: 1.223 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.092e-05/0.01082, allocations: 33.7 kB / 348.4 MB, free: 1.184 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.638e-05/0.01088, allocations: 199.5 kB / 348.5 MB, free: 0.9844 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.656e-05/0.01092, allocations: 107.1 kB / 348.7 MB, free: 0.8789 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.328e-05/0.011, allocations: 95.28 kB / 348.7 MB, free: 0.7773 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.763e-05/0.01105, allocations: 0.5156 MB / 349.3 MB, free: 256 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.627e-05/0.01112, allocations: 90.16 kB / 349.3 MB, free: 160 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001698/0.01129, allocations: 291.4 kB / 349.6 MB, free: 15.8 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003944/0.01169, allocations: 441.7 kB / 350.1 MB, free: 15.29 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.01169, allocations: 4 kB / 350.1 MB, free: 15.29 MB / 282.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0005009/0.01219, allocations: 477.2 kB / 350.5 MB, free: 14.79 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.78e-05/0.01222, allocations: 49.62 kB / 350.6 MB, free: 14.73 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.01222, allocations: 352 / 350.6 MB, free: 14.73 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007438/0.01296, allocations: 374.5 kB / 350.9 MB, free: 14.35 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001467/0.01311, allocations: 67.91 kB / 351 MB, free: 14.28 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001378/0.01449, allocations: 2.794 MB / 353.8 MB, free: 11.33 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001807/0.01467, allocations: 63.7 kB / 353.9 MB, free: 11.27 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.058e-05/0.01469, allocations: 12 kB / 353.9 MB, free: 11.25 MB / 282.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.0001852/0.01488, allocations: 248.2 kB / 354.1 MB, free: 11 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.021e-05/0.01493, allocations: 43.81 kB / 354.2 MB, free: 10.95 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006743/0.0156, allocations: 0.567 MB / 354.7 MB, free: 10.36 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.0156, allocations: 0 / 354.7 MB, free: 10.36 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.01561, allocations: 4 kB / 354.7 MB, free: 10.35 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.01561, allocations: 7.922 kB / 354.7 MB, free: 10.34 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001933/0.0158, allocations: 252.9 kB / 355 MB, free: 10.07 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.01581, allocations: 0 / 355 MB, free: 10.07 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.079e-05/0.0159, allocations: 39.98 kB / 355 MB, free: 10.03 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007169/0.01661, allocations: 411.9 kB / 355.4 MB, free: 9.609 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.534e-05/0.01664, allocations: 19.91 kB / 355.5 MB, free: 9.59 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00129/0.01793, allocations: 2.865 MB / 358.3 MB, free: 6.559 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.01793, allocations: 4 kB / 358.3 MB, free: 6.555 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007699/0.0187, allocations: 0.7075 MB / 359 MB, free: 5.793 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.423e-05/0.01879, allocations: 83.75 kB / 359.1 MB, free: 5.711 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.221e-05/0.01884, allocations: 20 kB / 359.1 MB, free: 5.691 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000134/0.01897, allocations: 31.97 kB / 359.2 MB, free: 5.66 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.139e-05/0.01904, allocations: 35.94 kB / 359.2 MB, free: 5.625 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.786e-05/0.01906, allocations: 12 kB / 359.2 MB, free: 5.613 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.6e-05/0.01916, allocations: 201.1 kB / 359.4 MB, free: 5.418 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01916, allocations: 0 / 359.4 MB, free: 5.418 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002536/0.01941, allocations: 92 kB / 359.5 MB, free: 5.328 MB / 282.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.0001692/0.01958, allocations: 147.2 kB / 359.6 MB, free: 5.176 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005793/0.02016, allocations: 0.548 MB / 360.2 MB, free: 4.582 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.02016, allocations: 0 / 360.2 MB, free: 4.582 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003486/0.02051, allocations: 434.3 kB / 360.6 MB, free: 4.117 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001654/0.02067, allocations: 52.22 kB / 360.7 MB, free: 4.066 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008456/0.02152, allocations: 0.5861 MB / 361.2 MB, free: 3.441 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.046e-05/0.02157, allocations: 89.31 kB / 361.3 MB, free: 3.336 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.897e-05/0.02164, allocations: 34.27 kB / 361.4 MB, free: 3.305 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001156/0.02175, allocations: 118.2 kB / 361.5 MB, free: 3.188 MB / 282.7 MB Notification: Performance of SimCode: time 8.02e-07/0.02175, allocations: 0 / 361.5 MB, free: 3.188 MB / 282.7 MB Notification: Performance of Templates: time 0.007642/0.0294, allocations: 6.295 MB / 367.8 MB, free: 12.95 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2.makefile [Timeout 660] (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=240 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.9560851091519]