Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical5.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.001404/0.001404, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.001489/0.001489, allocations: 161.7 kB / 24.27 MB, free: 172 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 1.46/1.46, allocations: 177.1 MB / 204.6 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] 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.1482/0.1482, allocations: 19.74 MB / 280.8 MB, free: 9.277 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.TestElectrical5,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical5") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical5,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 357.2 MB, free: 6.949 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.783e-05/1.944e-05, allocations: 5.406 kB / 357.2 MB, free: 6.945 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical5): time 0.003955/0.003975, allocations: 2.481 MB / 359.7 MB, free: 4.445 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001429/0.005404, allocations: 0.7128 MB / 360.4 MB, free: 3.727 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000131/0.005535, allocations: 7.938 kB / 360.4 MB, free: 3.719 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001737/0.005708, allocations: 55.39 kB / 360.5 MB, free: 3.664 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003254/0.006034, allocations: 131 kB / 360.6 MB, free: 3.535 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002073/0.006241, allocations: 75.83 kB / 360.7 MB, free: 3.461 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005044/0.006745, allocations: 417.9 kB / 361.1 MB, free: 3.051 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000158/0.006903, allocations: 57.69 kB / 361.1 MB, free: 2.996 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003707/0.007274, allocations: 235.3 kB / 361.4 MB, free: 2.766 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002208/0.007495, allocations: 123.5 kB / 361.5 MB, free: 2.645 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.767e-05/0.007553, allocations: 28 kB / 361.5 MB, free: 2.617 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.755e-05/0.00763, allocations: 28 kB / 361.5 MB, free: 2.59 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.377e-05/0.007704, allocations: 71.67 kB / 361.6 MB, free: 2.52 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001466/0.007851, allocations: 111.7 kB / 361.7 MB, free: 2.41 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005261/0.008377, allocations: 318.8 kB / 362 MB, free: 2.098 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.523e-06/0.008378, allocations: 0 / 362 MB, free: 2.098 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.008379, allocations: 0 / 362 MB, free: 2.098 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.008384, allocations: 0 / 362 MB, free: 2.098 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.001181/0.009565, allocations: 0.6021 MB / 362.6 MB, free: 1.465 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.31e-05/0.009598, allocations: 8.031 kB / 362.6 MB, free: 1.457 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001512/0.009749, allocations: 56.7 kB / 362.7 MB, free: 1.402 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004506/0.0102, allocations: 265.6 kB / 362.9 MB, free: 1.117 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.627e-05/0.01023, allocations: 16.88 kB / 363 MB, free: 1.102 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.824e-05/0.01028, allocations: 32.38 kB / 363 MB, free: 1.07 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004879/0.01077, allocations: 244.1 kB / 363.2 MB, free: 0.8203 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.466e-05/0.01079, allocations: 192 / 363.2 MB, free: 0.8203 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.672e-05/0.01081, allocations: 12.38 kB / 363.2 MB, free: 0.8086 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.588e-06/0.01082, allocations: 7.938 kB / 363.3 MB, free: 0.8008 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000429/0.01125, allocations: 173.8 kB / 363.4 MB, free: 0.6328 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00126/0.01251, allocations: 0.7058 MB / 364.1 MB, free: 15.88 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003673/0.01288, allocations: 178.6 kB / 364.3 MB, free: 15.7 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002232/0.0131, allocations: 100.8 kB / 364.4 MB, free: 15.6 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.613e-05/0.01313, allocations: 4 kB / 364.4 MB, free: 15.59 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.792e-05/0.01317, allocations: 34.56 kB / 364.4 MB, free: 15.55 MB / 298.7 MB Notification: Performance of pre-optimization done (n=25): time 1.292e-06/0.01317, allocations: 4 kB / 364.4 MB, free: 15.55 MB / 298.7 MB Notification: Performance of matching and sorting (n=27): time 0.001537/0.01471, allocations: 0.6642 MB / 365.1 MB, free: 14.86 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.996e-05/0.01476, allocations: 63.33 kB / 365.2 MB, free: 14.78 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005904/0.01535, allocations: 304.6 kB / 365.5 MB, free: 14.47 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.962e-05/0.01538, allocations: 29.7 kB / 365.5 MB, free: 14.44 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001591/0.01553, allocations: 184.7 kB / 365.7 MB, free: 14.25 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.952e-05/0.01563, allocations: 107.1 kB / 365.8 MB, free: 14.15 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.137e-05/0.01573, allocations: 53.7 kB / 365.8 MB, free: 14.09 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001989/0.01592, allocations: 346.7 kB / 366.2 MB, free: 13.74 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001939/0.01612, allocations: 71.91 kB / 366.2 MB, free: 13.67 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002328/0.01635, allocations: 116 kB / 366.4 MB, free: 13.55 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004146/0.01677, allocations: 196.2 kB / 366.5 MB, free: 13.35 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.01677, allocations: 4 kB / 366.5 MB, free: 13.34 MB / 298.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000735/0.0175, allocations: 327.9 kB / 366.9 MB, free: 13.02 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.01752, allocations: 8 kB / 366.9 MB, free: 13.01 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.01753, allocations: 0 / 366.9 MB, free: 13.01 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003943/0.01792, allocations: 72.86 kB / 366.9 MB, free: 12.93 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003924/0.01831, allocations: 71.89 kB / 367 MB, free: 12.86 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002959/0.02127, allocations: 2.779 MB / 369.8 MB, free: 9.879 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001982/0.02147, allocations: 28.2 kB / 369.8 MB, free: 9.852 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.325e-05/0.02149, allocations: 8 kB / 369.8 MB, free: 9.844 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (30): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * 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: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001606/0.02166, allocations: 141.8 kB / 370 MB, free: 9.695 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.573e-05/0.02174, allocations: 47.7 kB / 370 MB, free: 9.648 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000559/0.0223, allocations: 265.6 kB / 370.3 MB, free: 9.375 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.0223, allocations: 0 / 370.3 MB, free: 9.375 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.02231, allocations: 4 kB / 370.3 MB, free: 9.371 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.02231, allocations: 4 kB / 370.3 MB, free: 9.367 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001002/0.02331, allocations: 0.557 MB / 370.8 MB, free: 8.773 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.02332, allocations: 3.984 kB / 370.8 MB, free: 8.77 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003471/0.02366, allocations: 63.97 kB / 370.9 MB, free: 8.707 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.02367, allocations: 4 kB / 370.9 MB, free: 8.703 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.81e-05/0.02369, allocations: 4 kB / 370.9 MB, free: 8.699 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.02369, allocations: 0 / 370.9 MB, free: 8.699 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.02369, allocations: 11.92 kB / 370.9 MB, free: 8.688 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007902/0.02448, allocations: 456.1 kB / 371.4 MB, free: 8.223 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001119/0.02459, allocations: 47.8 kB / 371.4 MB, free: 8.176 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.782e-05/0.02463, allocations: 7.938 kB / 371.4 MB, free: 8.168 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002183/0.02485, allocations: 8 kB / 371.4 MB, free: 8.16 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.137e-05/0.02491, allocations: 19.95 kB / 371.5 MB, free: 8.141 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.786e-05/0.02493, allocations: 8 kB / 371.5 MB, free: 8.133 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002567/0.02519, allocations: 219.1 kB / 371.7 MB, free: 7.922 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.02519, allocations: 0 / 371.7 MB, free: 7.922 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003573/0.02554, allocations: 72 kB / 371.7 MB, free: 7.852 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (gen_a.phi,gen_a.omega_m,gen_a.omega_e_filt,gen_b.phi,gen_b.omega_m,gen_b.omega_e_filt) * 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 (28): * Single equations (assignments): 28 * 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 0.0001195/0.02566, allocations: 99.19 kB / 371.8 MB, free: 7.746 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0009151/0.02658, allocations: 367.3 kB / 372.2 MB, free: 7.375 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.02658, allocations: 0 / 372.2 MB, free: 7.375 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002254/0.02681, allocations: 103.8 kB / 372.3 MB, free: 7.273 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004668/0.02727, allocations: 72.61 kB / 372.4 MB, free: 7.211 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001726/0.029, allocations: 0.7816 MB / 373.2 MB, free: 6.398 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002124/0.02921, allocations: 190.8 kB / 373.3 MB, free: 6.191 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001217/0.02933, allocations: 30.97 kB / 373.4 MB, free: 6.164 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.425e-05/0.02943, allocations: 36.47 kB / 373.4 MB, free: 6.129 MB / 298.7 MB Notification: Performance of SimCode: time 3.61e-07/0.02943, allocations: 0 / 373.4 MB, free: 6.129 MB / 298.7 MB Notification: Performance of Templates: time 0.008669/0.0381, allocations: 3.62 MB / 377 MB, free: 2.547 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical5.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical5.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical5.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical5.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical5.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical5.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.298866288037971]