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.001831/0.001831, allocations: 83.19 kB / 21.28 MB, free: 0.5195 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.002168/0.002168, allocations: 159.6 kB / 24.53 MB, free: 3.84 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 2.217/2.217, allocations: 177.2 MB / 204.9 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.152/0.152, allocations: 19.71 MB / 281 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.002222/0.002222, allocations: 67.91 kB / 417.6 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2945/0.2967, allocations: 60.45 MB / 478.1 MB, free: 15.57 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical7): time 0.004262/0.301, allocations: 2.918 MB / 481 MB, free: 13.35 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001421/0.3024, allocations: 0.7944 MB / 481.8 MB, free: 12.71 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001728/0.3026, allocations: 10.44 kB / 481.8 MB, free: 12.7 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001701/0.3028, allocations: 54.05 kB / 481.8 MB, free: 12.65 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003786/0.3031, allocations: 159.1 kB / 482 MB, free: 12.51 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002601/0.3034, allocations: 122.1 kB / 482.1 MB, free: 12.41 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005569/0.304, allocations: 0.5232 MB / 482.6 MB, free: 12.09 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002143/0.3042, allocations: 96.05 kB / 482.7 MB, free: 12.02 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004199/0.3046, allocations: 320.6 kB / 483 MB, free: 11.82 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002731/0.3049, allocations: 209.5 kB / 483.2 MB, free: 11.68 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.532e-05/0.3049, allocations: 35.41 kB / 483.3 MB, free: 11.68 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.056e-05/0.305, allocations: 42.03 kB / 483.3 MB, free: 11.67 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.742e-05/0.3051, allocations: 92.61 kB / 483.4 MB, free: 11.59 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001955/0.3053, allocations: 193.2 kB / 483.6 MB, free: 11.47 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005121/0.3058, allocations: 446.1 kB / 484 MB, free: 11.16 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.3058, allocations: 0 / 484 MB, free: 11.16 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.3058, allocations: 1.219 kB / 484 MB, free: 11.16 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.224e-06/0.3058, allocations: 0 / 484 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.001414/0.3072, allocations: 0.7319 MB / 484.8 MB, free: 10.57 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.262e-05/0.3073, allocations: 8.531 kB / 484.8 MB, free: 10.57 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001455/0.3074, allocations: 59.67 kB / 484.8 MB, free: 10.54 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005123/0.3079, allocations: 307.8 kB / 485.1 MB, free: 10.27 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.769e-05/0.308, allocations: 30.78 kB / 485.2 MB, free: 10.26 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.465e-05/0.308, allocations: 43.41 kB / 485.2 MB, free: 10.24 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005353/0.3086, allocations: 318.7 kB / 485.5 MB, free: 10.03 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.692e-05/0.3086, allocations: 1.219 kB / 485.5 MB, free: 10.03 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.764e-05/0.3086, allocations: 10.62 kB / 485.5 MB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.265e-06/0.3086, allocations: 12.19 kB / 485.5 MB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004222/0.309, allocations: 215.9 kB / 485.7 MB, free: 9.914 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001729/0.3108, allocations: 0.9625 MB / 486.7 MB, free: 9.145 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004991/0.3113, allocations: 250.7 kB / 487 MB, free: 9.008 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002291/0.3115, allocations: 116.8 kB / 487.1 MB, free: 8.949 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.376e-05/0.3115, allocations: 8.359 kB / 487.1 MB, free: 8.945 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.609e-05/0.3116, allocations: 37.34 kB / 487.1 MB, free: 8.902 MB / 382.1 MB Notification: Performance of pre-optimization done (n=33): time 1.643e-06/0.3116, allocations: 0 / 487.1 MB, free: 8.902 MB / 382.1 MB Notification: Performance of matching and sorting (n=35): time 0.002076/0.3136, allocations: 0.8765 MB / 488 MB, free: 8.18 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.306e-05/0.3137, allocations: 55.41 kB / 488 MB, free: 8.113 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004111/0.3141, allocations: 365.6 kB / 488.4 MB, free: 7.75 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.133e-05/0.3141, allocations: 37.7 kB / 488.4 MB, free: 7.707 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001726/0.3143, allocations: 224.9 kB / 488.7 MB, free: 7.484 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001164/0.3144, allocations: 139.2 kB / 488.8 MB, free: 7.348 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001038/0.3145, allocations: 70.16 kB / 488.9 MB, free: 7.273 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001817/0.3147, allocations: 358.7 kB / 489.2 MB, free: 6.914 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001922/0.3149, allocations: 84.97 kB / 489.3 MB, free: 6.832 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002306/0.3151, allocations: 149.2 kB / 489.4 MB, free: 6.672 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004458/0.3156, allocations: 260 kB / 489.7 MB, free: 6.402 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.3156, allocations: 0 / 489.7 MB, free: 6.402 MB / 382.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0005755/0.3161, allocations: 345.1 kB / 490 MB, free: 6.059 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.3162, allocations: 4 kB / 490 MB, free: 6.055 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.3162, allocations: 4 kB / 490 MB, free: 6.051 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.3162, allocations: 0 / 490 MB, free: 6.051 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007325/0.3169, allocations: 152 kB / 490.2 MB, free: 5.902 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001215/0.3181, allocations: 1.319 MB / 491.5 MB, free: 4.477 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002372/0.3184, allocations: 16.02 kB / 491.5 MB, free: 4.461 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.698e-05/0.3184, allocations: 19.94 kB / 491.5 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.0001713/0.3186, allocations: 154 kB / 491.7 MB, free: 4.281 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.374e-05/0.3186, allocations: 47.66 kB / 491.7 MB, free: 4.234 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005807/0.3192, allocations: 325.5 kB / 492.1 MB, free: 3.906 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.3192, allocations: 4 kB / 492.1 MB, free: 3.902 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-06/0.3192, allocations: 0 / 492.1 MB, free: 3.902 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.3192, allocations: 0 / 492.1 MB, free: 3.902 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001049/0.3203, allocations: 0.6591 MB / 492.7 MB, free: 3.207 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.3203, allocations: 0 / 492.7 MB, free: 3.207 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004541/0.3207, allocations: 87.89 kB / 492.8 MB, free: 3.121 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/0.3207, allocations: 4 kB / 492.8 MB, free: 3.117 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.176e-05/0.3208, allocations: 4 kB / 492.8 MB, free: 3.113 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.3208, allocations: 4 kB / 492.8 MB, free: 3.109 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3208, allocations: 0 / 492.8 MB, free: 3.109 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007573/0.3215, allocations: 0.5128 MB / 493.3 MB, free: 2.578 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001487/0.3217, allocations: 63.67 kB / 493.4 MB, free: 2.516 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.574e-05/0.3217, allocations: 8 kB / 493.4 MB, free: 2.508 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002422/0.322, allocations: 11.98 kB / 493.4 MB, free: 2.496 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.047e-05/0.322, allocations: 23.95 kB / 493.4 MB, free: 2.473 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.835e-05/0.322, allocations: 12 kB / 493.4 MB, free: 2.461 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002908/0.3223, allocations: 259.2 kB / 493.7 MB, free: 2.207 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3223, allocations: 0 / 493.7 MB, free: 2.207 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000395/0.3227, allocations: 84 kB / 493.8 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.000124/0.3228, allocations: 103.3 kB / 493.9 MB, free: 2.012 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006749/0.3235, allocations: 272.2 kB / 494.1 MB, free: 1.746 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.3235, allocations: 0 / 494.1 MB, free: 1.746 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002229/0.3237, allocations: 123.8 kB / 494.3 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.0005039/0.3243, allocations: 88.5 kB / 494.4 MB, free: 1.543 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001971/0.3262, allocations: 1.132 MB / 495.5 MB, free: 396 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002177/0.3264, allocations: 227.8 kB / 495.7 MB, free: 144 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001573/0.3266, allocations: 51.22 kB / 495.8 MB, free: 92 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001071/0.3267, allocations: 32.5 kB / 495.8 MB, free: 60 kB / 382.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3267, allocations: 0 / 495.8 MB, free: 60 kB / 382.1 MB Notification: Performance of Templates: time 0.009457/0.3362, allocations: 4.403 MB / 0.4885 GB, 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 -s cvode -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical7.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.716926727909595] Failed to read output from testmodel.py, exit status != 0: 0.3449237489840016 0.358554725 0.049770762 Calling exit ...