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.001705/0.001705, allocations: 75.2 kB / 21.28 MB, free: 384 kB / 14.72 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.002047/0.002047, allocations: 163.8 kB / 24.53 MB, free: 3.59 MB / 14.72 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.387/1.387, allocations: 177.2 MB / 204.9 MB, free: 9.27 MB / 190.1 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.1349/0.1349, allocations: 19.71 MB / 281 MB, free: 13.04 MB / 270.1 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: ThermoPower requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002116/0.002116, allocations: 75.88 kB / 417.6 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.259/0.2611, allocations: 60.44 MB / 478 MB, free: 15.57 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical5): time 0.003681/0.2648, allocations: 2.505 MB / 480.5 MB, free: 13.66 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001463/0.2662, allocations: 0.7006 MB / 481.2 MB, free: 13.1 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001541/0.2664, allocations: 8.562 kB / 481.3 MB, free: 13.09 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001726/0.2665, allocations: 46.39 kB / 481.3 MB, free: 13.05 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003597/0.2669, allocations: 129 kB / 481.4 MB, free: 12.94 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002237/0.2671, allocations: 78.89 kB / 481.5 MB, free: 12.87 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004816/0.2676, allocations: 404.4 kB / 481.9 MB, free: 12.63 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001735/0.2678, allocations: 57.12 kB / 482 MB, free: 12.6 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003998/0.2682, allocations: 245.4 kB / 482.2 MB, free: 12.45 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002615/0.2684, allocations: 148.5 kB / 482.3 MB, free: 12.35 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.778e-05/0.2685, allocations: 24.91 kB / 482.4 MB, free: 12.35 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.401e-05/0.2686, allocations: 31.34 kB / 482.4 MB, free: 12.34 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.783e-05/0.2687, allocations: 68.69 kB / 482.5 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001625/0.2688, allocations: 134.9 kB / 482.6 MB, free: 12.2 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003842/0.2692, allocations: 337.8 kB / 482.9 MB, free: 11.97 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.2692, allocations: 0 / 482.9 MB, free: 11.97 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.2692, allocations: 0 / 482.9 MB, free: 11.97 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.592e-06/0.2692, allocations: 0 / 482.9 MB, free: 11.97 MB / 382.1 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.001119/0.2703, allocations: 0.5936 MB / 483.5 MB, free: 11.48 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.978e-05/0.2704, allocations: 9.719 kB / 483.5 MB, free: 11.48 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001183/0.2705, allocations: 47.89 kB / 483.6 MB, free: 11.45 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004146/0.2709, allocations: 259 kB / 483.8 MB, free: 11.21 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.551e-05/0.2709, allocations: 30.47 kB / 483.9 MB, free: 11.2 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.668e-05/0.271, allocations: 32.78 kB / 483.9 MB, free: 11.18 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004221/0.2714, allocations: 246.2 kB / 484.1 MB, free: 11.01 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.464e-05/0.2714, allocations: 1.188 kB / 484.1 MB, free: 11.01 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.277e-05/0.2714, allocations: 10.31 kB / 484.1 MB, free: 11 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.2714, allocations: 6.094 kB / 484.1 MB, free: 11 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003663/0.2718, allocations: 173.5 kB / 484.3 MB, free: 10.93 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001109/0.2729, allocations: 0.7047 MB / 485 MB, free: 10.32 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003226/0.2732, allocations: 176.8 kB / 485.2 MB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001919/0.2734, allocations: 100.4 kB / 485.3 MB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.228e-05/0.2735, allocations: 2.438 kB / 485.3 MB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.64e-05/0.2735, allocations: 32.97 kB / 485.3 MB, free: 10.14 MB / 382.1 MB Notification: Performance of pre-optimization done (n=25): time 1.343e-06/0.2735, allocations: 4 kB / 485.3 MB, free: 10.14 MB / 382.1 MB Notification: Performance of matching and sorting (n=27): time 0.00132/0.2748, allocations: 0.6679 MB / 486 MB, free: 9.711 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.781e-05/0.2749, allocations: 62.73 kB / 486.1 MB, free: 9.641 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003247/0.2752, allocations: 294 kB / 486.3 MB, free: 9.441 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.885e-05/0.2752, allocations: 34.81 kB / 486.4 MB, free: 9.402 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001357/0.2753, allocations: 184.7 kB / 486.6 MB, free: 9.234 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.791e-05/0.2754, allocations: 99.09 kB / 486.7 MB, free: 9.148 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.955e-05/0.2755, allocations: 53.2 kB / 486.7 MB, free: 9.109 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000176/0.2757, allocations: 345.9 kB / 487 MB, free: 8.77 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001599/0.2758, allocations: 69.5 kB / 487.1 MB, free: 8.742 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001926/0.276, allocations: 121.7 kB / 487.2 MB, free: 8.66 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003724/0.2764, allocations: 190.4 kB / 487.4 MB, free: 8.559 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.2764, allocations: 0 / 487.4 MB, free: 8.559 MB / 382.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0006351/0.277, allocations: 325.9 kB / 487.7 MB, free: 8.355 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.2771, allocations: 4 kB / 487.7 MB, free: 8.352 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.2771, allocations: 0 / 487.7 MB, free: 8.352 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002588/0.2773, allocations: 60.88 kB / 487.8 MB, free: 8.289 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003599/0.2777, allocations: 87.81 kB / 487.9 MB, free: 8.203 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002563/0.2802, allocations: 2.771 MB / 490.7 MB, free: 5.227 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001933/0.2804, allocations: 20.14 kB / 490.7 MB, free: 5.207 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.303e-05/0.2805, allocations: 16 kB / 490.7 MB, free: 5.191 MB / 382.1 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.0001548/0.2806, allocations: 145.9 kB / 490.8 MB, free: 5.039 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.164e-05/0.2807, allocations: 31.81 kB / 490.9 MB, free: 5.008 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004804/0.2812, allocations: 261.4 kB / 491.1 MB, free: 4.742 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.2812, allocations: 4 kB / 491.1 MB, free: 4.738 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.242e-06/0.2812, allocations: 0 / 491.1 MB, free: 4.738 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.167e-06/0.2812, allocations: 0 / 491.1 MB, free: 4.738 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008806/0.282, allocations: 0.5609 MB / 491.7 MB, free: 4.141 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.282, allocations: 4 kB / 491.7 MB, free: 4.137 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003256/0.2824, allocations: 63.91 kB / 491.8 MB, free: 4.074 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.2824, allocations: 3.938 kB / 491.8 MB, free: 4.07 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.966e-05/0.2824, allocations: 8 kB / 491.8 MB, free: 4.062 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.2824, allocations: 0 / 491.8 MB, free: 4.062 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.2824, allocations: 0 / 491.8 MB, free: 4.062 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006604/0.2831, allocations: 456.7 kB / 492.2 MB, free: 3.602 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.894e-05/0.2832, allocations: 47.84 kB / 492.3 MB, free: 3.555 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.237e-05/0.2832, allocations: 0 / 492.3 MB, free: 3.555 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001898/0.2834, allocations: 12 kB / 492.3 MB, free: 3.543 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.531e-05/0.2834, allocations: 19.95 kB / 492.3 MB, free: 3.523 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.457e-05/0.2834, allocations: 8 kB / 492.3 MB, free: 3.516 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002252/0.2837, allocations: 215.1 kB / 492.5 MB, free: 3.309 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2837, allocations: 0 / 492.5 MB, free: 3.309 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003279/0.284, allocations: 75.94 kB / 492.6 MB, free: 3.234 MB / 382.1 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.2841, allocations: 103.2 kB / 492.7 MB, free: 3.121 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008127/0.2849, allocations: 350.6 kB / 493 MB, free: 2.766 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2849, allocations: 0 / 493 MB, free: 2.766 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001993/0.2851, allocations: 103.8 kB / 493.1 MB, free: 2.664 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004423/0.2856, allocations: 61.23 kB / 493.2 MB, free: 2.602 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001625/0.2872, allocations: 0.9433 MB / 494.1 MB, free: 1.633 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001704/0.2874, allocations: 177.5 kB / 494.3 MB, free: 1.434 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.747e-05/0.2874, allocations: 28.48 kB / 494.3 MB, free: 1.406 MB / 382.1 MB Notification: Performance of SimCode: time 3.7e-07/0.2874, allocations: 0 / 494.3 MB, free: 1.406 MB / 382.1 MB Notification: Performance of Templates: time 0.007587/0.295, allocations: 4.965 MB / 499.3 MB, free: 12.44 MB / 398.1 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: 7.447526152944192] Failed to read output from testmodel.py, exit status != 0: 0.30357742705382407 0.31774923600000005 0.045529128 Calling exit ...