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.0009833/0.0009833, allocations: 80.8 kB / 21.5 MB, free: 2.996 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.001008/0.001008, allocations: 173.3 kB / 24.91 MB, free: 9.211 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.9415/0.9415, allocations: 177.1 MB / 205.3 MB, free: 5.473 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.09635/0.09635, allocations: 19.74 MB / 281.6 MB, free: 9.141 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.172e-06/1.172e-06, allocations: 0 / 305.2 MB, free: 13.11 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.432e-05/1.549e-05, allocations: 4.656 kB / 305.2 MB, free: 13.11 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical3): time 0.003076/0.003092, allocations: 2.352 MB / 307.6 MB, free: 11.54 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001079/0.004171, allocations: 0.6441 MB / 308.2 MB, free: 11 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001074/0.004278, allocations: 7.938 kB / 308.2 MB, free: 10.99 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001134/0.004392, allocations: 35.14 kB / 308.2 MB, free: 10.96 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001975/0.004589, allocations: 96.16 kB / 308.3 MB, free: 10.89 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001245/0.004714, allocations: 58.27 kB / 308.4 MB, free: 10.85 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002323/0.004946, allocations: 295.3 kB / 308.7 MB, free: 10.59 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.00506, allocations: 52.86 kB / 308.7 MB, free: 10.54 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002328/0.005292, allocations: 175 kB / 308.9 MB, free: 10.41 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001327/0.005425, allocations: 87.28 kB / 309 MB, free: 10.34 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.699e-05/0.005452, allocations: 20 kB / 309 MB, free: 10.32 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.597e-05/0.005508, allocations: 20 kB / 309 MB, free: 10.3 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.818e-05/0.005546, allocations: 53.69 kB / 309.1 MB, free: 10.26 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.751e-05/0.005604, allocations: 81.17 kB / 309.2 MB, free: 10.19 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002002/0.005804, allocations: 176.8 kB / 309.3 MB, free: 10.05 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.534e-06/0.005806, allocations: 0.5156 kB / 309.3 MB, free: 10.05 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.005807, allocations: 0 / 309.3 MB, free: 10.05 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.747e-06/0.005811, allocations: 4 kB / 309.3 MB, free: 10.05 MB / 282.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.0004964/0.006307, allocations: 476.8 kB / 309.8 MB, free: 9.59 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.78e-05/0.006335, allocations: 8.875 kB / 309.8 MB, free: 9.582 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.164e-05/0.006417, allocations: 36.06 kB / 309.8 MB, free: 9.555 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001813/0.006598, allocations: 190.2 kB / 310 MB, free: 9.352 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.966e-05/0.006648, allocations: 68.53 kB / 310.1 MB, free: 9.273 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.23e-05/0.00667, allocations: 16.38 kB / 310.1 MB, free: 9.258 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001658/0.006836, allocations: 164 kB / 310.3 MB, free: 9.113 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.006846, allocations: 4.172 kB / 310.3 MB, free: 9.109 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.006857, allocations: 7.938 kB / 310.3 MB, free: 9.102 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/0.006862, allocations: 4 kB / 310.3 MB, free: 9.098 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.522e-05/0.006937, allocations: 49.08 kB / 310.3 MB, free: 9.051 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004431/0.007381, allocations: 419.6 kB / 310.7 MB, free: 8.621 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001466/0.007527, allocations: 91.95 kB / 310.8 MB, free: 8.523 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.997e-05/0.007567, allocations: 36.84 kB / 310.9 MB, free: 8.484 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.035e-05/0.007577, allocations: 4 kB / 310.9 MB, free: 8.48 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.765e-05/0.007595, allocations: 30.56 kB / 310.9 MB, free: 8.441 MB / 282.7 MB Notification: Performance of pre-optimization done (n=18): time 1.122e-06/0.007596, allocations: 3.938 kB / 310.9 MB, free: 8.438 MB / 282.7 MB Notification: Performance of matching and sorting (n=19): time 0.0004319/0.008028, allocations: 340.4 kB / 311.2 MB, free: 8.074 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.237e-05/0.008051, allocations: 55.41 kB / 311.3 MB, free: 8.008 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001311/0.008182, allocations: 221 kB / 311.5 MB, free: 7.781 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.085e-05/0.008193, allocations: 25.7 kB / 311.5 MB, free: 7.75 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.082e-05/0.008243, allocations: 133 kB / 311.7 MB, free: 7.613 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.23e-05/0.008276, allocations: 71.38 kB / 311.7 MB, free: 7.543 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.368e-05/0.008319, allocations: 37.69 kB / 311.8 MB, free: 7.5 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.227e-05/0.008392, allocations: 338.8 kB / 312.1 MB, free: 7.16 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.706e-05/0.008419, allocations: 19.98 kB / 312.1 MB, free: 7.141 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.801e-05/0.008457, allocations: 37.69 kB / 312.2 MB, free: 7.098 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.806e-05/0.008535, allocations: 83.83 kB / 312.2 MB, free: 7.012 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.008536, allocations: 0 / 312.2 MB, free: 7.012 MB / 282.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0001133/0.008649, allocations: 108.3 kB / 312.3 MB, free: 6.902 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.018e-05/0.008659, allocations: 7.938 kB / 312.4 MB, free: 6.895 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.008663, allocations: 0 / 312.4 MB, free: 6.895 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.935e-06/0.008671, allocations: 4 kB / 312.4 MB, free: 6.891 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002905/0.008961, allocations: 103.9 kB / 312.5 MB, free: 6.789 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.705e-06/0.008964, allocations: 4 kB / 312.5 MB, free: 6.785 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.798e-05/0.009022, allocations: 12 kB / 312.5 MB, free: 6.773 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.117e-05/0.009033, allocations: 0 / 312.5 MB, free: 6.773 MB / 282.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 8.635e-05/0.00912, allocations: 129.8 kB / 312.6 MB, free: 6.637 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.175e-05/0.009161, allocations: 19.92 kB / 312.6 MB, free: 6.617 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.243e-05/0.009204, allocations: 30.12 kB / 312.6 MB, free: 6.59 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.009209, allocations: 7.984 kB / 312.7 MB, free: 6.582 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/0.009211, allocations: 0 / 312.7 MB, free: 6.582 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.009214, allocations: 0 / 312.7 MB, free: 6.582 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003447/0.009559, allocations: 310.6 kB / 313 MB, free: 6.254 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.009562, allocations: 3.938 kB / 313 MB, free: 6.25 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002311/0.009793, allocations: 75.94 kB / 313 MB, free: 6.176 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.806e-06/0.009795, allocations: 0 / 313 MB, free: 6.176 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/0.009805, allocations: 8 kB / 313 MB, free: 6.168 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.009807, allocations: 3.938 kB / 313.1 MB, free: 6.164 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.009809, allocations: 3.984 kB / 313.1 MB, free: 6.16 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001767/0.009985, allocations: 230.4 kB / 313.3 MB, free: 5.922 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.452e-05/0.01003, allocations: 39.83 kB / 313.3 MB, free: 5.883 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.71e-05/0.01005, allocations: 0 / 313.3 MB, free: 5.883 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.915e-05/0.01012, allocations: 8 kB / 313.3 MB, free: 5.875 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.257e-05/0.01015, allocations: 11.97 kB / 313.3 MB, free: 5.863 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.254e-06/0.01016, allocations: 8 kB / 313.3 MB, free: 5.855 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.501e-05/0.01021, allocations: 78.77 kB / 313.4 MB, free: 5.777 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01021, allocations: 0 / 313.4 MB, free: 5.777 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001484/0.01036, allocations: 44 kB / 313.5 MB, free: 5.734 MB / 282.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 5.649e-05/0.01042, allocations: 76.36 kB / 313.5 MB, free: 5.648 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000105/0.01052, allocations: 84.72 kB / 313.6 MB, free: 5.562 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.01052, allocations: 0 / 313.6 MB, free: 5.562 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.421e-05/0.01057, allocations: 52.77 kB / 313.7 MB, free: 5.508 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001827/0.01075, allocations: 42.16 kB / 313.7 MB, free: 5.469 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007971/0.01155, allocations: 0.5032 MB / 314.2 MB, free: 4.941 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.412e-05/0.01159, allocations: 80.22 kB / 314.3 MB, free: 4.84 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.243e-05/0.01165, allocations: 25.97 kB / 314.3 MB, free: 4.816 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.992e-05/0.01174, allocations: 87.36 kB / 314.4 MB, free: 4.73 MB / 282.7 MB Notification: Performance of SimCode: time 5.21e-07/0.01174, allocations: 0 / 314.4 MB, free: 4.73 MB / 282.7 MB Notification: Performance of Templates: time 0.003672/0.01542, allocations: 2.245 MB / 316.7 MB, free: 2.547 MB / 282.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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical3.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.6186200766824186]