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.0018/0.0018, allocations: 75.86 kB / 20.53 MB, free: 1.211 MB / 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.00205/0.00205, allocations: 167.5 kB / 23.78 MB, free: 4.215 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.431/1.431, allocations: 177.2 MB / 204.1 MB, free: 9.27 MB / 190.1 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.1369/0.1369, allocations: 19.71 MB / 280.3 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.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: 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.002121/0.002121, allocations: 63.91 kB / 416.8 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2554/0.2575, allocations: 60.46 MB / 477.3 MB, free: 15.55 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical6): time 0.004094/0.2616, allocations: 2.751 MB / 480 MB, free: 13.46 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001413/0.263, allocations: 0.7756 MB / 480.8 MB, free: 12.84 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001639/0.2632, allocations: 9.594 kB / 480.8 MB, free: 12.83 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001631/0.2633, allocations: 50.08 kB / 480.9 MB, free: 12.79 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003589/0.2637, allocations: 143 kB / 481 MB, free: 12.66 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002573/0.264, allocations: 116.7 kB / 481.1 MB, free: 12.56 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00053/0.2645, allocations: 0.489 MB / 481.6 MB, free: 12.26 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002084/0.2647, allocations: 83.53 kB / 481.7 MB, free: 12.21 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004141/0.2651, allocations: 312.5 kB / 482 MB, free: 12.01 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002567/0.2654, allocations: 178.4 kB / 482.2 MB, free: 11.89 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.203e-05/0.2654, allocations: 32.12 kB / 482.2 MB, free: 11.89 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.451e-05/0.2655, allocations: 39.66 kB / 482.3 MB, free: 11.89 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.954e-05/0.2656, allocations: 87.36 kB / 482.3 MB, free: 11.81 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001895/0.2658, allocations: 173.6 kB / 482.5 MB, free: 11.7 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004855/0.2663, allocations: 426.8 kB / 482.9 MB, free: 11.4 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.2663, allocations: 0 / 482.9 MB, free: 11.4 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.2663, allocations: 0 / 482.9 MB, free: 11.4 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.324e-06/0.2663, allocations: 0 / 482.9 MB, free: 11.4 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: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.001366/0.2677, allocations: 0.6831 MB / 483.6 MB, free: 10.85 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.148e-05/0.2677, allocations: 9.938 kB / 483.6 MB, free: 10.85 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001315/0.2678, allocations: 57.95 kB / 483.7 MB, free: 10.82 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005025/0.2683, allocations: 295 kB / 484 MB, free: 10.56 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.542e-05/0.2683, allocations: 22.56 kB / 484 MB, free: 10.55 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.282e-05/0.2684, allocations: 41.61 kB / 484 MB, free: 10.54 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005304/0.2689, allocations: 306.4 kB / 484.3 MB, free: 10.33 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.51e-05/0.269, allocations: 1.281 kB / 484.3 MB, free: 10.33 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.856e-05/0.269, allocations: 14.31 kB / 484.3 MB, free: 10.32 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.117e-06/0.269, allocations: 8.344 kB / 484.3 MB, free: 10.32 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003992/0.2694, allocations: 197.7 kB / 484.5 MB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001682/0.2711, allocations: 0.9313 MB / 485.5 MB, free: 9.469 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004016/0.2715, allocations: 232.7 kB / 485.7 MB, free: 9.34 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002015/0.2717, allocations: 108.1 kB / 485.8 MB, free: 9.285 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.071e-05/0.2717, allocations: 3.062 kB / 485.8 MB, free: 9.285 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.889e-05/0.2717, allocations: 38.06 kB / 485.8 MB, free: 9.242 MB / 382.1 MB Notification: Performance of pre-optimization done (n=31): time 1.653e-06/0.2717, allocations: 3.938 kB / 485.8 MB, free: 9.238 MB / 382.1 MB Notification: Performance of matching and sorting (n=33): time 0.00178/0.2735, allocations: 0.7993 MB / 486.6 MB, free: 8.73 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.667e-05/0.2736, allocations: 58.88 kB / 486.7 MB, free: 8.664 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000407/0.274, allocations: 344.9 kB / 487 MB, free: 8.324 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.356e-05/0.274, allocations: 33.7 kB / 487.1 MB, free: 8.285 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001702/0.2742, allocations: 216.6 kB / 487.3 MB, free: 8.066 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001006/0.2743, allocations: 118.9 kB / 487.4 MB, free: 7.949 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000108/0.2744, allocations: 78.02 kB / 487.5 MB, free: 7.863 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001769/0.2746, allocations: 346.8 kB / 487.8 MB, free: 7.516 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001867/0.2748, allocations: 88.7 kB / 487.9 MB, free: 7.43 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002246/0.275, allocations: 133.5 kB / 488 MB, free: 7.285 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004261/0.2754, allocations: 240.1 kB / 488.3 MB, free: 7.035 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.2754, allocations: 4 kB / 488.3 MB, free: 7.031 MB / 382.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001033/0.2764, allocations: 413.2 kB / 488.7 MB, free: 6.617 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.2765, allocations: 12.11 kB / 488.7 MB, free: 6.605 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.2765, allocations: 4 kB / 488.7 MB, free: 6.602 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006248/0.2771, allocations: 120.7 kB / 488.8 MB, free: 6.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004605/0.2776, allocations: 87.89 kB / 488.9 MB, free: 6.395 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0036/0.2812, allocations: 3.091 MB / 492 MB, free: 3.105 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002332/0.2814, allocations: 15.95 kB / 492 MB, free: 3.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.66e-05/0.2814, allocations: 12.06 kB / 492 MB, free: 3.078 MB / 382.1 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.0001789/0.2816, allocations: 161.7 kB / 492.2 MB, free: 2.91 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.263e-05/0.2817, allocations: 39.75 kB / 492.2 MB, free: 2.871 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005582/0.2822, allocations: 297.7 kB / 492.5 MB, free: 2.566 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.89e-06/0.2822, allocations: 4 kB / 492.5 MB, free: 2.562 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.353e-06/0.2822, allocations: 0 / 492.5 MB, free: 2.562 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.2822, allocations: 4 kB / 492.5 MB, free: 2.559 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00107/0.2833, allocations: 0.6313 MB / 493.1 MB, free: 1.891 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.2833, allocations: 4 kB / 493.1 MB, free: 1.887 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004506/0.2838, allocations: 75.91 kB / 493.2 MB, free: 1.812 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.2838, allocations: 0 / 493.2 MB, free: 1.812 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.615e-05/0.2838, allocations: 12 kB / 493.2 MB, free: 1.801 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.2838, allocations: 0 / 493.2 MB, free: 1.801 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.2838, allocations: 7.922 kB / 493.2 MB, free: 1.793 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007496/0.2845, allocations: 493.1 kB / 493.7 MB, free: 1.297 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001355/0.2847, allocations: 63.72 kB / 493.8 MB, free: 1.234 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.261e-05/0.2847, allocations: 4 kB / 493.8 MB, free: 1.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000234/0.285, allocations: 15.94 kB / 493.8 MB, free: 1.215 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.604e-05/0.285, allocations: 23.95 kB / 493.8 MB, free: 1.191 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.534e-05/0.285, allocations: 4 kB / 493.8 MB, free: 1.188 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000277/0.2853, allocations: 247.2 kB / 494.1 MB, free: 0.9492 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2853, allocations: 288 / 494.1 MB, free: 0.9492 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003844/0.2857, allocations: 92 kB / 494.2 MB, free: 0.8594 MB / 382.1 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.000118/0.2858, allocations: 107.1 kB / 494.3 MB, free: 0.7461 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009446/0.2867, allocations: 425.9 kB / 494.7 MB, free: 328 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.2868, allocations: 0 / 494.7 MB, free: 328 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002156/0.287, allocations: 115.9 kB / 494.8 MB, free: 212 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005102/0.2875, allocations: 72.72 kB / 494.9 MB, free: 140 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001937/0.2894, allocations: 1.094 MB / 496 MB, free: 15.02 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002099/0.2896, allocations: 211.8 kB / 496.2 MB, free: 14.79 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001491/0.2898, allocations: 42.94 kB / 496.2 MB, free: 14.74 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.454e-05/0.2899, allocations: 28.5 kB / 496.2 MB, free: 14.71 MB / 398.1 MB Notification: Performance of SimCode: time 4.11e-07/0.2899, allocations: 0 / 496.2 MB, free: 14.71 MB / 398.1 MB Notification: Performance of Templates: time 0.01/0.2999, allocations: 4.557 MB / 0.4891 GB, free: 10.22 MB / 398.1 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=480 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical6.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.704763198271394] Failed to read output from testmodel.py, exit status != 0: 0.3081234581768513 0.323063101 0.053596288000000006 Calling exit ...