Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_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.001349/0.001349, 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.00166/0.00166, allocations: 166.6 kB / 24.99 MB, free: 8.746 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.9196/0.9196, allocations: 177.1 MB / 205.3 MB, free: 5.617 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.1094/0.1094, allocations: 19.73 MB / 281.5 MB, free: 9.324 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.TestElectrical4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 357.9 MB, free: 8.027 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.105e-05/2.241e-05, allocations: 6.25 kB / 357.9 MB, free: 8.02 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical4): time 0.002459/0.002481, allocations: 2.304 MB / 360.2 MB, free: 5.703 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007598/0.003241, allocations: 0.6386 MB / 360.9 MB, free: 5.059 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.682e-05/0.003338, allocations: 11.94 kB / 360.9 MB, free: 5.047 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001157/0.003454, allocations: 31.66 kB / 360.9 MB, free: 5.016 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001833/0.003637, allocations: 87.27 kB / 361 MB, free: 4.93 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000124/0.003761, allocations: 55.91 kB / 361.1 MB, free: 4.875 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002171/0.003978, allocations: 294.4 kB / 361.3 MB, free: 4.586 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001237/0.004102, allocations: 40.91 kB / 361.4 MB, free: 4.543 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001836/0.004286, allocations: 167.5 kB / 361.5 MB, free: 4.379 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001147/0.0044, allocations: 83.72 kB / 361.6 MB, free: 4.297 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.62e-05/0.004426, allocations: 16 kB / 361.6 MB, free: 4.281 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.537e-05/0.004472, allocations: 24 kB / 361.7 MB, free: 4.258 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 2.844e-05/0.0045, allocations: 47.77 kB / 361.7 MB, free: 4.211 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 5.981e-05/0.00456, allocations: 83.75 kB / 361.8 MB, free: 4.129 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001878/0.004748, allocations: 163.3 kB / 362 MB, free: 3.969 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.00475, allocations: 0 / 362 MB, free: 3.969 MB / 330.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.004751, allocations: 0 / 362 MB, free: 3.969 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.767e-06/0.004755, allocations: 0 / 362 MB, free: 3.969 MB / 330.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.0005807/0.005335, allocations: 0.5809 MB / 362.5 MB, free: 3.352 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.068e-05/0.005366, allocations: 12.03 kB / 362.5 MB, free: 3.34 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.05e-05/0.005457, allocations: 44.73 kB / 362.6 MB, free: 3.297 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002051/0.005662, allocations: 211.6 kB / 362.8 MB, free: 3.066 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.246e-05/0.005674, allocations: 16.31 kB / 362.8 MB, free: 3.051 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.012e-05/0.005704, allocations: 24.36 kB / 362.8 MB, free: 3.027 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001959/0.0059, allocations: 161.9 kB / 363 MB, free: 2.852 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.005911, allocations: 192 / 363 MB, free: 2.852 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.442e-05/0.005926, allocations: 8.375 kB / 363 MB, free: 2.844 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.717e-06/0.005934, allocations: 7.938 kB / 363 MB, free: 2.836 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00012/0.006054, allocations: 69.28 kB / 363.1 MB, free: 2.77 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005634/0.006618, allocations: 0.6036 MB / 363.7 MB, free: 2.125 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001352/0.006753, allocations: 99.06 kB / 363.8 MB, free: 2.016 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.212e-05/0.006815, allocations: 47.7 kB / 363.8 MB, free: 1.965 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.447e-05/0.006829, allocations: 7.938 kB / 363.8 MB, free: 1.957 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.811e-05/0.006848, allocations: 37.39 kB / 363.9 MB, free: 1.91 MB / 330.7 MB Notification: Performance of pre-optimization done (n=17): time 1.353e-06/0.006849, allocations: 0 / 363.9 MB, free: 1.91 MB / 330.7 MB Notification: Performance of matching and sorting (n=18): time 0.0005577/0.007407, allocations: 408 kB / 364.3 MB, free: 1.477 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.639e-05/0.007433, allocations: 51.41 kB / 364.3 MB, free: 1.414 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001624/0.007595, allocations: 276.3 kB / 364.6 MB, free: 1.125 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.372e-05/0.007609, allocations: 33.7 kB / 364.6 MB, free: 1.086 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.158e-05/0.007681, allocations: 187.3 kB / 364.8 MB, free: 0.8984 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.374e-05/0.007714, allocations: 71.42 kB / 364.9 MB, free: 0.8281 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.647e-05/0.007761, allocations: 51.36 kB / 364.9 MB, free: 0.7695 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.593e-05/0.007857, allocations: 0.4962 MB / 365.4 MB, free: 268 kB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.647e-05/0.007903, allocations: 31.97 kB / 365.4 MB, free: 236 kB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.41e-05/0.007957, allocations: 49.8 kB / 365.5 MB, free: 180 kB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001063/0.008064, allocations: 102 kB / 365.6 MB, free: 72 kB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.81e-07/0.008065, allocations: 0 / 365.6 MB, free: 72 kB / 330.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001654/0.00823, allocations: 157.3 kB / 365.8 MB, free: 15.91 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.008243, allocations: 10.44 kB / 365.8 MB, free: 15.9 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.008248, allocations: 8.031 kB / 365.8 MB, free: 15.89 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.099e-05/0.008259, allocations: 0 / 365.8 MB, free: 15.89 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002182/0.008477, allocations: 63.95 kB / 365.8 MB, free: 15.83 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007164/0.009193, allocations: 1.846 MB / 367.7 MB, free: 13.86 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.787e-05/0.009261, allocations: 12.16 kB / 367.7 MB, free: 13.85 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.988e-06/0.009271, allocations: 15.88 kB / 367.7 MB, free: 13.84 MB / 346.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 7.649e-05/0.009348, allocations: 160.5 kB / 367.9 MB, free: 13.67 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.34e-05/0.009381, allocations: 35.81 kB / 367.9 MB, free: 13.63 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001469/0.009528, allocations: 145.2 kB / 368 MB, free: 13.49 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.00953, allocations: 4 kB / 368 MB, free: 13.48 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.41e-07/0.00953, allocations: 0 / 368 MB, free: 13.48 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.009533, allocations: 0 / 368 MB, free: 13.48 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003586/0.009891, allocations: 463.4 kB / 368.5 MB, free: 12.99 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.009893, allocations: 0 / 368.5 MB, free: 12.99 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001199/0.01001, allocations: 43.92 kB / 368.5 MB, free: 12.95 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.01001, allocations: 4 kB / 368.5 MB, free: 12.95 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.031e-05/0.01002, allocations: 4 kB / 368.5 MB, free: 12.94 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.01003, allocations: 0 / 368.5 MB, free: 12.94 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.01003, allocations: 3.938 kB / 368.5 MB, free: 12.94 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002239/0.01025, allocations: 327.6 kB / 368.9 MB, free: 12.6 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.37e-05/0.0103, allocations: 31.83 kB / 368.9 MB, free: 12.57 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.689e-05/0.01031, allocations: 4 kB / 368.9 MB, free: 12.56 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.682e-05/0.01038, allocations: 8 kB / 368.9 MB, free: 12.55 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.739e-05/0.01042, allocations: 19.91 kB / 368.9 MB, free: 12.54 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.392e-06/0.01042, allocations: 8 kB / 368.9 MB, free: 12.53 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.646e-05/0.01052, allocations: 197.1 kB / 369.1 MB, free: 12.34 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01052, allocations: 0 / 369.1 MB, free: 12.34 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001792/0.0107, allocations: 44 kB / 369.2 MB, free: 12.29 MB / 346.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 6.764e-05/0.01077, allocations: 95.25 kB / 369.3 MB, free: 12.19 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002591/0.01103, allocations: 140.6 kB / 369.4 MB, free: 12.05 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.082e-06/0.01103, allocations: 0 / 369.4 MB, free: 12.05 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.007e-05/0.01109, allocations: 55.59 kB / 369.5 MB, free: 11.99 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002418/0.01133, allocations: 40.5 kB / 369.5 MB, free: 11.95 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009507/0.01228, allocations: 0.5783 MB / 370.1 MB, free: 11.34 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.74e-05/0.01233, allocations: 84.55 kB / 370.2 MB, free: 11.23 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 6.321e-05/0.01239, allocations: 25.62 kB / 370.2 MB, free: 11.21 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.967e-05/0.01244, allocations: 20.5 kB / 370.2 MB, free: 11.19 MB / 346.7 MB Notification: Performance of SimCode: time 4.61e-07/0.01244, allocations: 0 / 370.2 MB, free: 11.19 MB / 346.7 MB Notification: Performance of Templates: time 0.00389/0.01633, allocations: 2.469 MB / 372.7 MB, free: 8.746 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4 -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.848121210001409]