Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical3.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.00092/0.00092, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.000906/0.000906, allocations: 162.2 kB / 25.6 MB, free: 8.59 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 0.847/0.847, allocations: 177.1 MB / 206 MB, free: 4.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo): time 0.102/0.102, allocations: 19.75 MB / 282.3 MB, free: 12.25 MB / 266.7 MB " [Timeout remaining time 180] Using package ThermoPower with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/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(ThermoPower.Test.ElectricalComponents.TestElectrical3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical3") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 359.2 MB, free: 44.16 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.037e-06/1.034e-05, allocations: 3.078 kB / 359.2 MB, free: 44.16 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical3): time 0.002024/0.002034, allocations: 2.305 MB / 361.5 MB, free: 42.35 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007399/0.002774, allocations: 0.6319 MB / 362.1 MB, free: 41.8 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001051/0.002879, allocations: 7.938 kB / 362.1 MB, free: 41.79 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001135/0.002993, allocations: 27.61 kB / 362.2 MB, free: 41.77 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000182/0.003175, allocations: 92.52 kB / 362.2 MB, free: 41.7 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001391/0.003314, allocations: 62.03 kB / 362.3 MB, free: 41.65 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002137/0.003528, allocations: 295.6 kB / 362.6 MB, free: 41.39 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.003638, allocations: 51.59 kB / 362.6 MB, free: 41.35 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001898/0.003828, allocations: 166.5 kB / 362.8 MB, free: 41.22 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001163/0.003944, allocations: 91.36 kB / 362.9 MB, free: 41.16 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.478e-05/0.003969, allocations: 16.5 kB / 362.9 MB, free: 41.14 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.37e-05/0.004012, allocations: 28.69 kB / 362.9 MB, free: 41.11 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.789e-05/0.00404, allocations: 53.44 kB / 363 MB, free: 41.07 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.592e-05/0.004086, allocations: 83.77 kB / 363.1 MB, free: 40.99 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001596/0.004246, allocations: 175.2 kB / 363.2 MB, free: 40.82 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.834e-06/0.004248, allocations: 0 / 363.2 MB, free: 40.82 MB / 314.7 MB Notification: Performance of FrontEnd: time 6.92e-07/0.004248, allocations: 0 / 363.2 MB, free: 40.82 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.004252, allocations: 0 / 363.2 MB, free: 40.82 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0004692/0.004722, allocations: 0.5854 MB / 363.8 MB, free: 40.2 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.61e-05/0.004748, allocations: 12.03 kB / 363.8 MB, free: 40.19 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.711e-05/0.004825, allocations: 48.75 kB / 363.9 MB, free: 40.14 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001596/0.004984, allocations: 211.6 kB / 364.1 MB, free: 39.91 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.003e-05/0.005024, allocations: 66.03 kB / 364.2 MB, free: 39.84 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.305e-05/0.005048, allocations: 30.16 kB / 364.2 MB, free: 39.81 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001433/0.005191, allocations: 157.9 kB / 364.3 MB, free: 39.64 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.005201, allocations: 192 / 364.3 MB, free: 39.64 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.677e-05/0.005218, allocations: 11.94 kB / 364.4 MB, free: 39.62 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.005225, allocations: 5.5 kB / 364.4 MB, free: 39.62 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.373e-05/0.005299, allocations: 48.55 kB / 364.4 MB, free: 39.57 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004355/0.005734, allocations: 0.593 MB / 365 MB, free: 38.95 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001476/0.005882, allocations: 97.3 kB / 365.1 MB, free: 38.85 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.748e-05/0.005919, allocations: 43.7 kB / 365.1 MB, free: 38.8 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.177e-06/0.005928, allocations: 3.938 kB / 365.1 MB, free: 38.8 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.263e-05/0.005941, allocations: 37.89 kB / 365.2 MB, free: 38.75 MB / 314.7 MB Notification: Performance of pre-optimization done (n=18): time 9.72e-07/0.005942, allocations: 0.8125 kB / 365.2 MB, free: 38.75 MB / 314.7 MB Notification: Performance of matching and sorting (n=19): time 0.000378/0.00632, allocations: 374.3 kB / 365.5 MB, free: 38.36 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.71e-05/0.006337, allocations: 61.17 kB / 365.6 MB, free: 38.29 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.311e-05/0.00643, allocations: 268.2 kB / 365.9 MB, free: 38.01 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.015e-06/0.006438, allocations: 29.7 kB / 365.9 MB, free: 37.97 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.714e-05/0.006485, allocations: 199.2 kB / 366.1 MB, free: 37.77 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.376e-05/0.006509, allocations: 71.36 kB / 366.2 MB, free: 37.7 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.04e-05/0.006549, allocations: 52.36 kB / 366.2 MB, free: 37.64 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.088e-05/0.00659, allocations: 0.504 MB / 366.7 MB, free: 37.13 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.519e-05/0.006615, allocations: 21.17 kB / 366.7 MB, free: 37.11 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.581e-05/0.006651, allocations: 47.98 kB / 366.8 MB, free: 37.05 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.521e-05/0.006716, allocations: 80.7 kB / 366.9 MB, free: 36.97 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.006718, allocations: 1.188 kB / 366.9 MB, free: 36.97 MB / 314.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0001111/0.006829, allocations: 146.1 kB / 367 MB, free: 36.82 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.027e-06/0.006838, allocations: 8.812 kB / 367 MB, free: 36.81 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.436e-06/0.006841, allocations: 0 / 367 MB, free: 36.81 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.275e-06/0.006849, allocations: 4 kB / 367 MB, free: 36.81 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002051/0.007055, allocations: 77.11 kB / 367.1 MB, free: 36.73 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.425e-06/0.007057, allocations: 2.188 kB / 367.1 MB, free: 36.73 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.084e-05/0.007118, allocations: 8.75 kB / 367.1 MB, free: 36.73 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/0.007125, allocations: 4 kB / 367.1 MB, free: 36.72 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 (BreakerCommand.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.556e-05/0.00718, allocations: 168.5 kB / 367.3 MB, free: 36.55 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.931e-05/0.00721, allocations: 32.73 kB / 367.3 MB, free: 36.52 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.865e-05/0.007238, allocations: 30.11 kB / 367.3 MB, free: 36.48 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.00724, allocations: 4 kB / 367.3 MB, free: 36.48 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.007242, allocations: 0.7812 kB / 367.3 MB, free: 36.48 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.007245, allocations: 5.672 kB / 367.3 MB, free: 36.48 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002687/0.007514, allocations: 418.4 kB / 367.8 MB, free: 36.04 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.007516, allocations: 7.969 kB / 367.8 MB, free: 36.03 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001712/0.007687, allocations: 59.97 kB / 367.8 MB, free: 35.97 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.007689, allocations: 0 / 367.8 MB, free: 35.97 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.007697, allocations: 4 kB / 367.8 MB, free: 35.96 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.007698, allocations: 4 kB / 367.8 MB, free: 35.96 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.007699, allocations: 0 / 367.8 MB, free: 35.96 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001605/0.00786, allocations: 315.5 kB / 368.1 MB, free: 35.64 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.915e-05/0.007899, allocations: 35.77 kB / 368.2 MB, free: 35.6 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.807e-05/0.007917, allocations: 7.938 kB / 368.2 MB, free: 35.59 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.693e-05/0.007984, allocations: 11.98 kB / 368.2 MB, free: 35.58 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.007e-05/0.008014, allocations: 11.98 kB / 368.2 MB, free: 35.57 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.59e-06/0.008019, allocations: 7.984 kB / 368.2 MB, free: 35.56 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.986e-05/0.008069, allocations: 193.1 kB / 368.4 MB, free: 35.38 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008069, allocations: 0 / 368.4 MB, free: 35.38 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001694/0.008239, allocations: 44 kB / 368.4 MB, free: 35.33 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (generator.phi,generator.omega_m,generator.omega_e_filt,grid.port.theta) * Number of discrete variables: 1 (BreakerCommand.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 4.845e-05/0.008287, allocations: 99.03 kB / 368.5 MB, free: 35.23 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001034/0.008391, allocations: 88.23 kB / 368.6 MB, free: 35.14 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.182e-06/0.008392, allocations: 0 / 368.6 MB, free: 35.14 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.926e-05/0.008431, allocations: 57.88 kB / 368.7 MB, free: 35.08 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000227/0.008658, allocations: 45.14 kB / 368.7 MB, free: 35.04 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007234/0.009381, allocations: 0.5544 MB / 369.3 MB, free: 34.46 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.828e-05/0.00941, allocations: 80.22 kB / 369.4 MB, free: 34.36 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.573e-05/0.009465, allocations: 27.44 kB / 369.4 MB, free: 34.33 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.519e-05/0.009541, allocations: 102.2 kB / 369.5 MB, free: 34.23 MB / 314.7 MB Notification: Performance of SimCode: time 4.21e-07/0.009541, allocations: 0 / 369.5 MB, free: 34.23 MB / 314.7 MB Notification: Performance of Templates: time 0.003218/0.01276, allocations: 2.299 MB / 371.8 MB, free: 32.01 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical3.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical3.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical3.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical3.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical3.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical3 -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical3.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.514186289627105]