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.001808/0.001808, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.002285/0.002285, allocations: 209.1 kB / 24.48 MB, free: 3.938 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.398/1.398, allocations: 230.6 MB / 258.2 MB, free: 7.801 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.1365/0.1365, allocations: 26.84 MB / 341.5 MB, free: 7.957 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.002004/0.002004, allocations: 75.81 kB / 478 MB, free: 2.98 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2772/0.2792, allocations: 60.47 MB / 0.5259 GB, free: 9.668 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical7): time 0.003424/0.2826, allocations: 2.903 MB / 0.5287 GB, free: 7.719 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001157/0.2838, allocations: 0.8038 MB / 0.5295 GB, free: 7.156 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001643/0.2839, allocations: 10 kB / 0.5295 GB, free: 7.152 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001536/0.2841, allocations: 66.03 kB / 0.5296 GB, free: 7.105 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003011/0.2844, allocations: 150 kB / 0.5297 GB, free: 7 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002243/0.2846, allocations: 120.9 kB / 0.5298 GB, free: 6.938 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004308/0.2851, allocations: 0.522 MB / 0.5303 GB, free: 6.676 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001977/0.2853, allocations: 104.6 kB / 0.5304 GB, free: 6.609 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003013/0.2856, allocations: 224.6 kB / 0.5307 GB, free: 6.504 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002778/0.2858, allocations: 200.3 kB / 0.5308 GB, free: 6.414 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.048e-05/0.2859, allocations: 34.94 kB / 0.5309 GB, free: 6.414 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001188/0.286, allocations: 42.25 kB / 0.5309 GB, free: 6.41 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.035e-05/0.2861, allocations: 89.39 kB / 0.531 GB, free: 6.352 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001813/0.2863, allocations: 188.2 kB / 0.5312 GB, free: 6.25 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004655/0.2867, allocations: 445.1 kB / 0.5316 GB, free: 6.051 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.2868, allocations: 4 kB / 0.5316 GB, free: 6.047 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.2868, allocations: 1.188 kB / 0.5316 GB, free: 6.047 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.905e-06/0.2868, allocations: 0 / 0.5316 GB, free: 6.047 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.001139/0.2879, allocations: 0.7384 MB / 0.5323 GB, free: 5.516 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.08e-05/0.2879, allocations: 9.969 kB / 0.5323 GB, free: 5.516 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001177/0.288, allocations: 55.69 kB / 0.5324 GB, free: 5.488 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000417/0.2885, allocations: 306.7 kB / 0.5327 GB, free: 5.258 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.326e-05/0.2885, allocations: 31.47 kB / 0.5327 GB, free: 5.242 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.222e-05/0.2886, allocations: 40.56 kB / 0.5328 GB, free: 5.227 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004397/0.289, allocations: 316.3 kB / 0.5331 GB, free: 5.07 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.684e-05/0.289, allocations: 0 / 0.5331 GB, free: 5.07 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.311e-05/0.289, allocations: 15.06 kB / 0.5331 GB, free: 5.059 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.917e-06/0.289, allocations: 9.281 kB / 0.5331 GB, free: 5.059 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003558/0.2894, allocations: 212.3 kB / 0.5333 GB, free: 4.996 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001396/0.2908, allocations: 0.9655 MB / 0.5342 GB, free: 4.34 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004352/0.2912, allocations: 255.2 kB / 0.5345 GB, free: 4.223 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000183/0.2914, allocations: 117.6 kB / 0.5346 GB, free: 4.176 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.77e-05/0.2914, allocations: 9.312 kB / 0.5346 GB, free: 4.172 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.331e-05/0.2915, allocations: 36.69 kB / 0.5346 GB, free: 4.129 MB / 382.1 MB Notification: Performance of pre-optimization done (n=33): time 1.352e-06/0.2915, allocations: 0 / 0.5346 GB, free: 4.129 MB / 382.1 MB Notification: Performance of matching and sorting (n=35): time 0.001767/0.2932, allocations: 0.8812 MB / 0.5355 GB, free: 3.652 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.059e-05/0.2932, allocations: 56.53 kB / 0.5355 GB, free: 3.59 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003427/0.2936, allocations: 374.1 kB / 0.5359 GB, free: 3.398 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.823e-05/0.2936, allocations: 32.05 kB / 0.5359 GB, free: 3.363 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000105/0.2937, allocations: 223.9 kB / 0.5361 GB, free: 3.18 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.862e-05/0.2938, allocations: 129 kB / 0.5363 GB, free: 3.078 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.615e-05/0.2939, allocations: 76.22 kB / 0.5363 GB, free: 3.031 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.522e-05/0.2939, allocations: 353.9 kB / 0.5367 GB, free: 2.699 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001669/0.2941, allocations: 92.78 kB / 0.5368 GB, free: 2.668 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001824/0.2943, allocations: 151.5 kB / 0.5369 GB, free: 2.582 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000343/0.2946, allocations: 252.4 kB / 0.5371 GB, free: 2.441 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.2946, allocations: 0 / 0.5371 GB, free: 2.441 MB / 382.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.000483/0.2951, allocations: 343.3 kB / 0.5375 GB, free: 2.289 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.2951, allocations: 12.62 kB / 0.5375 GB, free: 2.285 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.2951, allocations: 1.828 kB / 0.5375 GB, free: 2.285 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.2951, allocations: 3.781 kB / 0.5375 GB, free: 2.285 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006669/0.2958, allocations: 150.9 kB / 0.5376 GB, free: 2.273 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006936/0.2965, allocations: 1.318 MB / 0.5389 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002275/0.2967, allocations: 12.19 kB / 0.5389 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.123e-05/0.2967, allocations: 13.34 kB / 0.5389 GB, free: 0.9336 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.000117/0.2969, allocations: 155 kB / 0.5391 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.105e-05/0.2969, allocations: 43.53 kB / 0.5391 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004601/0.2974, allocations: 324.4 kB / 0.5394 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.2974, allocations: 4.344 kB / 0.5395 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-06/0.2974, allocations: 4 kB / 0.5395 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.2974, allocations: 1.594 kB / 0.5395 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008588/0.2983, allocations: 0.6625 MB / 0.5401 GB, free: 200 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.2983, allocations: 1.219 kB / 0.5401 GB, free: 200 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003892/0.2986, allocations: 85.77 kB / 0.5402 GB, free: 188 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.676e-06/0.2987, allocations: 2.188 kB / 0.5402 GB, free: 188 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.125e-05/0.2987, allocations: 7.625 kB / 0.5402 GB, free: 184 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.2987, allocations: 1.188 kB / 0.5402 GB, free: 184 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.2987, allocations: 1.094 kB / 0.5402 GB, free: 184 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007004/0.2994, allocations: 0.5187 MB / 0.5407 GB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001423/0.2995, allocations: 61.66 kB / 0.5408 GB, free: 15.85 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.847e-05/0.2996, allocations: 7.703 kB / 0.5408 GB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002237/0.2998, allocations: 12.05 kB / 0.5408 GB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.851e-05/0.2998, allocations: 23.69 kB / 0.5408 GB, free: 15.83 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.574e-05/0.2999, allocations: 6.891 kB / 0.5408 GB, free: 15.83 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002774/0.3001, allocations: 264.9 kB / 0.5411 GB, free: 15.69 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3001, allocations: 0 / 0.5411 GB, free: 15.69 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003331/0.3005, allocations: 86.25 kB / 0.5411 GB, free: 15.68 MB / 398.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.0001054/0.3006, allocations: 100.8 kB / 0.5412 GB, free: 15.58 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005779/0.3012, allocations: 257.4 kB / 0.5415 GB, free: 15.51 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3012, allocations: 0 / 0.5415 GB, free: 15.51 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002089/0.3014, allocations: 124.9 kB / 0.5416 GB, free: 15.47 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005282/0.3019, allocations: 94.78 kB / 0.5417 GB, free: 15.43 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001918/0.3038, allocations: 1.151 MB / 0.5428 GB, free: 14.67 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002144/0.304, allocations: 221.6 kB / 0.543 GB, free: 14.58 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000113/0.3041, allocations: 33.23 kB / 0.5431 GB, free: 14.57 MB / 398.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3041, allocations: 0 / 0.5431 GB, free: 14.57 MB / 398.1 MB Notification: Performance of Templates: time 0.008461/0.3126, allocations: 5.624 MB / 0.5486 GB, free: 11.66 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: 6.84480864496436] Failed to read output from testmodel.py, exit status != 0: 0.32099734898656607 0.335365721 0.045636380000000004 Calling exit ...