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.001217/0.001217, allocations: 87.56 kB / 21.19 MB, free: 3.402 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.001359/0.001359, allocations: 161 kB / 24.56 MB, free: 40 kB / 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.8825/0.8825, allocations: 177.1 MB / 205 MB, free: 5.605 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.09806/0.09806, allocations: 19.74 MB / 281.2 MB, free: 9.246 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.322e-06/1.322e-06, allocations: 0 / 358 MB, free: 6.598 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.297e-05/1.43e-05, allocations: 6.25 kB / 358 MB, free: 6.59 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical3): time 0.00226/0.002274, allocations: 2.324 MB / 360.3 MB, free: 4.25 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.000825/0.003099, allocations: 0.631 MB / 360.9 MB, free: 3.613 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.75e-05/0.003196, allocations: 4 kB / 360.9 MB, free: 3.609 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001184/0.003315, allocations: 31.66 kB / 361 MB, free: 3.578 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001949/0.00351, allocations: 91.2 kB / 361 MB, free: 3.488 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001367/0.003646, allocations: 63.84 kB / 361.1 MB, free: 3.426 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002266/0.003873, allocations: 298.6 kB / 361.4 MB, free: 3.133 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000122/0.003995, allocations: 53.58 kB / 361.4 MB, free: 3.082 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001982/0.004193, allocations: 171.5 kB / 361.6 MB, free: 2.914 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001195/0.004313, allocations: 87.7 kB / 361.7 MB, free: 2.828 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.903e-05/0.004342, allocations: 20 kB / 361.7 MB, free: 2.809 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.237e-05/0.004394, allocations: 23.94 kB / 361.7 MB, free: 2.785 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.353e-05/0.004427, allocations: 51.77 kB / 361.8 MB, free: 2.734 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.371e-05/0.004491, allocations: 83.75 kB / 361.9 MB, free: 2.652 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002026/0.004694, allocations: 167.3 kB / 362 MB, free: 2.488 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.703e-06/0.004696, allocations: 0 / 362 MB, free: 2.488 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.004696, allocations: 4 kB / 362 MB, free: 2.484 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.577e-06/0.0047, allocations: 0 / 362 MB, free: 2.484 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.0006126/0.005312, allocations: 0.5851 MB / 362.6 MB, free: 1.863 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.291e-05/0.005345, allocations: 15.97 kB / 362.6 MB, free: 1.848 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.359e-05/0.005439, allocations: 40.75 kB / 362.7 MB, free: 1.809 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002151/0.005654, allocations: 219.6 kB / 362.9 MB, free: 1.57 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.104e-05/0.005715, allocations: 67.97 kB / 363 MB, free: 1.492 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.912e-05/0.005744, allocations: 16.38 kB / 363 MB, free: 1.477 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002101/0.005954, allocations: 169.7 kB / 363.1 MB, free: 1.293 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.005964, allocations: 192 / 363.1 MB, free: 1.293 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.454e-05/0.005979, allocations: 11.94 kB / 363.2 MB, free: 1.281 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.005986, allocations: 4 kB / 363.2 MB, free: 1.277 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001158/0.006102, allocations: 67.88 kB / 363.2 MB, free: 1.211 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006122/0.006714, allocations: 0.6228 MB / 363.9 MB, free: 0.5469 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002034/0.006917, allocations: 107 kB / 364 MB, free: 440 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.423e-05/0.006982, allocations: 47.67 kB / 364 MB, free: 388 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.275e-05/0.006994, allocations: 4 kB / 364 MB, free: 384 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.03e-05/0.007015, allocations: 41.33 kB / 364 MB, free: 332 kB / 282.7 MB Notification: Performance of pre-optimization done (n=18): time 1.192e-06/0.007016, allocations: 0 / 364 MB, free: 332 kB / 282.7 MB Notification: Performance of matching and sorting (n=19): time 0.0005618/0.007578, allocations: 418.5 kB / 364.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.354e-05/0.007601, allocations: 59.41 kB / 364.5 MB, free: 15.81 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001661/0.007767, allocations: 280.3 kB / 364.8 MB, free: 15.52 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.361e-05/0.007781, allocations: 29.7 kB / 364.8 MB, free: 15.49 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.431e-05/0.007855, allocations: 195.3 kB / 365 MB, free: 15.29 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.534e-05/0.007891, allocations: 67.38 kB / 365.1 MB, free: 15.23 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.961e-05/0.00794, allocations: 51.31 kB / 365.1 MB, free: 15.17 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001046/0.008045, allocations: 0.504 MB / 365.6 MB, free: 14.65 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.63e-05/0.008091, allocations: 27.92 kB / 365.7 MB, free: 14.62 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.905e-05/0.00815, allocations: 63.34 kB / 365.7 MB, free: 14.55 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001052/0.008255, allocations: 85.59 kB / 365.8 MB, free: 14.46 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.008256, allocations: 4 kB / 365.8 MB, free: 14.46 MB / 298.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0001667/0.008423, allocations: 164.1 kB / 366 MB, free: 14.3 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.08e-05/0.008434, allocations: 8 kB / 366 MB, free: 14.29 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.008438, allocations: 0 / 366 MB, free: 14.29 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.008451, allocations: 0 / 366 MB, free: 14.29 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002283/0.008679, allocations: 75.89 kB / 366 MB, free: 14.21 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.008684, allocations: 0 / 366 MB, free: 14.21 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.512e-05/0.008749, allocations: 12.03 kB / 366.1 MB, free: 14.2 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.127e-06/0.008758, allocations: 11.98 kB / 366.1 MB, free: 14.19 MB / 298.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 7.286e-05/0.008831, allocations: 160.6 kB / 366.2 MB, free: 14.02 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.585e-05/0.008866, allocations: 39.78 kB / 366.3 MB, free: 13.98 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.577e-05/0.008902, allocations: 30.05 kB / 366.3 MB, free: 13.95 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.008905, allocations: 4 kB / 366.3 MB, free: 13.95 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.008908, allocations: 0 / 366.3 MB, free: 13.95 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.008911, allocations: 0 / 366.3 MB, free: 13.95 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003888/0.0093, allocations: 465.2 kB / 366.8 MB, free: 13.45 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.009301, allocations: 3.938 kB / 366.8 MB, free: 13.45 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001905/0.009492, allocations: 67.91 kB / 366.8 MB, free: 13.38 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.125e-06/0.009495, allocations: 4 kB / 366.8 MB, free: 13.38 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/0.009504, allocations: 0 / 366.8 MB, free: 13.38 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.009505, allocations: 0 / 366.8 MB, free: 13.38 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-07/0.009505, allocations: 0 / 366.8 MB, free: 13.38 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002451/0.00975, allocations: 330.9 kB / 367.2 MB, free: 13.04 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.656e-05/0.009797, allocations: 35.84 kB / 367.2 MB, free: 13 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.875e-05/0.009816, allocations: 4 kB / 367.2 MB, free: 13 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.102e-05/0.009887, allocations: 7.984 kB / 367.2 MB, free: 12.99 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.091e-05/0.009928, allocations: 23.91 kB / 367.2 MB, free: 12.96 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.673e-06/0.009934, allocations: 4 kB / 367.2 MB, free: 12.96 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.796e-05/0.01003, allocations: 201.1 kB / 367.4 MB, free: 12.77 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01003, allocations: 0 / 367.4 MB, free: 12.77 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001831/0.01022, allocations: 44 kB / 367.5 MB, free: 12.72 MB / 298.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.913e-05/0.01027, allocations: 91.25 kB / 367.6 MB, free: 12.62 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001553/0.01043, allocations: 95.58 kB / 367.6 MB, free: 12.53 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.022e-06/0.01043, allocations: 0 / 367.6 MB, free: 12.53 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.168e-05/0.01049, allocations: 67.55 kB / 367.7 MB, free: 12.46 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002528/0.01075, allocations: 53.2 kB / 367.8 MB, free: 12.41 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009471/0.01169, allocations: 0.5606 MB / 368.3 MB, free: 11.81 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.791e-05/0.01174, allocations: 80.22 kB / 368.4 MB, free: 11.71 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.88e-05/0.0118, allocations: 25.92 kB / 368.4 MB, free: 11.68 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.806e-05/0.01185, allocations: 20.5 kB / 368.4 MB, free: 11.66 MB / 298.7 MB Notification: Performance of SimCode: time 5.91e-07/0.01185, allocations: 0 / 368.4 MB, free: 11.66 MB / 298.7 MB Notification: Performance of Templates: time 0.003622/0.01547, allocations: 2.063 MB / 370.5 MB, free: 9.629 MB / 298.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.604208543896675]