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.001481/0.001481, allocations: 100.4 kB / 20.49 MB, free: 1.344 MB / 14.72 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.001648/0.001648, allocations: 202.1 kB / 23.78 MB, free: 4.5 MB / 14.72 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.397/1.397, allocations: 230.6 MB / 257.6 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] 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.0361/0.0361, allocations: 6.138 MB / 320.1 MB, free: 12.77 MB / 254.1 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 0.001761/0.001761, allocations: 51.86 kB / 445.7 MB, free: 4.605 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1083, allocations: 55.02 MB / 0.489 GB, free: 13.49 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableTransformers.WithVariableLoad): time 0.005146/0.1134, allocations: 2.924 MB / 0.4918 GB, free: 10.55 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002377/0.1158, allocations: 1.082 MB / 0.4929 GB, free: 9.465 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003402/0.1161, allocations: 15.94 kB / 0.4929 GB, free: 9.449 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005837/0.1167, allocations: 155.1 kB / 0.493 GB, free: 9.297 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008967/0.1176, allocations: 250.5 kB / 0.4933 GB, free: 9.051 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002604/0.1202, allocations: 1.181 MB / 0.4944 GB, free: 7.867 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009072/0.1211, allocations: 0.5018 MB / 0.4949 GB, free: 7.363 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002361/0.1213, allocations: 80.64 kB / 0.495 GB, free: 7.277 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003684/0.1217, allocations: 207.3 kB / 0.4952 GB, free: 7.074 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004657/0.1222, allocations: 215 kB / 0.4954 GB, free: 6.863 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001267/0.1223, allocations: 44 kB / 0.4954 GB, free: 6.82 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006547/0.123, allocations: 303.7 kB / 0.4957 GB, free: 6.523 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001271/0.1231, allocations: 91.61 kB / 0.4958 GB, free: 6.434 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002614/0.1234, allocations: 187.1 kB / 0.496 GB, free: 6.25 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001002/0.1244, allocations: 0.7007 MB / 0.4967 GB, free: 5.547 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.1244, allocations: 0 / 0.4967 GB, free: 5.547 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1244, allocations: 7.938 kB / 0.4967 GB, free: 5.539 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.324e-06/0.1244, allocations: 0 / 0.4967 GB, free: 5.539 MB / 366.1 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.00442/0.1288, allocations: 1.247 MB / 0.4979 GB, free: 4.254 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.1288, allocations: 12.03 kB / 0.4979 GB, free: 4.242 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001276/0.129, allocations: 48.66 kB / 0.498 GB, free: 4.195 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000468/0.1294, allocations: 302.3 kB / 0.4983 GB, free: 3.875 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.762e-05/0.1295, allocations: 50.92 kB / 0.4983 GB, free: 3.82 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.348e-05/0.1296, allocations: 36.38 kB / 0.4983 GB, free: 3.785 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001026/0.1306, allocations: 0.6157 MB / 0.4989 GB, free: 3.133 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.1306, allocations: 0 / 0.4989 GB, free: 3.133 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.552e-05/0.1306, allocations: 12 kB / 0.499 GB, free: 3.121 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.498e-06/0.1307, allocations: 8 kB / 0.499 GB, free: 3.113 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009422/0.1316, allocations: 0.5039 MB / 0.4995 GB, free: 2.602 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002531/0.1341, allocations: 1.229 MB / 0.5007 GB, free: 1.336 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001154/0.1353, allocations: 0.5141 MB / 0.5012 GB, free: 0.8008 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005663/0.1358, allocations: 311.2 kB / 0.5015 GB, free: 500 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001117/0.136, allocations: 20.25 kB / 0.5015 GB, free: 480 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001025/0.137, allocations: 0.6886 MB / 0.5021 GB, free: 15.71 MB / 382.1 MB Notification: Performance of pre-optimization done (n=51): time 1.703e-06/0.137, allocations: 0 / 0.5021 GB, free: 15.71 MB / 382.1 MB Notification: Performance of matching and sorting (n=51): time 0.005986/0.143, allocations: 1.858 MB / 0.504 GB, free: 13.82 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001356/0.1431, allocations: 203.9 kB / 0.5042 GB, free: 13.58 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003794/0.1435, allocations: 316.5 kB / 0.5045 GB, free: 13.26 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.509e-05/0.1435, allocations: 41.7 kB / 0.5045 GB, free: 13.21 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001455/0.1437, allocations: 185 kB / 0.5047 GB, free: 13.03 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001355/0.1438, allocations: 154.7 kB / 0.5048 GB, free: 12.88 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001882/0.144, allocations: 110.1 kB / 0.5049 GB, free: 12.76 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001707/0.1442, allocations: 350.7 kB / 0.5053 GB, free: 12.41 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000545/0.1447, allocations: 326.8 kB / 0.5056 GB, free: 12.09 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005985/0.1453, allocations: 413.1 kB / 0.506 GB, free: 11.66 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007852/0.1532, allocations: 2.171 MB / 0.5081 GB, free: 9.449 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-06/0.1532, allocations: 0 / 0.5081 GB, free: 9.449 MB / 382.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003451/0.1566, allocations: 1.338 MB / 0.5094 GB, free: 8.082 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.841e-05/0.1567, allocations: 41.69 kB / 0.5094 GB, free: 8.035 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.1567, allocations: 0 / 0.5094 GB, free: 8.035 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003589/0.1603, allocations: 0.8993 MB / 0.5103 GB, free: 7.121 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002882/0.1606, allocations: 75.84 kB / 0.5104 GB, free: 7.047 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001925/0.1625, allocations: 1.339 MB / 0.5117 GB, free: 5.664 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000544/0.163, allocations: 83.73 kB / 0.5118 GB, free: 5.582 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.17e-05/0.1631, allocations: 24 kB / 0.5118 GB, free: 5.559 MB / 382.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: 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.000356/0.1635, allocations: 228.5 kB / 0.512 GB, free: 5.328 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001007/0.1636, allocations: 47.7 kB / 0.5121 GB, free: 5.281 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002176/0.1657, allocations: 1.14 MB / 0.5132 GB, free: 4.113 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/0.1657, allocations: 8 kB / 0.5132 GB, free: 4.105 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.1657, allocations: 0 / 0.5132 GB, free: 4.105 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.1657, allocations: 0 / 0.5132 GB, free: 4.105 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005668/0.1663, allocations: 445.8 kB / 0.5136 GB, free: 3.641 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/0.1663, allocations: 4 kB / 0.5136 GB, free: 3.637 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001766/0.1665, allocations: 43.91 kB / 0.5136 GB, free: 3.594 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003641/0.1701, allocations: 0.949 MB / 0.5146 GB, free: 2.629 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.8e-05/0.1702, allocations: 16 kB / 0.5146 GB, free: 2.613 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002336/0.1725, allocations: 1.494 MB / 0.5161 GB, free: 1.074 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.1725, allocations: 0 / 0.5161 GB, free: 1.074 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2106/0.3831, allocations: 1.099 MB / 0.5171 GB, free: 31.49 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003933/0.3835, allocations: 123.3 kB / 0.5172 GB, free: 31.49 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.571e-05/0.3836, allocations: 20.22 kB / 0.5173 GB, free: 31.49 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005136/0.3841, allocations: 62.95 kB / 0.5173 GB, free: 31.49 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001515/0.3842, allocations: 51.41 kB / 0.5174 GB, free: 31.49 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.91e-05/0.3843, allocations: 23.25 kB / 0.5174 GB, free: 31.49 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002459/0.3845, allocations: 227.9 kB / 0.5176 GB, free: 31.42 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3845, allocations: 2.406 kB / 0.5176 GB, free: 31.42 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000467/0.385, allocations: 137.4 kB / 0.5177 GB, free: 31.42 MB / 382.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: 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.0002133/0.3852, allocations: 143.2 kB / 0.5179 GB, free: 31.33 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00179/0.387, allocations: 0.9006 MB / 0.5188 GB, free: 31.2 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.085e-06/0.387, allocations: 3.844 kB / 0.5188 GB, free: 31.2 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001149/0.3882, allocations: 0.5192 MB / 0.5193 GB, free: 31.1 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003693/0.3885, allocations: 54.36 kB / 0.5193 GB, free: 31.1 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001836/0.3904, allocations: 0.9057 MB / 0.5202 GB, free: 30.71 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00028/0.3906, allocations: 198.1 kB / 0.5204 GB, free: 30.63 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001246/0.3908, allocations: 44.91 kB / 0.5204 GB, free: 30.62 MB / 382.1 MB Notification: Performance of SimCode: time 1.453e-06/0.3908, allocations: 0 / 0.5204 GB, free: 30.62 MB / 382.1 MB Notification: Performance of Templates: time 0.01613/0.4069, allocations: 7.462 MB / 0.5277 GB, free: 29.96 MB / 382.1 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=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.944152312353253] Failed to read output from testmodel.py, exit status != 0: 0.41485612699761987 0.426082807 0.29930223300000003 Calling exit ...