Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4.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.000907/0.000907, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.0009013/0.0009013, allocations: 162.9 kB / 24.99 MB, free: 8.758 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8105/0.8105, allocations: 158.6 MB / 186.8 MB, free: 2.855 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo): time 0.1657/0.1657, allocations: 36.34 MB / 275.4 MB, free: 10.71 MB / 266.7 MB " [Timeout remaining time 180] Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.TestElectrical4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 4 kB / 353.8 MB, free: 3.785 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.888e-05/2.056e-05, allocations: 5.969 kB / 353.8 MB, free: 3.781 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical4): time 0.00201/0.00203, allocations: 2.27 MB / 356 MB, free: 1.488 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007459/0.002776, allocations: 0.6475 MB / 356.7 MB, free: 0.832 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.891e-05/0.002875, allocations: 3.938 kB / 356.7 MB, free: 0.8281 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001135/0.002989, allocations: 35.59 kB / 356.7 MB, free: 0.793 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001777/0.003167, allocations: 87.27 kB / 356.8 MB, free: 0.707 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001327/0.003299, allocations: 59.92 kB / 356.9 MB, free: 0.6484 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001867/0.003486, allocations: 290.5 kB / 357.2 MB, free: 372 kB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001175/0.003603, allocations: 40.91 kB / 357.2 MB, free: 332 kB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001398/0.003743, allocations: 155.5 kB / 357.4 MB, free: 176 kB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001092/0.003852, allocations: 87.7 kB / 357.4 MB, free: 88 kB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.406e-05/0.003877, allocations: 16 kB / 357.5 MB, free: 72 kB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.092e-05/0.003927, allocations: 23.94 kB / 357.5 MB, free: 48 kB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.659e-05/0.003974, allocations: 51.84 kB / 357.5 MB, free: 15.99 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.718e-05/0.004041, allocations: 79.69 kB / 357.6 MB, free: 15.92 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002266/0.004268, allocations: 167.3 kB / 357.8 MB, free: 15.75 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.00427, allocations: 0 / 357.8 MB, free: 15.75 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.004271, allocations: 3.938 kB / 357.8 MB, free: 15.75 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.658e-06/0.004276, allocations: 0 / 357.8 MB, free: 15.75 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0006292/0.004905, allocations: 0.5889 MB / 358.4 MB, free: 15.12 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.224e-05/0.004937, allocations: 8.031 kB / 358.4 MB, free: 15.12 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.458e-05/0.005032, allocations: 40.8 kB / 358.4 MB, free: 15.08 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002315/0.005263, allocations: 215.5 kB / 358.6 MB, free: 14.84 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.382e-05/0.005277, allocations: 16.38 kB / 358.6 MB, free: 14.82 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.064e-05/0.005308, allocations: 16.38 kB / 358.6 MB, free: 14.81 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002084/0.005516, allocations: 158 kB / 358.8 MB, free: 14.64 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.005527, allocations: 192 / 358.8 MB, free: 14.64 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.349e-05/0.005541, allocations: 8.375 kB / 358.8 MB, free: 14.63 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.226e-06/0.005549, allocations: 7.938 kB / 358.8 MB, free: 14.62 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001198/0.005669, allocations: 71.61 kB / 358.9 MB, free: 14.55 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006362/0.006305, allocations: 0.6035 MB / 359.5 MB, free: 13.91 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001558/0.006461, allocations: 118.8 kB / 359.6 MB, free: 13.78 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.353e-05/0.006524, allocations: 43.67 kB / 359.7 MB, free: 13.73 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.588e-05/0.00654, allocations: 4 kB / 359.7 MB, free: 13.73 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.043e-05/0.00656, allocations: 41.38 kB / 359.7 MB, free: 13.68 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 1.503e-06/0.006562, allocations: 0 / 359.7 MB, free: 13.68 MB / 298.7 MB Notification: Performance of matching and sorting (n=18): time 0.0006161/0.007178, allocations: 410.6 kB / 360.1 MB, free: 13.24 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.725e-05/0.007205, allocations: 51.41 kB / 360.1 MB, free: 13.18 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001769/0.007382, allocations: 284.2 kB / 360.4 MB, free: 12.89 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.528e-05/0.007397, allocations: 33.7 kB / 360.5 MB, free: 12.85 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.941e-05/0.007477, allocations: 191.3 kB / 360.6 MB, free: 12.66 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.963e-05/0.007516, allocations: 59.44 kB / 360.7 MB, free: 12.6 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.942e-05/0.007566, allocations: 47.36 kB / 360.7 MB, free: 12.54 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001138/0.00768, allocations: 0.504 MB / 361.3 MB, free: 12.03 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.78e-05/0.007727, allocations: 23.98 kB / 361.3 MB, free: 12 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.899e-05/0.007786, allocations: 59.2 kB / 361.3 MB, free: 11.94 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001124/0.007899, allocations: 91.27 kB / 361.4 MB, free: 11.84 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.0079, allocations: 0 / 361.4 MB, free: 11.84 MB / 298.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001844/0.008084, allocations: 161.5 kB / 361.6 MB, free: 11.68 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.008098, allocations: 4 kB / 361.6 MB, free: 11.67 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.008102, allocations: 4 kB / 361.6 MB, free: 11.67 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.008114, allocations: 3.984 kB / 361.6 MB, free: 11.66 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002347/0.008349, allocations: 67.89 kB / 361.7 MB, free: 11.6 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008134/0.009162, allocations: 1.85 MB / 363.5 MB, free: 9.625 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.016e-05/0.009232, allocations: 8 kB / 363.5 MB, free: 9.617 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.898e-06/0.009242, allocations: 7.984 kB / 363.5 MB, free: 9.609 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.172e-05/0.009324, allocations: 172.5 kB / 363.7 MB, free: 9.43 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.069e-05/0.009355, allocations: 23.86 kB / 363.7 MB, free: 9.406 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001553/0.00951, allocations: 139.7 kB / 363.9 MB, free: 9.254 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.009512, allocations: 8.125 kB / 363.9 MB, free: 9.246 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-06/0.009513, allocations: 0 / 363.9 MB, free: 9.246 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.009517, allocations: 3.984 kB / 363.9 MB, free: 9.242 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003809/0.009898, allocations: 465.3 kB / 364.3 MB, free: 8.746 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.0099, allocations: 0 / 364.3 MB, free: 8.746 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001335/0.01003, allocations: 47.84 kB / 364.4 MB, free: 8.699 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.01004, allocations: 4 kB / 364.4 MB, free: 8.695 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.138e-05/0.01005, allocations: 4 kB / 364.4 MB, free: 8.691 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.01005, allocations: 0 / 364.4 MB, free: 8.691 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.01005, allocations: 4 kB / 364.4 MB, free: 8.688 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002315/0.01028, allocations: 331.6 kB / 364.7 MB, free: 8.344 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.752e-05/0.01033, allocations: 31.78 kB / 364.7 MB, free: 8.312 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.76e-05/0.01035, allocations: 4 kB / 364.7 MB, free: 8.309 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.77e-05/0.01042, allocations: 4 kB / 364.7 MB, free: 8.305 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.285e-05/0.01046, allocations: 19.91 kB / 364.8 MB, free: 8.285 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.462e-06/0.01046, allocations: 4 kB / 364.8 MB, free: 8.281 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.903e-05/0.01056, allocations: 197.1 kB / 365 MB, free: 8.094 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01056, allocations: 0 / 365 MB, free: 8.094 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001921/0.01076, allocations: 44 kB / 365 MB, free: 8.051 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: 0 () * 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 7.461e-05/0.01083, allocations: 107.2 kB / 365.1 MB, free: 7.938 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000286/0.01112, allocations: 125.3 kB / 365.2 MB, free: 7.812 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.01112, allocations: 0 / 365.2 MB, free: 7.812 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.234e-05/0.01118, allocations: 59.59 kB / 365.3 MB, free: 7.75 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002539/0.01143, allocations: 37.11 kB / 365.3 MB, free: 7.715 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001039/0.01247, allocations: 0.597 MB / 365.9 MB, free: 7.086 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.763e-05/0.01252, allocations: 80.56 kB / 366 MB, free: 6.984 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.038e-05/0.01259, allocations: 29.62 kB / 366 MB, free: 6.957 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.974e-05/0.01264, allocations: 20.5 kB / 366 MB, free: 6.938 MB / 298.7 MB Notification: Performance of SimCode: time 7.12e-07/0.01264, allocations: 0 / 366 MB, free: 6.938 MB / 298.7 MB Notification: Performance of Templates: time 0.004011/0.01665, allocations: 2.447 MB / 368.5 MB, free: 4.5 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4.pipe ; mkfifo ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4.pipe >> ../files/ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4.sim & ./ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4 -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.7991101478692144]