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.001367/0.001367, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.001428/0.001428, allocations: 210 kB / 24.5 MB, free: 4.133 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.395/1.395, allocations: 230.6 MB / 258.3 MB, free: 8.047 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.1496/0.1496, allocations: 26.82 MB / 341.5 MB, free: 8.242 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.002047/0.002047, allocations: 67.91 kB / 478.1 MB, free: 3.227 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2762/0.2783, allocations: 60.48 MB / 0.5259 GB, free: 9.789 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical7): time 0.003399/0.2817, allocations: 3.175 MB / 0.529 GB, free: 7.547 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001221/0.2829, allocations: 0.847 MB / 0.5299 GB, free: 6.938 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001692/0.2831, allocations: 13.22 kB / 0.5299 GB, free: 6.93 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000153/0.2832, allocations: 59.69 kB / 0.5299 GB, free: 6.891 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002913/0.2835, allocations: 147.4 kB / 0.5301 GB, free: 6.785 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002233/0.2838, allocations: 121 kB / 0.5302 GB, free: 6.723 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000449/0.2842, allocations: 0.5189 MB / 0.5307 GB, free: 6.465 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001921/0.2844, allocations: 117.2 kB / 0.5308 GB, free: 6.391 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003008/0.2847, allocations: 222.9 kB / 0.531 GB, free: 6.285 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003027/0.285, allocations: 224.1 kB / 0.5312 GB, free: 6.172 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.569e-05/0.2851, allocations: 35.47 kB / 0.5313 GB, free: 6.172 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.869e-05/0.2851, allocations: 38.3 kB / 0.5313 GB, free: 6.172 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.383e-05/0.2852, allocations: 97.8 kB / 0.5314 GB, free: 6.105 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002042/0.2854, allocations: 234.7 kB / 0.5316 GB, free: 5.957 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005142/0.2859, allocations: 432.4 kB / 0.532 GB, free: 5.766 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.2859, allocations: 4 kB / 0.532 GB, free: 5.762 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.2859, allocations: 0.5 kB / 0.532 GB, free: 5.762 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.345e-06/0.2859, allocations: 0.5312 kB / 0.532 GB, free: 5.762 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.001224/0.2872, allocations: 0.7408 MB / 0.5328 GB, free: 5.23 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.026e-05/0.2872, allocations: 15.2 kB / 0.5328 GB, free: 5.227 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001216/0.2873, allocations: 55.67 kB / 0.5328 GB, free: 5.199 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004189/0.2877, allocations: 309.4 kB / 0.5331 GB, free: 4.965 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.216e-05/0.2878, allocations: 29.75 kB / 0.5332 GB, free: 4.949 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.011e-05/0.2878, allocations: 40.75 kB / 0.5332 GB, free: 4.934 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004495/0.2883, allocations: 316.3 kB / 0.5335 GB, free: 4.777 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.736e-05/0.2883, allocations: 3.938 kB / 0.5335 GB, free: 4.773 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.525e-05/0.2883, allocations: 12.3 kB / 0.5335 GB, free: 4.766 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.238e-05/0.2883, allocations: 7.125 kB / 0.5335 GB, free: 4.766 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000432/0.2887, allocations: 211.7 kB / 0.5337 GB, free: 4.707 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001543/0.2903, allocations: 1.104 MB / 0.5348 GB, free: 3.977 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004267/0.2907, allocations: 244 kB / 0.535 GB, free: 3.871 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001864/0.2909, allocations: 119.1 kB / 0.5351 GB, free: 3.824 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.119e-05/0.2909, allocations: 7.375 kB / 0.5352 GB, free: 3.82 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.436e-05/0.2909, allocations: 40.98 kB / 0.5352 GB, free: 3.773 MB / 382.1 MB Notification: Performance of pre-optimization done (n=33): time 1.573e-06/0.291, allocations: 0 / 0.5352 GB, free: 3.773 MB / 382.1 MB Notification: Performance of matching and sorting (n=35): time 0.001812/0.2928, allocations: 0.8698 MB / 0.536 GB, free: 3.309 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.047e-05/0.2928, allocations: 55.44 kB / 0.5361 GB, free: 3.246 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003464/0.2931, allocations: 378.2 kB / 0.5365 GB, free: 3.055 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.91e-05/0.2931, allocations: 32.02 kB / 0.5365 GB, free: 3.02 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.759e-05/0.2932, allocations: 223.7 kB / 0.5367 GB, free: 2.836 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.722e-05/0.2933, allocations: 137.1 kB / 0.5368 GB, free: 2.727 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.603e-05/0.2934, allocations: 71.28 kB / 0.5369 GB, free: 2.684 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.101e-05/0.2935, allocations: 357.9 kB / 0.5372 GB, free: 2.348 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001664/0.2936, allocations: 89.11 kB / 0.5373 GB, free: 2.32 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001845/0.2938, allocations: 154.2 kB / 0.5375 GB, free: 2.23 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003363/0.2941, allocations: 264 kB / 0.5377 GB, free: 2.078 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.2941, allocations: 3.938 kB / 0.5377 GB, free: 2.074 MB / 382.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0004798/0.2946, allocations: 343.5 kB / 0.5381 GB, free: 1.922 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.2946, allocations: 8.438 kB / 0.5381 GB, free: 1.922 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.2947, allocations: 1.672 kB / 0.5381 GB, free: 1.922 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.2947, allocations: 6.906 kB / 0.5381 GB, free: 1.918 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006804/0.2953, allocations: 146.3 kB / 0.5382 GB, free: 1.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000717/0.2961, allocations: 1.343 MB / 0.5395 GB, free: 0.543 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002546/0.2963, allocations: 13.27 kB / 0.5395 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.099e-05/0.2963, allocations: 13.92 kB / 0.5396 GB, free: 0.5312 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.0001283/0.2965, allocations: 155.7 kB / 0.5397 GB, free: 396 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.41e-05/0.2965, allocations: 47.78 kB / 0.5397 GB, free: 368 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004727/0.297, allocations: 316 kB / 0.54 GB, free: 212 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.297, allocations: 4.625 kB / 0.5401 GB, free: 212 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.333e-06/0.297, allocations: 0 / 0.5401 GB, free: 212 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.297, allocations: 6.438 kB / 0.5401 GB, free: 208 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00105/0.2981, allocations: 0.7621 MB / 0.5408 GB, free: 15.74 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.2981, allocations: 1.5 kB / 0.5408 GB, free: 15.74 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004011/0.2985, allocations: 77.72 kB / 0.5409 GB, free: 15.73 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.2985, allocations: 1.469 kB / 0.5409 GB, free: 15.73 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.703e-05/0.2985, allocations: 12.44 kB / 0.5409 GB, free: 15.73 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.2985, allocations: 1.781 kB / 0.5409 GB, free: 15.73 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.2985, allocations: 0 / 0.5409 GB, free: 15.73 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000705/0.2992, allocations: 0.5108 MB / 0.5414 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001436/0.2994, allocations: 69.38 kB / 0.5415 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.038e-05/0.2994, allocations: 6.219 kB / 0.5415 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002313/0.2996, allocations: 9.438 kB / 0.5415 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.249e-05/0.2997, allocations: 27.59 kB / 0.5415 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.904e-05/0.2997, allocations: 10.88 kB / 0.5415 GB, free: 15.38 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002968/0.3, allocations: 266.1 kB / 0.5418 GB, free: 15.24 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3, allocations: 4 kB / 0.5418 GB, free: 15.24 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000374/0.3004, allocations: 86.59 kB / 0.5418 GB, free: 15.23 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.0001258/0.3005, allocations: 104.3 kB / 0.5419 GB, free: 15.12 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006205/0.3011, allocations: 258.2 kB / 0.5422 GB, free: 15.05 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3011, allocations: 3.938 kB / 0.5422 GB, free: 15.05 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002098/0.3013, allocations: 124 kB / 0.5423 GB, free: 15.01 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005384/0.3019, allocations: 82.17 kB / 0.5424 GB, free: 14.98 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001994/0.3039, allocations: 1.152 MB / 0.5435 GB, free: 14.22 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004411/0.3043, allocations: 0.8207 MB / 0.5443 GB, free: 13.52 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001406/0.3045, allocations: 36.09 kB / 0.5444 GB, free: 13.5 MB / 398.1 MB Notification: Performance of SimCode: time 8.21e-07/0.3045, allocations: 1.188 kB / 0.5444 GB, free: 13.5 MB / 398.1 MB Notification: Performance of Templates: time 0.008416/0.3129, allocations: 5.476 MB / 0.5497 GB, free: 10.59 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.995078288950026] Failed to read output from testmodel.py, exit status != 0: 0.32127707498148084 0.335029691 0.046122962 Calling exit ...