Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical7.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.001466/0.001466, allocations: 75.39 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.001832/0.001832, allocations: 166.3 kB / 23.79 MB, free: 4.219 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.429/1.429, allocations: 177.2 MB / 204.2 MB, free: 9.281 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.1366/0.1366, allocations: 19.72 MB / 280.3 MB, free: 13.05 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.TestElectrical7,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical7") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical7,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical7") [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.002161/0.002161, allocations: 70.25 kB / 416.8 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2526/0.2548, allocations: 60.45 MB / 477.3 MB, free: 15.57 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical7): time 0.004304/0.2591, allocations: 2.92 MB / 480.2 MB, free: 13.35 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001476/0.2606, allocations: 0.7938 MB / 481 MB, free: 12.71 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001766/0.2608, allocations: 10.62 kB / 481 MB, free: 12.7 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001881/0.261, allocations: 58.22 kB / 481.1 MB, free: 12.65 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003917/0.2613, allocations: 150.5 kB / 481.2 MB, free: 12.52 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002828/0.2616, allocations: 131 kB / 481.4 MB, free: 12.41 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005834/0.2622, allocations: 0.5188 MB / 481.9 MB, free: 12.09 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002167/0.2624, allocations: 101.4 kB / 482 MB, free: 12.02 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004376/0.2629, allocations: 319.2 kB / 482.3 MB, free: 11.82 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002744/0.2631, allocations: 201.8 kB / 482.5 MB, free: 11.68 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.63e-05/0.2632, allocations: 35.72 kB / 482.5 MB, free: 11.68 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.197e-05/0.2633, allocations: 46.03 kB / 482.6 MB, free: 11.67 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.275e-05/0.2634, allocations: 95.92 kB / 482.7 MB, free: 11.59 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001946/0.2636, allocations: 184.7 kB / 482.8 MB, free: 11.47 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005025/0.2641, allocations: 446.2 kB / 483.3 MB, free: 11.16 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.2641, allocations: 1.312 kB / 483.3 MB, free: 11.16 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.2641, allocations: 3.938 kB / 483.3 MB, free: 11.16 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.364e-06/0.2641, allocations: 0 / 483.3 MB, free: 11.16 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: 77 * Number of variables: 77 Notification: Performance of Generate backend data structure: time 0.001462/0.2656, allocations: 0.731 MB / 484 MB, free: 10.57 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.233e-05/0.2656, allocations: 9.688 kB / 484 MB, free: 10.57 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001506/0.2657, allocations: 56.17 kB / 484.1 MB, free: 10.54 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005333/0.2663, allocations: 315.9 kB / 484.4 MB, free: 10.27 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.612e-05/0.2663, allocations: 26.16 kB / 484.4 MB, free: 10.26 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.015e-05/0.2664, allocations: 40.02 kB / 484.4 MB, free: 10.24 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005425/0.2669, allocations: 318.8 kB / 484.8 MB, free: 10.03 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.677e-05/0.2669, allocations: 1.094 kB / 484.8 MB, free: 10.03 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.91e-05/0.267, allocations: 11.28 kB / 484.8 MB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.677e-06/0.267, allocations: 7.469 kB / 484.8 MB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004175/0.2674, allocations: 219.7 kB / 485 MB, free: 9.918 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001765/0.2691, allocations: 0.9624 MB / 486 MB, free: 9.148 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005145/0.2697, allocations: 255.7 kB / 486.2 MB, free: 9.008 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002183/0.2699, allocations: 120.8 kB / 486.3 MB, free: 8.945 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.813e-05/0.2699, allocations: 4.344 kB / 486.3 MB, free: 8.945 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.306e-05/0.2699, allocations: 33.22 kB / 486.4 MB, free: 8.906 MB / 382.1 MB Notification: Performance of pre-optimization done (n=33): time 1.473e-06/0.2699, allocations: 0 / 486.4 MB, free: 8.906 MB / 382.1 MB Notification: Performance of matching and sorting (n=35): time 0.002153/0.2721, allocations: 0.873 MB / 487.2 MB, free: 8.188 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.178e-05/0.2721, allocations: 55.41 kB / 487.3 MB, free: 8.121 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004361/0.2726, allocations: 373.5 kB / 487.6 MB, free: 7.75 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.361e-05/0.2726, allocations: 37.7 kB / 487.7 MB, free: 7.707 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001696/0.2728, allocations: 216.9 kB / 487.9 MB, free: 7.492 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001124/0.2729, allocations: 143.2 kB / 488 MB, free: 7.352 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001141/0.273, allocations: 70.16 kB / 488.1 MB, free: 7.277 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001802/0.2732, allocations: 358.7 kB / 488.5 MB, free: 6.918 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002216/0.2734, allocations: 88.95 kB / 488.5 MB, free: 6.832 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002382/0.2736, allocations: 149.2 kB / 488.7 MB, free: 6.672 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000449/0.2741, allocations: 256 kB / 488.9 MB, free: 6.406 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.2741, allocations: 4 kB / 488.9 MB, free: 6.402 MB / 382.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0006037/0.2747, allocations: 345.1 kB / 489.3 MB, free: 6.059 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.2747, allocations: 4 kB / 489.3 MB, free: 6.055 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.2747, allocations: 7.984 kB / 489.3 MB, free: 6.047 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.2747, allocations: 3.938 kB / 489.3 MB, free: 6.043 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007861/0.2755, allocations: 148 kB / 489.4 MB, free: 5.898 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001214/0.2767, allocations: 1.323 MB / 490.8 MB, free: 4.469 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002526/0.277, allocations: 11.97 kB / 490.8 MB, free: 4.457 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.757e-05/0.277, allocations: 16 kB / 490.8 MB, free: 4.441 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 (48): * Single equations (assignments): 47 * 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 0.0001928/0.2772, allocations: 150 kB / 490.9 MB, free: 4.285 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.645e-05/0.2773, allocations: 51.7 kB / 491 MB, free: 4.234 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00059/0.2779, allocations: 321.5 kB / 491.3 MB, free: 3.91 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/0.2779, allocations: 4 kB / 491.3 MB, free: 3.906 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.654e-06/0.2779, allocations: 0 / 491.3 MB, free: 3.906 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.273e-06/0.2779, allocations: 3.984 kB / 491.3 MB, free: 3.902 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001091/0.279, allocations: 0.6551 MB / 492 MB, free: 3.211 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.279, allocations: 0 / 492 MB, free: 3.211 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004721/0.2795, allocations: 83.89 kB / 492 MB, free: 3.129 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.2795, allocations: 4 kB / 492 MB, free: 3.125 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.219e-05/0.2795, allocations: 8 kB / 492.1 MB, free: 3.117 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.2795, allocations: 0 / 492.1 MB, free: 3.117 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.2795, allocations: 7.984 kB / 492.1 MB, free: 3.109 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007975/0.2803, allocations: 0.5167 MB / 492.6 MB, free: 2.574 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00014/0.2804, allocations: 55.69 kB / 492.6 MB, free: 2.52 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.863e-05/0.2805, allocations: 11.98 kB / 492.6 MB, free: 2.508 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002615/0.2807, allocations: 8 kB / 492.7 MB, free: 2.5 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.14e-05/0.2808, allocations: 23.95 kB / 492.7 MB, free: 2.477 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.8e-05/0.2808, allocations: 12 kB / 492.7 MB, free: 2.465 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003231/0.2811, allocations: 259.2 kB / 492.9 MB, free: 2.211 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2811, allocations: 0 / 492.9 MB, free: 2.211 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003705/0.2815, allocations: 88 kB / 493 MB, free: 2.125 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 9 (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,secondaryController.powerOffset) * 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 (36): * Single equations (assignments): 36 * 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.0001056/0.2816, allocations: 99.28 kB / 493.1 MB, free: 2.016 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006814/0.2823, allocations: 272.2 kB / 493.4 MB, free: 1.75 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.2823, allocations: 0 / 493.4 MB, free: 1.75 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002376/0.2825, allocations: 127.8 kB / 493.5 MB, free: 1.625 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005267/0.2831, allocations: 95.53 kB / 493.6 MB, free: 1.539 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00204/0.2851, allocations: 1.123 MB / 494.7 MB, free: 396 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002367/0.2853, allocations: 227.8 kB / 495 MB, free: 144 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001624/0.2855, allocations: 47.23 kB / 495 MB, free: 96 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001098/0.2856, allocations: 32.5 kB / 495 MB, free: 64 kB / 382.1 MB Notification: Performance of SimCode: time 3.2e-07/0.2856, allocations: 0 / 495 MB, free: 64 kB / 382.1 MB Notification: Performance of Templates: time 0.009756/0.2954, allocations: 4.411 MB / 499.4 MB, free: 11.71 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical7.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical7.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical7.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical7.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical7.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical7 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical7.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.575490962713957] Failed to read output from testmodel.py, exit status != 0: 0.3037943858653307 0.31871143900000004 0.051474457 Calling exit ...