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.001392/0.001392, 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.001078/0.001078, allocations: 169 kB / 24.09 MB, free: 420 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 0.9896/0.9896, allocations: 177.1 MB / 204.5 MB, free: 5.18 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.02974/0.02974, allocations: 4.481 MB / 265.5 MB, free: 8.301 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.124e-06/2.124e-06, allocations: 7.875 kB / 336.9 MB, free: 13.01 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.178e-05/2.391e-05, allocations: 6.25 kB / 337 MB, free: 13 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableTransformers.WithVariableLoad): time 0.002681/0.002704, allocations: 3.088 MB / 340 MB, free: 9.902 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001461/0.004166, allocations: 1.098 MB / 341.1 MB, free: 8.801 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001562/0.004322, allocations: 4 kB / 341.1 MB, free: 8.797 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003938/0.004716, allocations: 166.9 kB / 341.3 MB, free: 8.633 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004708/0.005187, allocations: 258.3 kB / 341.6 MB, free: 8.379 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001121/0.006308, allocations: 1.19 MB / 342.7 MB, free: 7.184 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005521/0.00686, allocations: 0.5134 MB / 343.3 MB, free: 6.668 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001451/0.007005, allocations: 82.77 kB / 343.3 MB, free: 6.586 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002684/0.007274, allocations: 287.4 kB / 343.6 MB, free: 6.305 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002047/0.007478, allocations: 195.4 kB / 343.8 MB, free: 6.113 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.689e-05/0.007525, allocations: 47.94 kB / 343.9 MB, free: 6.066 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004655/0.007991, allocations: 311.5 kB / 344.2 MB, free: 5.762 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.361e-05/0.008044, allocations: 83.61 kB / 344.2 MB, free: 5.68 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.649e-05/0.008141, allocations: 159.6 kB / 344.4 MB, free: 5.523 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005987/0.008739, allocations: 0.6152 MB / 345 MB, free: 4.906 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.008743, allocations: 4 kB / 345 MB, free: 4.902 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.008744, allocations: 0 / 345 MB, free: 4.902 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.00875, allocations: 0 / 345 MB, free: 4.902 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.002316/0.01107, allocations: 1.378 MB / 346.4 MB, free: 3.48 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.0111, allocations: 8.031 kB / 346.4 MB, free: 3.473 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001034/0.0112, allocations: 76.66 kB / 346.5 MB, free: 3.398 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002774/0.01148, allocations: 301.2 kB / 346.8 MB, free: 3.074 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.922e-05/0.01152, allocations: 54.92 kB / 346.8 MB, free: 3.016 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.932e-05/0.01156, allocations: 32.38 kB / 346.9 MB, free: 2.984 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003371/0.0119, allocations: 411 kB / 347.3 MB, free: 2.547 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/0.01191, allocations: 192 / 347.3 MB, free: 2.547 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.628e-05/0.01193, allocations: 16.12 kB / 347.3 MB, free: 2.531 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.01194, allocations: 4 kB / 347.3 MB, free: 2.527 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002083/0.01215, allocations: 206.1 kB / 347.5 MB, free: 2.316 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001242/0.01339, allocations: 1.084 MB / 348.6 MB, free: 1.199 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003944/0.01378, allocations: 322.1 kB / 348.9 MB, free: 0.8594 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001267/0.01391, allocations: 146 kB / 349 MB, free: 0.707 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.17e-05/0.01399, allocations: 24.27 kB / 349 MB, free: 0.6836 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002994/0.01429, allocations: 0.5072 MB / 349.6 MB, free: 104 kB / 266.7 MB Notification: Performance of pre-optimization done (n=51): time 1.543e-06/0.01429, allocations: 0 / 349.6 MB, free: 104 kB / 266.7 MB Notification: Performance of matching and sorting (n=51): time 0.002879/0.01717, allocations: 1.288 MB / 350.8 MB, free: 14.78 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.372e-05/0.01725, allocations: 203.9 kB / 351 MB, free: 14.54 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002794/0.01753, allocations: 350 kB / 351.4 MB, free: 14.18 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.436e-05/0.01757, allocations: 45.62 kB / 351.4 MB, free: 14.13 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000111/0.01768, allocations: 223.8 kB / 351.6 MB, free: 13.91 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001071/0.01779, allocations: 166.6 kB / 351.8 MB, free: 13.75 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001375/0.01793, allocations: 119.8 kB / 351.9 MB, free: 13.62 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.01808, allocations: 0.5234 MB / 352.4 MB, free: 13.09 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001749/0.01826, allocations: 154.8 kB / 352.6 MB, free: 12.93 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002076/0.01846, allocations: 248.4 kB / 352.8 MB, free: 12.65 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004929/0.01896, allocations: 0.5553 MB / 353.4 MB, free: 12.07 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.01896, allocations: 0 / 353.4 MB, free: 12.07 MB / 282.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001578/0.02054, allocations: 0.9501 MB / 354.3 MB, free: 11.09 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.786e-05/0.02059, allocations: 41.69 kB / 354.4 MB, free: 11.04 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.02059, allocations: 4 kB / 354.4 MB, free: 11.04 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001848/0.02244, allocations: 0.7512 MB / 355.1 MB, free: 10.27 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001682/0.02261, allocations: 83.83 kB / 355.2 MB, free: 10.19 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009327/0.02354, allocations: 1.254 MB / 356.5 MB, free: 8.883 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002763/0.02382, allocations: 71.59 kB / 356.5 MB, free: 8.812 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.939e-05/0.02385, allocations: 16 kB / 356.6 MB, free: 8.797 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.0002467/0.0241, allocations: 247.6 kB / 356.8 MB, free: 8.547 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.891e-05/0.02418, allocations: 59.77 kB / 356.9 MB, free: 8.488 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000775/0.02496, allocations: 0.7099 MB / 357.6 MB, free: 7.742 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.02496, allocations: 4 kB / 357.6 MB, free: 7.738 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.02497, allocations: 4 kB / 357.6 MB, free: 7.734 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.02497, allocations: 3.984 kB / 357.6 MB, free: 7.73 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003491/0.02532, allocations: 361.8 kB / 357.9 MB, free: 7.352 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.02533, allocations: 0 / 357.9 MB, free: 7.352 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.853e-05/0.02542, allocations: 43.91 kB / 358 MB, free: 7.309 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001758/0.02718, allocations: 0.795 MB / 358.8 MB, free: 6.496 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.831e-05/0.02722, allocations: 19.94 kB / 358.8 MB, free: 6.477 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009985/0.02822, allocations: 1.344 MB / 360.1 MB, free: 5.082 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.02822, allocations: 7.922 kB / 360.1 MB, free: 5.074 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007332/0.02895, allocations: 0.6945 MB / 360.8 MB, free: 4.332 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001922/0.02915, allocations: 127.5 kB / 361 MB, free: 4.207 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.939e-05/0.02921, allocations: 20 kB / 361 MB, free: 4.188 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00021/0.02942, allocations: 43.97 kB / 361 MB, free: 4.145 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.386e-05/0.02951, allocations: 52.36 kB / 361.1 MB, free: 4.094 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.026e-05/0.02954, allocations: 20.03 kB / 361.1 MB, free: 4.074 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001462/0.02969, allocations: 234.9 kB / 361.3 MB, free: 3.844 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.02969, allocations: 0 / 361.3 MB, free: 3.844 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000331/0.03002, allocations: 140 kB / 361.5 MB, free: 3.707 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.0001992/0.03022, allocations: 147.7 kB / 361.6 MB, free: 3.555 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0008133/0.03103, allocations: 0.5965 MB / 362.2 MB, free: 2.934 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.03103, allocations: 0 / 362.2 MB, free: 2.934 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005081/0.03154, allocations: 395.1 kB / 362.6 MB, free: 2.527 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002783/0.03182, allocations: 64.39 kB / 362.7 MB, free: 2.469 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001242/0.03306, allocations: 0.7645 MB / 363.4 MB, free: 1.668 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.988e-05/0.03313, allocations: 110.4 kB / 363.5 MB, free: 1.535 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001142/0.03325, allocations: 51.23 kB / 363.6 MB, free: 1.488 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000136/0.03338, allocations: 130.2 kB / 363.7 MB, free: 1.359 MB / 282.7 MB Notification: Performance of SimCode: time 1.132e-06/0.03338, allocations: 4 kB / 363.7 MB, free: 1.355 MB / 282.7 MB Notification: Performance of Templates: time 0.01138/0.04477, allocations: 9.547 MB / 373.3 MB, free: 7.887 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: 2.923609223216772]