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.001346/0.001346, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001467/0.001467, allocations: 213.3 kB / 23.73 MB, free: 4.387 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.436/1.436, allocations: 230.6 MB / 257.5 MB, free: 7.793 MB / 206.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.1597/0.1597, allocations: 26.85 MB / 340.8 MB, free: 7.953 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.002187/0.002187, allocations: 63.91 kB / 477.3 MB, free: 2.988 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2931/0.2953, allocations: 60.49 MB / 0.5252 GB, free: 9.656 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical6): time 0.003358/0.2987, allocations: 2.734 MB / 0.5278 GB, free: 7.824 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00117/0.2999, allocations: 0.7753 MB / 0.5286 GB, free: 7.285 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001601/0.3, allocations: 9.875 kB / 0.5286 GB, free: 7.281 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001508/0.3002, allocations: 63.5 kB / 0.5286 GB, free: 7.234 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002956/0.3005, allocations: 143.7 kB / 0.5288 GB, free: 7.133 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002038/0.3007, allocations: 107.4 kB / 0.5289 GB, free: 7.078 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004127/0.3011, allocations: 0.4909 MB / 0.5294 GB, free: 6.824 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000183/0.3013, allocations: 94.02 kB / 0.5295 GB, free: 6.77 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002598/0.3015, allocations: 206 kB / 0.5297 GB, free: 6.676 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002626/0.3018, allocations: 183.8 kB / 0.5298 GB, free: 6.594 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.04e-05/0.3019, allocations: 32.62 kB / 0.5299 GB, free: 6.594 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001103/0.302, allocations: 35.53 kB / 0.5299 GB, free: 6.594 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.626e-05/0.302, allocations: 90.67 kB / 0.53 GB, free: 6.531 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001828/0.3022, allocations: 178.8 kB / 0.5302 GB, free: 6.434 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004854/0.3027, allocations: 417.1 kB / 0.5305 GB, free: 6.246 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.3027, allocations: 0.8438 kB / 0.5306 GB, free: 6.246 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.3027, allocations: 0.5938 kB / 0.5306 GB, free: 6.246 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.847e-06/0.3027, allocations: 0 / 0.5306 GB, free: 6.246 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.001155/0.3039, allocations: 0.6875 MB / 0.5312 GB, free: 5.746 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.956e-05/0.3039, allocations: 9.844 kB / 0.5312 GB, free: 5.746 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001171/0.304, allocations: 58.67 kB / 0.5313 GB, free: 5.715 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004114/0.3044, allocations: 295.8 kB / 0.5316 GB, free: 5.488 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.789e-05/0.3044, allocations: 21.88 kB / 0.5316 GB, free: 5.48 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.951e-05/0.3045, allocations: 38.03 kB / 0.5316 GB, free: 5.465 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004359/0.3049, allocations: 306.3 kB / 0.5319 GB, free: 5.309 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.73e-05/0.305, allocations: 0 / 0.5319 GB, free: 5.309 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.496e-05/0.305, allocations: 10.66 kB / 0.5319 GB, free: 5.301 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.625e-06/0.305, allocations: 7.094 kB / 0.5319 GB, free: 5.301 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003559/0.3053, allocations: 207.2 kB / 0.5321 GB, free: 5.238 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001354/0.3067, allocations: 0.9222 MB / 0.533 GB, free: 4.602 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003424/0.307, allocations: 229.1 kB / 0.5333 GB, free: 4.496 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000177/0.3072, allocations: 116.1 kB / 0.5334 GB, free: 4.445 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.732e-05/0.3072, allocations: 4.328 kB / 0.5334 GB, free: 4.445 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.335e-05/0.3073, allocations: 36.81 kB / 0.5334 GB, free: 4.402 MB / 382.1 MB Notification: Performance of pre-optimization done (n=31): time 1.402e-06/0.3073, allocations: 0 / 0.5334 GB, free: 4.402 MB / 382.1 MB Notification: Performance of matching and sorting (n=33): time 0.001527/0.3088, allocations: 0.7984 MB / 0.5342 GB, free: 3.949 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.981e-05/0.3088, allocations: 58.53 kB / 0.5342 GB, free: 3.883 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003233/0.3091, allocations: 346 kB / 0.5346 GB, free: 3.703 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.3092, allocations: 31.14 kB / 0.5346 GB, free: 3.668 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001066/0.3093, allocations: 212.4 kB / 0.5348 GB, free: 3.488 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.829e-05/0.3093, allocations: 127.3 kB / 0.5349 GB, free: 3.387 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.412e-05/0.3094, allocations: 73.72 kB / 0.535 GB, free: 3.336 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.869e-05/0.3095, allocations: 348.8 kB / 0.5353 GB, free: 3.008 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001595/0.3096, allocations: 85.64 kB / 0.5354 GB, free: 2.98 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001754/0.3098, allocations: 149.6 kB / 0.5355 GB, free: 2.891 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003298/0.3101, allocations: 239 kB / 0.5358 GB, free: 2.758 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.3101, allocations: 0 / 0.5358 GB, free: 2.758 MB / 382.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008678/0.311, allocations: 418.7 kB / 0.5362 GB, free: 2.578 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.311, allocations: 5.5 kB / 0.5362 GB, free: 2.578 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.311, allocations: 1.312 kB / 0.5362 GB, free: 2.578 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005674/0.3116, allocations: 128.1 kB / 0.5363 GB, free: 2.543 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004093/0.312, allocations: 88.19 kB / 0.5364 GB, free: 2.539 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002503/0.3145, allocations: 3.084 MB / 0.5394 GB, free: 15.73 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002353/0.3147, allocations: 15.61 kB / 0.5394 GB, free: 15.73 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.472e-05/0.3148, allocations: 11.83 kB / 0.5394 GB, free: 15.72 MB / 398.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.0001916/0.315, allocations: 159.7 kB / 0.5396 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.669e-05/0.315, allocations: 37.73 kB / 0.5396 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005153/0.3155, allocations: 293.2 kB / 0.5399 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.3155, allocations: 8.812 kB / 0.5399 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-06/0.3155, allocations: 0 / 0.5399 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.3155, allocations: 1.828 kB / 0.5399 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001013/0.3166, allocations: 0.6479 MB / 0.5405 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.3166, allocations: 1.031 kB / 0.5405 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003741/0.3169, allocations: 71.34 kB / 0.5406 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.3169, allocations: 1.781 kB / 0.5406 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.231e-05/0.317, allocations: 11.55 kB / 0.5406 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.909e-06/0.317, allocations: 5.719 kB / 0.5406 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.317, allocations: 7.938 kB / 0.5406 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006798/0.3177, allocations: 497.3 kB / 0.5411 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001357/0.3178, allocations: 55.59 kB / 0.5412 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.71e-05/0.3178, allocations: 5.375 kB / 0.5412 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002207/0.3181, allocations: 14.12 kB / 0.5412 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.359e-05/0.3181, allocations: 17.89 kB / 0.5412 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.727e-05/0.3181, allocations: 11.44 kB / 0.5412 GB, free: 14.66 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002618/0.3184, allocations: 247.9 kB / 0.5414 GB, free: 14.53 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3184, allocations: 0 / 0.5414 GB, free: 14.53 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003748/0.3188, allocations: 93.59 kB / 0.5415 GB, free: 14.52 MB / 398.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.0001067/0.3189, allocations: 103.8 kB / 0.5416 GB, free: 14.42 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000915/0.3198, allocations: 424.5 kB / 0.542 GB, free: 14.21 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3198, allocations: 0 / 0.542 GB, free: 14.21 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002077/0.32, allocations: 119.6 kB / 0.5421 GB, free: 14.17 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004953/0.3205, allocations: 71.09 kB / 0.5422 GB, free: 14.14 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001823/0.3223, allocations: 1.086 MB / 0.5433 GB, free: 13.43 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002211/0.3225, allocations: 219.5 kB / 0.5435 GB, free: 13.34 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001647/0.3227, allocations: 44.83 kB / 0.5435 GB, free: 13.32 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.7e-05/0.3228, allocations: 29.3 kB / 0.5436 GB, free: 13.32 MB / 398.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3228, allocations: 1.281 kB / 0.5436 GB, free: 13.32 MB / 398.1 MB Notification: Performance of Templates: time 0.009767/0.3326, allocations: 5.003 MB / 0.5484 GB, free: 10.8 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.638687431812286] Failed to read output from testmodel.py, exit status != 0: 0.34129743091762066 0.354723975 0.049036105 Calling exit ...