Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical6.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.0009533/0.0009533, allocations: 75.77 kB / 21.18 MB, free: 3.379 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.00116/0.00116, allocations: 161 kB / 24.56 MB, free: 8 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.9027/0.9027, allocations: 177.1 MB / 205 MB, free: 5.453 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.08575/0.08575, allocations: 19.74 MB / 281.2 MB, free: 9.109 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.TestElectrical6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical6") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 357.9 MB, free: 7.66 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.755e-05/1.904e-05, allocations: 2.312 kB / 357.9 MB, free: 7.656 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical6): time 0.004124/0.004143, allocations: 2.951 MB / 360.9 MB, free: 4.688 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001547/0.005691, allocations: 0.7946 MB / 361.7 MB, free: 3.891 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002023/0.005893, allocations: 15.94 kB / 361.7 MB, free: 3.875 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001883/0.006081, allocations: 51.39 kB / 361.8 MB, free: 3.824 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003988/0.00648, allocations: 150.7 kB / 361.9 MB, free: 3.676 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002791/0.006759, allocations: 103.8 kB / 362 MB, free: 3.574 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005614/0.00732, allocations: 0.5098 MB / 362.5 MB, free: 3.062 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000233/0.007553, allocations: 104.3 kB / 362.6 MB, free: 2.957 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004238/0.007977, allocations: 283.3 kB / 362.9 MB, free: 2.68 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000251/0.008228, allocations: 155.4 kB / 363 MB, free: 2.527 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 6.26e-05/0.008291, allocations: 32 kB / 363.1 MB, free: 2.496 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.148e-05/0.008382, allocations: 39.94 kB / 363.1 MB, free: 2.457 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 7.014e-05/0.008452, allocations: 87.59 kB / 363.2 MB, free: 2.371 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001483/0.008601, allocations: 139.6 kB / 363.3 MB, free: 2.234 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004093/0.00901, allocations: 298.6 kB / 363.6 MB, free: 1.941 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.435e-06/0.009012, allocations: 4 kB / 363.6 MB, free: 1.938 MB / 330.7 MB Notification: Performance of FrontEnd: time 5.62e-07/0.009013, allocations: 0 / 363.6 MB, free: 1.938 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.009019, allocations: 0 / 363.6 MB, free: 1.938 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: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.001188/0.01021, allocations: 0.7837 MB / 364.4 MB, free: 1.113 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/0.01025, allocations: 12.62 kB / 364.4 MB, free: 1.102 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001695/0.01042, allocations: 72.61 kB / 364.5 MB, free: 1.031 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004367/0.01086, allocations: 298.7 kB / 364.8 MB, free: 0.7148 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.699e-05/0.01089, allocations: 25.03 kB / 364.8 MB, free: 0.6914 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.826e-05/0.01095, allocations: 36.33 kB / 364.8 MB, free: 0.6562 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004532/0.01141, allocations: 271.6 kB / 365.1 MB, free: 380 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.581e-05/0.01142, allocations: 192 / 365.1 MB, free: 380 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.083e-05/0.01145, allocations: 23.92 kB / 365.1 MB, free: 356 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.412e-05/0.01147, allocations: 8 kB / 365.1 MB, free: 348 kB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003036/0.01177, allocations: 119.8 kB / 365.3 MB, free: 224 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001548/0.01332, allocations: 1.043 MB / 366.3 MB, free: 15.12 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003432/0.01366, allocations: 185 kB / 366.5 MB, free: 14.93 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001507/0.01381, allocations: 79.58 kB / 366.6 MB, free: 14.84 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.985e-05/0.01384, allocations: 8 kB / 366.6 MB, free: 14.84 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.975e-05/0.01387, allocations: 41.33 kB / 366.6 MB, free: 14.79 MB / 346.7 MB Notification: Performance of pre-optimization done (n=31): time 1.994e-06/0.01387, allocations: 3.938 kB / 366.6 MB, free: 14.78 MB / 346.7 MB Notification: Performance of matching and sorting (n=33): time 0.001484/0.01536, allocations: 0.6679 MB / 367.3 MB, free: 14.07 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.429e-05/0.01539, allocations: 55.41 kB / 367.3 MB, free: 14.01 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003863/0.01578, allocations: 382.7 kB / 367.7 MB, free: 13.61 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.447e-05/0.0158, allocations: 29.7 kB / 367.7 MB, free: 13.58 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001647/0.01597, allocations: 267.3 kB / 368 MB, free: 13.31 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.999e-05/0.01607, allocations: 123 kB / 368.1 MB, free: 13.19 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001097/0.01618, allocations: 75.69 kB / 368.2 MB, free: 13.11 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000175/0.01635, allocations: 0.5157 MB / 368.7 MB, free: 12.58 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001283/0.01648, allocations: 60.7 kB / 368.8 MB, free: 12.52 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001629/0.01664, allocations: 111.6 kB / 368.9 MB, free: 12.39 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002868/0.01693, allocations: 174.3 kB / 369 MB, free: 12.2 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.716e-06/0.01693, allocations: 4 kB / 369.1 MB, free: 12.2 MB / 346.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007873/0.01772, allocations: 360 kB / 369.4 MB, free: 11.83 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/0.01774, allocations: 8 kB / 369.4 MB, free: 11.82 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.76e-06/0.01775, allocations: 0 / 369.4 MB, free: 11.82 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006428/0.01839, allocations: 143.7 kB / 369.6 MB, free: 11.68 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003725/0.01876, allocations: 87.88 kB / 369.6 MB, free: 11.59 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002965/0.02173, allocations: 3.954 MB / 373.6 MB, free: 7.395 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000173/0.0219, allocations: 16.06 kB / 373.6 MB, free: 7.379 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.29e-05/0.02192, allocations: 12 kB / 373.6 MB, free: 7.367 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (36): * Single equations (assignments): 34 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0001307/0.02205, allocations: 172.5 kB / 373.8 MB, free: 7.188 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.745e-05/0.02213, allocations: 55.69 kB / 373.8 MB, free: 7.133 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003634/0.0225, allocations: 241.7 kB / 374.1 MB, free: 6.891 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.0225, allocations: 4 kB / 374.1 MB, free: 6.887 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.834e-06/0.0225, allocations: 0 / 374.1 MB, free: 6.887 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.02251, allocations: 3.938 kB / 374.1 MB, free: 6.883 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009306/0.02344, allocations: 0.6271 MB / 374.7 MB, free: 6.215 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.02344, allocations: 0 / 374.7 MB, free: 6.215 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003486/0.02379, allocations: 75.95 kB / 374.8 MB, free: 6.141 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.02379, allocations: 3.938 kB / 374.8 MB, free: 6.137 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.436e-05/0.02381, allocations: 12 kB / 374.8 MB, free: 6.125 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.02382, allocations: 0 / 374.8 MB, free: 6.125 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.02382, allocations: 0 / 374.8 MB, free: 6.125 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005434/0.02436, allocations: 453 kB / 375.2 MB, free: 5.66 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001205/0.02448, allocations: 51.73 kB / 375.3 MB, free: 5.609 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.933e-05/0.02452, allocations: 12 kB / 375.3 MB, free: 5.598 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001787/0.0247, allocations: 15.94 kB / 375.3 MB, free: 5.582 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.239e-05/0.02475, allocations: 15.97 kB / 375.3 MB, free: 5.566 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.879e-05/0.02477, allocations: 15.92 kB / 375.4 MB, free: 5.551 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002422/0.02501, allocations: 259.1 kB / 375.6 MB, free: 5.301 MB / 346.7 MB Notification: Performance of sort global known variables: time 1e-07/0.02501, allocations: 0 / 375.6 MB, free: 5.301 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004329/0.02545, allocations: 92 kB / 375.7 MB, free: 5.211 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (gen_a.phi,gen_a.omega_m,gen_a.omega_e_filt,gen_b.phi,gen_b.omega_m,gen_b.omega_e_filt,torqueGen_a.y,torqueGen_b.y) * 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 (34): * Single equations (assignments): 34 * 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.000106/0.02555, allocations: 99.19 kB / 375.8 MB, free: 5.105 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000895/0.02645, allocations: 429.5 kB / 376.2 MB, free: 4.664 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.02645, allocations: 0 / 376.2 MB, free: 4.664 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001597/0.02661, allocations: 95.52 kB / 376.3 MB, free: 4.566 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005225/0.02713, allocations: 101.6 kB / 376.4 MB, free: 4.477 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001933/0.02906, allocations: 0.9176 MB / 377.3 MB, free: 3.527 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.746e-05/0.02915, allocations: 109.3 kB / 377.4 MB, free: 3.402 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001464/0.0293, allocations: 46.88 kB / 377.5 MB, free: 3.352 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001053/0.0294, allocations: 32.5 kB / 377.5 MB, free: 3.32 MB / 346.7 MB Notification: Performance of SimCode: time 8.42e-07/0.0294, allocations: 0 / 377.5 MB, free: 3.32 MB / 346.7 MB Notification: Performance of Templates: time 0.009275/0.03868, allocations: 4.63 MB / 382.1 MB, free: 14.75 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical6.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical6.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical6.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical6.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical6.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical6 -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical6.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.8933592420071363]