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.001654/0.001654, allocations: 75.52 kB / 20.55 MB, free: 1.242 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.002029/0.002029, allocations: 166.8 kB / 23.8 MB, free: 4.426 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.399/1.399, allocations: 177.2 MB / 204.2 MB, free: 8.973 MB / 190.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.03433/0.03433, allocations: 4.475 MB / 265 MB, free: 12.17 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.001561/0.001561, allocations: 51.92 kB / 390.6 MB, free: 13.86 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09578/0.09734, allocations: 55 MB / 445.6 MB, free: 6.758 MB / 414.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableTransformers.WithVariableLoad): time 0.004399/0.1017, allocations: 2.922 MB / 448.5 MB, free: 3.816 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002115/0.1039, allocations: 1.082 MB / 449.6 MB, free: 2.73 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001491/0.104, allocations: 4 kB / 449.6 MB, free: 2.727 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004448/0.1045, allocations: 163 kB / 449.8 MB, free: 2.566 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006086/0.1051, allocations: 250.4 kB / 450 MB, free: 2.32 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002344/0.1074, allocations: 1.187 MB / 451.2 MB, free: 1.133 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006658/0.1081, allocations: 0.4979 MB / 451.7 MB, free: 0.6328 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001817/0.1083, allocations: 84.69 kB / 451.8 MB, free: 0.5469 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002209/0.1085, allocations: 207.2 kB / 452 MB, free: 352 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003254/0.1088, allocations: 227 kB / 452.2 MB, free: 124 kB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.365e-05/0.1089, allocations: 44 kB / 452.3 MB, free: 80 kB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005328/0.1094, allocations: 303.8 kB / 452.6 MB, free: 15.78 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.453e-05/0.1095, allocations: 87.62 kB / 452.6 MB, free: 15.7 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002146/0.1097, allocations: 191.1 kB / 452.8 MB, free: 15.51 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008622/0.1106, allocations: 0.6968 MB / 453.5 MB, free: 14.81 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1106, allocations: 4 kB / 453.5 MB, free: 14.8 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1106, allocations: 3.938 kB / 453.5 MB, free: 14.8 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.743e-06/0.1106, allocations: 0 / 453.5 MB, free: 14.8 MB / 430.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.004868/0.1155, allocations: 1.255 MB / 454.8 MB, free: 13.51 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.1155, allocations: 8.031 kB / 454.8 MB, free: 13.5 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001306/0.1156, allocations: 52.66 kB / 454.8 MB, free: 13.45 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004962/0.1161, allocations: 290.4 kB / 455.1 MB, free: 13.14 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.018e-05/0.1162, allocations: 54.92 kB / 455.2 MB, free: 13.08 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.965e-05/0.1163, allocations: 40.31 kB / 455.2 MB, free: 13.04 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001047/0.1173, allocations: 0.6158 MB / 455.8 MB, free: 12.39 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.1173, allocations: 0 / 455.8 MB, free: 12.39 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.571e-05/0.1174, allocations: 16 kB / 455.9 MB, free: 12.38 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.1174, allocations: 4 kB / 455.9 MB, free: 12.37 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009952/0.1184, allocations: 0.5001 MB / 456.4 MB, free: 11.86 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002655/0.121, allocations: 1.229 MB / 457.6 MB, free: 10.6 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00123/0.1223, allocations: 0.5217 MB / 458.1 MB, free: 10.05 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006009/0.1229, allocations: 307.2 kB / 458.4 MB, free: 9.746 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001194/0.123, allocations: 16.31 kB / 458.4 MB, free: 9.73 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001075/0.1241, allocations: 0.6889 MB / 459.1 MB, free: 8.977 MB / 430.1 MB Notification: Performance of pre-optimization done (n=51): time 2.044e-06/0.1241, allocations: 0 / 459.1 MB, free: 8.977 MB / 430.1 MB Notification: Performance of matching and sorting (n=51): time 0.006566/0.1306, allocations: 1.844 MB / 461 MB, free: 7.098 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001454/0.1308, allocations: 195.9 kB / 461.1 MB, free: 6.863 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004083/0.1312, allocations: 324.4 kB / 461.5 MB, free: 6.539 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.99e-05/0.1312, allocations: 41.7 kB / 461.5 MB, free: 6.492 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001507/0.1314, allocations: 177 kB / 461.7 MB, free: 6.312 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001608/0.1316, allocations: 170.6 kB / 461.8 MB, free: 6.145 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001927/0.1318, allocations: 106.2 kB / 461.9 MB, free: 6.035 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001958/0.132, allocations: 358.7 kB / 462.3 MB, free: 5.676 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005732/0.1325, allocations: 326.7 kB / 462.6 MB, free: 5.352 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006391/0.1332, allocations: 409.1 kB / 463 MB, free: 4.926 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00859/0.1418, allocations: 2.167 MB / 465.2 MB, free: 2.723 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.1418, allocations: 3.938 kB / 465.2 MB, free: 2.719 MB / 430.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.00376/0.1455, allocations: 1.342 MB / 466.5 MB, free: 1.348 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.546e-05/0.1456, allocations: 36.52 kB / 466.6 MB, free: 1.309 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.896e-06/0.1456, allocations: 3.938 kB / 466.6 MB, free: 1.305 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003926/0.1495, allocations: 0.8916 MB / 467.5 MB, free: 408 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003081/0.1498, allocations: 79.83 kB / 467.5 MB, free: 328 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002015/0.1518, allocations: 1.354 MB / 468.9 MB, free: 14.92 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005991/0.1524, allocations: 83.7 kB / 469 MB, free: 14.84 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.455e-05/0.1525, allocations: 23.98 kB / 469 MB, free: 14.82 MB / 446.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.0003489/0.1528, allocations: 218.7 kB / 469.2 MB, free: 14.59 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.712e-05/0.1529, allocations: 47.7 kB / 469.3 MB, free: 14.54 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002267/0.1552, allocations: 1.133 MB / 470.4 MB, free: 13.38 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.364e-06/0.1552, allocations: 4 kB / 470.4 MB, free: 13.38 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.1552, allocations: 4 kB / 470.4 MB, free: 13.37 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.1552, allocations: 3.984 kB / 470.4 MB, free: 13.37 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005681/0.1558, allocations: 433.9 kB / 470.8 MB, free: 12.91 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.1558, allocations: 0 / 470.8 MB, free: 12.91 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001964/0.156, allocations: 47.97 kB / 470.9 MB, free: 12.87 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003969/0.1599, allocations: 0.9451 MB / 471.8 MB, free: 11.91 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.034e-05/0.16, allocations: 15.98 kB / 471.8 MB, free: 11.89 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002419/0.1624, allocations: 1.49 MB / 473.3 MB, free: 10.36 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.1624, allocations: 4 kB / 473.3 MB, free: 10.35 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00208/0.1645, allocations: 1.103 MB / 474.4 MB, free: 9.207 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002696/0.1648, allocations: 123.5 kB / 474.6 MB, free: 9.086 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.059e-05/0.1649, allocations: 20 kB / 474.6 MB, free: 9.066 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005505/0.1654, allocations: 67.86 kB / 474.6 MB, free: 9 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001493/0.1656, allocations: 60.34 kB / 474.7 MB, free: 8.941 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.945e-05/0.1656, allocations: 23.98 kB / 474.7 MB, free: 8.918 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002871/0.1659, allocations: 227.1 kB / 474.9 MB, free: 8.695 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1659, allocations: 0 / 474.9 MB, free: 8.695 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000475/0.1664, allocations: 143.9 kB / 475.1 MB, free: 8.555 MB / 446.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.0002414/0.1666, allocations: 140.3 kB / 475.2 MB, free: 8.41 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002117/0.1687, allocations: 0.9048 MB / 476.1 MB, free: 7.488 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.1687, allocations: 0 / 476.1 MB, free: 7.488 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001438/0.1702, allocations: 0.5299 MB / 476.7 MB, free: 6.934 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004149/0.1706, allocations: 49.08 kB / 476.7 MB, free: 6.887 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001842/0.1724, allocations: 0.877 MB / 477.6 MB, free: 5.973 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002173/0.1726, allocations: 204.9 kB / 477.8 MB, free: 5.75 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001604/0.1728, allocations: 51.23 kB / 477.8 MB, free: 5.699 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.307e-05/0.1729, allocations: 36.48 kB / 477.9 MB, free: 5.664 MB / 446.1 MB Notification: Performance of SimCode: time 7.61e-07/0.1729, allocations: 0 / 477.9 MB, free: 5.664 MB / 446.1 MB Notification: Performance of Templates: time 0.1903/0.3632, allocations: 8.869 MB / 486.7 MB, free: 78.1 MB / 446.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 -s ida -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.710915656993166] Failed to read output from testmodel.py, exit status != 0: 0.3712273770943284 0.37994486800000005 0.26718759000000003 Calling exit ...