Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad.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.001001/0.001001, allocations: 82.64 kB / 21.48 MB, free: 3.016 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.001562/0.001562, allocations: 164.8 kB / 24.88 MB, free: 9.281 MB / 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.009/1.009, allocations: 177.1 MB / 205.3 MB, free: 5.52 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.02286/0.02286, allocations: 4.477 MB / 266.3 MB, free: 8.434 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.WithVariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad") translateModel(PowerSysPro.Examples.VariableTransformers.WithVariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 337.7 MB, free: 13.01 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.658e-05/2.863e-05, allocations: 13.2 kB / 337.7 MB, free: 13 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableTransformers.WithVariableLoad): time 0.002532/0.00256, allocations: 3.097 MB / 340.8 MB, free: 9.887 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001285/0.003845, allocations: 1.098 MB / 341.9 MB, free: 8.785 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001266/0.003972, allocations: 4 kB / 341.9 MB, free: 8.781 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003123/0.004284, allocations: 170.9 kB / 342.1 MB, free: 8.613 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004022/0.004686, allocations: 254.3 kB / 342.3 MB, free: 8.363 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001065/0.005751, allocations: 1.182 MB / 343.5 MB, free: 7.176 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004026/0.006154, allocations: 0.5056 MB / 344 MB, free: 6.668 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001286/0.006282, allocations: 86.7 kB / 344.1 MB, free: 6.582 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001825/0.006465, allocations: 291.4 kB / 344.4 MB, free: 6.297 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001818/0.006647, allocations: 199.4 kB / 344.6 MB, free: 6.102 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.579e-05/0.006693, allocations: 44 kB / 344.6 MB, free: 6.059 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003434/0.007036, allocations: 307.5 kB / 344.9 MB, free: 5.758 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.743e-05/0.007083, allocations: 87.61 kB / 345 MB, free: 5.672 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.085e-05/0.007174, allocations: 163.5 kB / 345.2 MB, free: 5.512 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004693/0.007644, allocations: 0.6152 MB / 345.8 MB, free: 4.895 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.007646, allocations: 0 / 345.8 MB, free: 4.895 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.007647, allocations: 0 / 345.8 MB, free: 4.895 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.019e-06/0.007652, allocations: 0 / 345.8 MB, free: 4.895 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: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.00225/0.009902, allocations: 1.374 MB / 347.2 MB, free: 3.477 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.129e-05/0.009934, allocations: 8.031 kB / 347.2 MB, free: 3.469 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001006/0.01003, allocations: 80.64 kB / 347.3 MB, free: 3.391 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002726/0.01031, allocations: 297.2 kB / 347.6 MB, free: 3.07 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.843e-05/0.01035, allocations: 54.91 kB / 347.6 MB, free: 3.012 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.075e-05/0.01039, allocations: 36.38 kB / 347.6 MB, free: 2.977 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003345/0.01072, allocations: 411 kB / 348 MB, free: 2.539 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.01073, allocations: 192 / 348 MB, free: 2.539 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.048e-05/0.01076, allocations: 20.12 kB / 348.1 MB, free: 2.52 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.01077, allocations: 8 kB / 348.1 MB, free: 2.512 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002053/0.01097, allocations: 190.1 kB / 348.3 MB, free: 2.316 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001182/0.01216, allocations: 1.084 MB / 349.3 MB, free: 1.199 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003986/0.01255, allocations: 328.9 kB / 349.7 MB, free: 0.8555 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00013/0.01268, allocations: 150 kB / 349.8 MB, free: 0.6992 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.889e-05/0.01276, allocations: 20.25 kB / 349.8 MB, free: 0.6797 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002937/0.01306, allocations: 0.5072 MB / 350.3 MB, free: 100 kB / 266.7 MB Notification: Performance of pre-optimization done (n=51): time 1.973e-06/0.01306, allocations: 0 / 350.3 MB, free: 100 kB / 266.7 MB Notification: Performance of matching and sorting (n=51): time 0.002727/0.01579, allocations: 1.288 MB / 351.6 MB, free: 14.78 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.223e-05/0.01586, allocations: 195.9 kB / 351.8 MB, free: 14.54 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002088/0.01607, allocations: 350 kB / 352.2 MB, free: 14.19 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.11e-05/0.01611, allocations: 37.7 kB / 352.2 MB, free: 14.14 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001046/0.01621, allocations: 231.7 kB / 352.4 MB, free: 13.91 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001016/0.01631, allocations: 170.6 kB / 352.6 MB, free: 13.75 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001307/0.01644, allocations: 115.8 kB / 352.7 MB, free: 13.62 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001573/0.0166, allocations: 0.5312 MB / 353.2 MB, free: 13.08 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000156/0.01676, allocations: 154.8 kB / 353.4 MB, free: 12.93 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001996/0.01696, allocations: 248.4 kB / 353.6 MB, free: 12.65 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005055/0.01746, allocations: 0.5552 MB / 354.2 MB, free: 12.06 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.01747, allocations: 0 / 354.2 MB, free: 12.06 MB / 282.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001552/0.01902, allocations: 0.9501 MB / 355.1 MB, free: 11.08 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.844e-05/0.01906, allocations: 37.69 kB / 355.2 MB, free: 11.04 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.01906, allocations: 0 / 355.2 MB, free: 11.04 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001858/0.02092, allocations: 0.7512 MB / 355.9 MB, free: 10.27 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001734/0.02109, allocations: 83.84 kB / 356 MB, free: 10.19 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009606/0.02205, allocations: 1.254 MB / 357.3 MB, free: 8.887 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002738/0.02233, allocations: 75.59 kB / 357.3 MB, free: 8.812 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.185e-05/0.02236, allocations: 12 kB / 357.3 MB, free: 8.801 MB / 282.7 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: 3 * Number of states: 0 () * Number of discrete variables: 16 ($PRE.varTra.tapChanger.tap,$PRE.varTra.tapChanger.furtherTapChangeTimeout,$PRE.varTra.tapChanger.abnormalUTime,varLoad.degradedMode,$PRE.varLoad.degradedMode,varTra.tapChanger.furtherTapChangeTimeout,varTra.tapChanger.increaseEvent,varTra.tapChanger.decreaseEvent,varTra.tapChanger.normalU,varTra.tapChanger.abnormalUTime,varTra.tapChanger.tap,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,14)} Notification: Performance of prepare postOptimizeDAE: time 0.000259/0.02262, allocations: 242.1 kB / 357.6 MB, free: 8.551 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.701e-05/0.0227, allocations: 67.7 kB / 357.6 MB, free: 8.484 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007719/0.02348, allocations: 0.706 MB / 358.3 MB, free: 7.742 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.02348, allocations: 8 kB / 358.4 MB, free: 7.734 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.963e-06/0.02348, allocations: 0 / 358.4 MB, free: 7.734 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.02349, allocations: 3.984 kB / 358.4 MB, free: 7.73 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003148/0.0238, allocations: 357.8 kB / 358.7 MB, free: 7.355 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.02381, allocations: 0 / 358.7 MB, free: 7.355 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.576e-05/0.0239, allocations: 51.91 kB / 358.8 MB, free: 7.305 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001808/0.02571, allocations: 0.7911 MB / 359.6 MB, free: 6.496 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.15e-05/0.02575, allocations: 23.92 kB / 359.6 MB, free: 6.473 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001059/0.02681, allocations: 1.341 MB / 360.9 MB, free: 5.082 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.02681, allocations: 8 kB / 360.9 MB, free: 5.074 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007645/0.02758, allocations: 0.7022 MB / 361.6 MB, free: 4.324 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001719/0.02775, allocations: 123.5 kB / 361.7 MB, free: 4.203 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.095e-05/0.02781, allocations: 20 kB / 361.8 MB, free: 4.184 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002052/0.02801, allocations: 39.97 kB / 361.8 MB, free: 4.145 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001002/0.02811, allocations: 56.34 kB / 361.9 MB, free: 4.09 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.262e-05/0.02815, allocations: 19.98 kB / 361.9 MB, free: 4.07 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001394/0.02829, allocations: 222.9 kB / 362.1 MB, free: 3.852 MB / 282.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.02829, allocations: 4 kB / 362.1 MB, free: 3.848 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003586/0.02865, allocations: 140 kB / 362.2 MB, free: 3.711 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,varTra.tapChanger.tap,varTra.tapChanger.abnormalUTime,varTra.tapChanger.normalU,varTra.tapChanger.decreaseEvent,varTra.tapChanger.increaseEvent,varTra.tapChanger.furtherTapChangeTimeout,varLoad.degradedMode) * Number of discrete states: 11 (varTra.tapChanger.tap,varTra.tapChanger.furtherTapChangeTimeout,$whenCondition4,$whenCondition3,varTra.tapChanger.abnormalUTime,$whenCondition2,$whenCondition1,varTra.tapChanger.decreaseEvent,varTra.tapChanger.increaseEvent,varTra.tapChanger.normalU,varLoad.degradedMode) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002329/0.02888, allocations: 151.7 kB / 362.4 MB, free: 3.555 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0008251/0.0297, allocations: 0.5886 MB / 363 MB, free: 2.941 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.02971, allocations: 8.125 kB / 363 MB, free: 2.934 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005139/0.03022, allocations: 387.1 kB / 363.4 MB, free: 2.535 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002671/0.03049, allocations: 65.19 kB / 363.4 MB, free: 2.473 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001186/0.03167, allocations: 0.7712 MB / 364.2 MB, free: 1.664 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.297e-05/0.03174, allocations: 106.4 kB / 364.3 MB, free: 1.535 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001041/0.03184, allocations: 39.25 kB / 364.3 MB, free: 1.5 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000143/0.03198, allocations: 130.2 kB / 364.5 MB, free: 1.371 MB / 282.7 MB Notification: Performance of SimCode: time 9.32e-07/0.03199, allocations: 4 kB / 364.5 MB, free: 1.367 MB / 282.7 MB Notification: Performance of Templates: time 0.01104/0.04303, allocations: 9.824 MB / 374.3 MB, free: 7.621 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad.makefile [Timeout 660] (rm -f PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad.sim & ./PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.0333977891132236]