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.001404/0.001404, allocations: 75.12 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.001564/0.001564, allocations: 165 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.422/1.422, allocations: 177.2 MB / 204.9 MB, free: 9.234 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.1372/0.1372, allocations: 19.71 MB / 281 MB, free: 13.02 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.002255/0.002255, allocations: 67.89 kB / 417.6 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2677/0.27, allocations: 60.45 MB / 478 MB, free: 15.54 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical6): time 0.004301/0.2743, allocations: 2.758 MB / 480.8 MB, free: 13.44 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001602/0.2759, allocations: 0.7723 MB / 481.6 MB, free: 12.82 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000174/0.276, allocations: 9.406 kB / 481.6 MB, free: 12.82 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001817/0.2762, allocations: 53.77 kB / 481.6 MB, free: 12.77 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003696/0.2766, allocations: 146.2 kB / 481.8 MB, free: 12.64 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002475/0.2768, allocations: 113.1 kB / 481.9 MB, free: 12.55 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005229/0.2774, allocations: 0.4886 MB / 482.4 MB, free: 12.25 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002048/0.2776, allocations: 84.03 kB / 482.5 MB, free: 12.19 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004226/0.278, allocations: 309.7 kB / 482.8 MB, free: 12 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002631/0.2783, allocations: 185.2 kB / 482.9 MB, free: 11.87 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.49e-05/0.2783, allocations: 33.44 kB / 483 MB, free: 11.87 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.487e-05/0.2784, allocations: 34.5 kB / 483 MB, free: 11.87 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.311e-05/0.2785, allocations: 91.2 kB / 483.1 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001834/0.2787, allocations: 174.9 kB / 483.3 MB, free: 11.68 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004994/0.2792, allocations: 417.2 kB / 483.7 MB, free: 11.39 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.2792, allocations: 1.375 kB / 483.7 MB, free: 11.39 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.2792, allocations: 0 / 483.7 MB, free: 11.39 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.065e-06/0.2792, allocations: 0 / 483.7 MB, free: 11.39 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.001394/0.2806, allocations: 0.6865 MB / 484.4 MB, free: 10.83 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.369e-05/0.2806, allocations: 14 kB / 484.4 MB, free: 10.83 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001391/0.2808, allocations: 58.3 kB / 484.4 MB, free: 10.8 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005404/0.2813, allocations: 290.6 kB / 484.7 MB, free: 10.55 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.056e-05/0.2813, allocations: 25.94 kB / 484.8 MB, free: 10.54 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.843e-05/0.2814, allocations: 41.97 kB / 484.8 MB, free: 10.52 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005251/0.2819, allocations: 303.7 kB / 485.1 MB, free: 10.31 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.698e-05/0.2819, allocations: 0 / 485.1 MB, free: 10.31 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.762e-05/0.282, allocations: 16.03 kB / 485.1 MB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/0.282, allocations: 6.312 kB / 485.1 MB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003899/0.2824, allocations: 202.8 kB / 485.3 MB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001675/0.284, allocations: 0.9275 MB / 486.2 MB, free: 9.453 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004095/0.2844, allocations: 232.3 kB / 486.5 MB, free: 9.324 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000209/0.2846, allocations: 115.7 kB / 486.6 MB, free: 9.262 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.836e-05/0.2847, allocations: 3.375 kB / 486.6 MB, free: 9.262 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.803e-05/0.2847, allocations: 33.38 kB / 486.6 MB, free: 9.223 MB / 382.1 MB Notification: Performance of pre-optimization done (n=31): time 1.633e-06/0.2847, allocations: 0 / 486.6 MB, free: 9.223 MB / 382.1 MB Notification: Performance of matching and sorting (n=33): time 0.001819/0.2865, allocations: 0.8032 MB / 487.4 MB, free: 8.711 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.189e-05/0.2866, allocations: 56.03 kB / 487.5 MB, free: 8.648 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004145/0.287, allocations: 347.7 kB / 487.8 MB, free: 8.309 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.891e-05/0.287, allocations: 29.7 kB / 487.8 MB, free: 8.273 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001706/0.2872, allocations: 216.5 kB / 488 MB, free: 8.055 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001024/0.2873, allocations: 122.9 kB / 488.2 MB, free: 7.934 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000117/0.2874, allocations: 74.02 kB / 488.2 MB, free: 7.852 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000174/0.2876, allocations: 346.8 kB / 488.6 MB, free: 7.504 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001799/0.2878, allocations: 92.7 kB / 488.7 MB, free: 7.414 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002232/0.288, allocations: 141.4 kB / 488.8 MB, free: 7.262 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004163/0.2884, allocations: 236.1 kB / 489 MB, free: 7.016 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.2884, allocations: 0 / 489 MB, free: 7.016 MB / 382.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.00101/0.2894, allocations: 421.2 kB / 489.5 MB, free: 6.594 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.388e-05/0.2894, allocations: 8 kB / 489.5 MB, free: 6.586 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.992e-06/0.2894, allocations: 0 / 489.5 MB, free: 6.586 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006331/0.2901, allocations: 120.9 kB / 489.6 MB, free: 6.465 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004456/0.2905, allocations: 83.89 kB / 489.7 MB, free: 6.383 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00368/0.2942, allocations: 3.087 MB / 492.7 MB, free: 3.094 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002545/0.2944, allocations: 15.95 kB / 492.8 MB, free: 3.078 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.477e-05/0.2945, allocations: 12 kB / 492.8 MB, free: 3.066 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.0001898/0.2947, allocations: 161.6 kB / 492.9 MB, free: 2.898 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.551e-05/0.2947, allocations: 39.83 kB / 493 MB, free: 2.859 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005544/0.2953, allocations: 301.7 kB / 493.3 MB, free: 2.551 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.2953, allocations: 4 kB / 493.3 MB, free: 2.547 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.462e-06/0.2953, allocations: 0 / 493.3 MB, free: 2.547 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.2953, allocations: 0 / 493.3 MB, free: 2.547 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001046/0.2963, allocations: 0.639 MB / 493.9 MB, free: 1.871 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.2964, allocations: 0 / 493.9 MB, free: 1.871 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00042/0.2968, allocations: 67.97 kB / 494 MB, free: 1.805 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.2968, allocations: 3.938 kB / 494 MB, free: 1.801 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.667e-05/0.2968, allocations: 16 kB / 494 MB, free: 1.785 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.092e-06/0.2968, allocations: 7.922 kB / 494 MB, free: 1.777 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.2968, allocations: 3.938 kB / 494 MB, free: 1.773 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007237/0.2975, allocations: 493.2 kB / 494.5 MB, free: 1.277 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001275/0.2977, allocations: 59.72 kB / 494.5 MB, free: 1.219 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.225e-05/0.2977, allocations: 4 kB / 494.5 MB, free: 1.215 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002261/0.2979, allocations: 11.94 kB / 494.6 MB, free: 1.203 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.108e-05/0.298, allocations: 23.95 kB / 494.6 MB, free: 1.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.676e-05/0.298, allocations: 8 kB / 494.6 MB, free: 1.172 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002762/0.2983, allocations: 251.2 kB / 494.8 MB, free: 0.9297 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2983, allocations: 4 kB / 494.8 MB, free: 0.9258 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003942/0.2987, allocations: 88 kB / 494.9 MB, free: 0.8398 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.0001059/0.2988, allocations: 99.38 kB / 495 MB, free: 0.7344 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009332/0.2997, allocations: 406.9 kB / 495.4 MB, free: 332 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.2997, allocations: 7.938 kB / 495.4 MB, free: 324 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002162/0.2999, allocations: 119.8 kB / 495.5 MB, free: 204 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005063/0.3005, allocations: 71.06 kB / 495.6 MB, free: 136 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001972/0.3024, allocations: 1.099 MB / 496.7 MB, free: 15 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002166/0.3026, allocations: 207.8 kB / 496.9 MB, free: 14.77 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.717e-05/0.3027, allocations: 32.5 kB / 496.9 MB, free: 14.74 MB / 398.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3027, allocations: 4 kB / 497 MB, free: 14.74 MB / 398.1 MB Notification: Performance of Templates: time 0.008931/0.3117, allocations: 5.966 MB / 0.4911 GB, free: 8.777 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: 7.453822206007317] Failed to read output from testmodel.py, exit status != 0: 0.3205208231229335 0.33539819200000004 0.052839647000000003 Calling exit ...