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.001837/0.001837, allocations: 105 kB / 20.49 MB, free: 1.457 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.002236/0.002236, allocations: 219.4 kB / 23.81 MB, free: 4.648 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.462/1.462, allocations: 230.6 MB / 257.6 MB, free: 8.023 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.03627/0.03627, allocations: 6.128 MB / 320.1 MB, free: 12.96 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.001501/0.001501, allocations: 43.92 kB / 445.8 MB, free: 4.859 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08885/0.09035, allocations: 55.03 MB / 0.4891 GB, free: 13.73 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableTransformers.WithVariableLoad): time 0.00436/0.09471, allocations: 3.192 MB / 0.4922 GB, free: 10.52 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001934/0.09665, allocations: 1.164 MB / 0.4933 GB, free: 9.355 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001193/0.09677, allocations: 4 kB / 0.4933 GB, free: 9.352 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004069/0.09717, allocations: 163 kB / 0.4935 GB, free: 9.191 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005711/0.09774, allocations: 254.5 kB / 0.4937 GB, free: 8.941 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002286/0.1, allocations: 1.283 MB / 0.495 GB, free: 7.656 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006385/0.1007, allocations: 0.5058 MB / 0.4955 GB, free: 7.148 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000175/0.1008, allocations: 84.58 kB / 0.4955 GB, free: 7.059 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002206/0.1011, allocations: 207.3 kB / 0.4957 GB, free: 6.855 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003425/0.1014, allocations: 251 kB / 0.496 GB, free: 6.609 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.936e-05/0.1015, allocations: 44 kB / 0.496 GB, free: 6.566 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005153/0.102, allocations: 323.7 kB / 0.4963 GB, free: 6.25 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.655e-05/0.1021, allocations: 83.62 kB / 0.4964 GB, free: 6.168 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002252/0.1023, allocations: 230.8 kB / 0.4966 GB, free: 5.941 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008425/0.1031, allocations: 0.6968 MB / 0.4973 GB, free: 5.242 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1031, allocations: 4 kB / 0.4973 GB, free: 5.238 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1032, allocations: 0 / 0.4973 GB, free: 5.238 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.034e-05/0.1032, allocations: 0 / 0.4973 GB, free: 5.238 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.004597/0.1078, allocations: 1.255 MB / 0.4985 GB, free: 3.945 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.171e-05/0.1078, allocations: 8.031 kB / 0.4985 GB, free: 3.938 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001202/0.1079, allocations: 52.66 kB / 0.4986 GB, free: 3.887 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004653/0.1084, allocations: 302.3 kB / 0.4989 GB, free: 3.566 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.93e-05/0.1084, allocations: 50.92 kB / 0.4989 GB, free: 3.512 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.269e-05/0.1085, allocations: 40.38 kB / 0.499 GB, free: 3.473 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009373/0.1095, allocations: 490 kB / 0.4994 GB, free: 2.988 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.1095, allocations: 0 / 0.4994 GB, free: 2.988 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.627e-05/0.1095, allocations: 12 kB / 0.4994 GB, free: 2.977 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.173e-05/0.1095, allocations: 11.98 kB / 0.4995 GB, free: 2.965 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009267/0.1105, allocations: 474.4 kB / 0.4999 GB, free: 2.5 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002805/0.1133, allocations: 1.531 MB / 0.5014 GB, free: 0.8945 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001148/0.1144, allocations: 496.8 kB / 0.5019 GB, free: 404 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005582/0.115, allocations: 273.5 kB / 0.5021 GB, free: 128 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001208/0.1151, allocations: 16.31 kB / 0.5022 GB, free: 112 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00094/0.116, allocations: 0.5397 MB / 0.5027 GB, free: 15.54 MB / 382.1 MB Notification: Performance of pre-optimization done (n=51): time 1.664e-06/0.116, allocations: 0 / 0.5027 GB, free: 15.54 MB / 382.1 MB Notification: Performance of matching and sorting (n=51): time 0.006288/0.1223, allocations: 1.736 MB / 0.5044 GB, free: 13.78 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001169/0.1224, allocations: 199.9 kB / 0.5046 GB, free: 13.54 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003805/0.1228, allocations: 316.5 kB / 0.5049 GB, free: 13.22 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.605e-05/0.1229, allocations: 41.7 kB / 0.5049 GB, free: 13.18 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001283/0.123, allocations: 173 kB / 0.5051 GB, free: 13 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001473/0.1231, allocations: 162.7 kB / 0.5052 GB, free: 12.84 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001915/0.1233, allocations: 110.2 kB / 0.5053 GB, free: 12.73 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001645/0.1235, allocations: 354.7 kB / 0.5057 GB, free: 12.38 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005284/0.124, allocations: 289 kB / 0.5059 GB, free: 12.09 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005814/0.1246, allocations: 349.7 kB / 0.5063 GB, free: 11.74 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008505/0.1331, allocations: 2.175 MB / 0.5084 GB, free: 9.527 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.1331, allocations: 0 / 0.5084 GB, free: 9.527 MB / 382.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003691/0.1368, allocations: 1.257 MB / 0.5096 GB, free: 8.254 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.652e-05/0.1369, allocations: 41.69 kB / 0.5097 GB, free: 8.207 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.1369, allocations: 4 kB / 0.5097 GB, free: 8.203 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004001/0.1409, allocations: 0.8611 MB / 0.5105 GB, free: 7.336 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003056/0.1412, allocations: 75.84 kB / 0.5106 GB, free: 7.262 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001908/0.1431, allocations: 1.265 MB / 0.5118 GB, free: 5.965 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005711/0.1436, allocations: 91.67 kB / 0.5119 GB, free: 5.875 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.451e-05/0.1437, allocations: 20 kB / 0.5119 GB, free: 5.855 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.0003291/0.144, allocations: 229.7 kB / 0.5121 GB, free: 5.621 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.26e-05/0.1441, allocations: 47.72 kB / 0.5122 GB, free: 5.574 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002127/0.1463, allocations: 1.047 MB / 0.5132 GB, free: 4.512 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.754e-06/0.1463, allocations: 4 kB / 0.5132 GB, free: 4.508 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.1463, allocations: 3.938 kB / 0.5132 GB, free: 4.504 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.415e-06/0.1463, allocations: 3.984 kB / 0.5132 GB, free: 4.5 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006744/0.1469, allocations: 0.6064 MB / 0.5138 GB, free: 3.852 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.1469, allocations: 0 / 0.5138 GB, free: 3.852 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001975/0.1471, allocations: 47.92 kB / 0.5139 GB, free: 3.805 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00396/0.1511, allocations: 0.9044 MB / 0.5147 GB, free: 2.891 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.929e-05/0.1512, allocations: 19.98 kB / 0.5148 GB, free: 2.871 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00226/0.1534, allocations: 1.397 MB / 0.5161 GB, free: 1.441 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.1534, allocations: 4 kB / 0.5161 GB, free: 1.438 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001957/0.1554, allocations: 1.017 MB / 0.5171 GB, free: 404 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002509/0.1556, allocations: 119.5 kB / 0.5172 GB, free: 284 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001005/0.1557, allocations: 28.06 kB / 0.5173 GB, free: 256 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005244/0.1562, allocations: 63.94 kB / 0.5173 GB, free: 192 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001455/0.1564, allocations: 52.34 kB / 0.5174 GB, free: 140 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.253e-05/0.1564, allocations: 20 kB / 0.5174 GB, free: 120 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.1787/0.3351, allocations: 226.4 kB / 0.5176 GB, free: 31.47 MB / 382.1 MB Notification: Performance of sort global known variables: time 3e-07/0.3351, allocations: 0 / 0.5176 GB, free: 31.47 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006211/0.3358, allocations: 136.6 kB / 0.5177 GB, free: 31.47 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.0002518/0.336, allocations: 147.7 kB / 0.5179 GB, free: 31.38 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001836/0.3379, allocations: 0.8256 MB / 0.5187 GB, free: 31.32 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.3379, allocations: 2.469 kB / 0.5187 GB, free: 31.32 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001137/0.339, allocations: 485.1 kB / 0.5192 GB, free: 31.25 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003475/0.3393, allocations: 52.75 kB / 0.5192 GB, free: 31.25 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001379/0.3407, allocations: 0.8741 MB / 0.5201 GB, free: 30.9 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001799/0.3409, allocations: 0.8072 MB / 0.5209 GB, free: 30.21 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.405e-05/0.341, allocations: 38.19 kB / 0.5209 GB, free: 30.2 MB / 382.1 MB Notification: Performance of SimCode: time 3.31e-07/0.341, allocations: 0 / 0.5209 GB, free: 30.2 MB / 382.1 MB Notification: Performance of Templates: time 0.01075/0.3517, allocations: 7.299 MB / 0.528 GB, free: 29.63 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: 7.271686610998586] Failed to read output from testmodel.py, exit status != 0: 0.3592516880016774 0.371059085 0.265499663 Calling exit ...