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.00144/0.00144, allocations: 71.77 kB / 21.69 MB, free: 2.852 MB / 18.57 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.001596/0.001596, allocations: 170.6 kB / 24.99 MB, free: 8.793 MB / 18.57 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 0.9306/0.9306, allocations: 177.1 MB / 205.3 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 179] 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.1053/0.1053, allocations: 19.74 MB / 281.5 MB, free: 9.301 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 357.9 MB, free: 6.949 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.985e-05/2.157e-05, allocations: 9.266 kB / 357.9 MB, free: 6.941 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical7): time 0.004203/0.004225, allocations: 3.109 MB / 361 MB, free: 3.812 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001353/0.005577, allocations: 0.8139 MB / 361.9 MB, free: 2.992 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00014/0.005717, allocations: 7.938 kB / 361.9 MB, free: 2.984 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001437/0.005861, allocations: 63.31 kB / 361.9 MB, free: 2.922 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000257/0.006118, allocations: 158.6 kB / 362.1 MB, free: 2.766 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001807/0.006299, allocations: 123.8 kB / 362.2 MB, free: 2.645 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003668/0.006666, allocations: 0.5448 MB / 362.8 MB, free: 2.098 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000171/0.006837, allocations: 105.7 kB / 362.9 MB, free: 1.988 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002694/0.007106, allocations: 315.1 kB / 363.2 MB, free: 1.68 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001677/0.007274, allocations: 163.4 kB / 363.3 MB, free: 1.52 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.89e-05/0.007313, allocations: 32 kB / 363.4 MB, free: 1.488 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.095e-05/0.007374, allocations: 44 kB / 363.4 MB, free: 1.445 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.904e-05/0.007423, allocations: 95.52 kB / 363.5 MB, free: 1.352 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001053/0.007528, allocations: 155.5 kB / 363.6 MB, free: 1.199 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002758/0.007804, allocations: 310.7 kB / 363.9 MB, free: 0.8945 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.304e-06/0.007806, allocations: 0 / 363.9 MB, free: 0.8945 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.007807, allocations: 4 kB / 363.9 MB, free: 0.8906 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.529e-06/0.007811, allocations: 0 / 363.9 MB, free: 0.8906 MB / 282.7 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.0008319/0.008643, allocations: 0.8341 MB / 364.8 MB, free: 20 kB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.996e-05/0.008673, allocations: 8.031 kB / 364.8 MB, free: 12 kB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001276/0.008801, allocations: 84.59 kB / 364.9 MB, free: 15.93 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003021/0.009103, allocations: 314.5 kB / 365.2 MB, free: 15.6 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.964e-05/0.009123, allocations: 25.03 kB / 365.2 MB, free: 15.57 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.461e-05/0.009167, allocations: 36.38 kB / 365.2 MB, free: 15.54 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003009/0.009468, allocations: 279.7 kB / 365.5 MB, free: 15.25 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.58e-05/0.009484, allocations: 12.08 kB / 365.5 MB, free: 15.23 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.045e-05/0.009504, allocations: 8.375 kB / 365.5 MB, free: 15.23 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.155e-05/0.009516, allocations: 11.94 kB / 365.5 MB, free: 15.21 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001974/0.009713, allocations: 135.8 kB / 365.7 MB, free: 15.08 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001023/0.01074, allocations: 1.075 MB / 366.8 MB, free: 13.95 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002798/0.01102, allocations: 200 kB / 366.9 MB, free: 13.73 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000101/0.01112, allocations: 76.22 kB / 367 MB, free: 13.66 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.885e-05/0.01114, allocations: 8.281 kB / 367 MB, free: 13.65 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.227e-05/0.01116, allocations: 45.59 kB / 367.1 MB, free: 13.59 MB / 298.7 MB Notification: Performance of pre-optimization done (n=33): time 1.303e-06/0.01116, allocations: 0 / 367.1 MB, free: 13.59 MB / 298.7 MB Notification: Performance of matching and sorting (n=35): time 0.001111/0.01227, allocations: 0.7383 MB / 367.8 MB, free: 12.82 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.399e-05/0.01229, allocations: 55.41 kB / 367.9 MB, free: 12.75 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002683/0.01256, allocations: 402.7 kB / 368.3 MB, free: 12.34 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.813e-05/0.01258, allocations: 33.7 kB / 368.3 MB, free: 12.3 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001169/0.0127, allocations: 275.6 kB / 368.6 MB, free: 12.02 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.262e-05/0.01276, allocations: 122.9 kB / 368.7 MB, free: 11.9 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.091e-05/0.01283, allocations: 83.8 kB / 368.8 MB, free: 11.81 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001217/0.01295, allocations: 0.5157 MB / 369.3 MB, free: 11.29 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.291e-05/0.01304, allocations: 56.95 kB / 369.3 MB, free: 11.23 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001128/0.01315, allocations: 127.3 kB / 369.5 MB, free: 11.09 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002025/0.01335, allocations: 194.1 kB / 369.6 MB, free: 10.88 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.01335, allocations: 7.938 kB / 369.7 MB, free: 10.87 MB / 298.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0002975/0.01365, allocations: 289.1 kB / 369.9 MB, free: 10.58 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/0.01366, allocations: 4 kB / 369.9 MB, free: 10.58 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.01367, allocations: 4 kB / 369.9 MB, free: 10.57 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.01368, allocations: 0 / 369.9 MB, free: 10.57 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003797/0.01406, allocations: 144 kB / 370.1 MB, free: 10.43 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007615/0.01482, allocations: 1.85 MB / 371.9 MB, free: 8.453 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001117/0.01493, allocations: 15.94 kB / 372 MB, free: 8.438 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.579e-05/0.01495, allocations: 19.98 kB / 372 MB, free: 8.418 MB / 298.7 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 9.917e-05/0.01505, allocations: 176.6 kB / 372.1 MB, free: 8.234 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.165e-05/0.0151, allocations: 59.72 kB / 372.2 MB, free: 8.176 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002549/0.01535, allocations: 245.8 kB / 372.4 MB, free: 7.93 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.01536, allocations: 4 kB / 372.4 MB, free: 7.926 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.01536, allocations: 3.938 kB / 372.5 MB, free: 7.922 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.01536, allocations: 0 / 372.5 MB, free: 7.922 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005853/0.01595, allocations: 0.6427 MB / 373.1 MB, free: 7.238 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.01595, allocations: 0 / 373.1 MB, free: 7.238 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002307/0.01618, allocations: 83.89 kB / 373.2 MB, free: 7.156 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.01618, allocations: 0 / 373.2 MB, free: 7.156 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.648e-05/0.0162, allocations: 15.94 kB / 373.2 MB, free: 7.141 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.0162, allocations: 0 / 373.2 MB, free: 7.141 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.0162, allocations: 0 / 373.2 MB, free: 7.141 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003814/0.01658, allocations: 469.5 kB / 373.6 MB, free: 6.656 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.25e-05/0.01666, allocations: 63.67 kB / 373.7 MB, free: 6.594 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.978e-05/0.01669, allocations: 11.94 kB / 373.7 MB, free: 6.582 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001081/0.0168, allocations: 12 kB / 373.7 MB, free: 6.57 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.272e-05/0.01684, allocations: 23.95 kB / 373.8 MB, free: 6.547 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.107e-06/0.01685, allocations: 4 kB / 373.8 MB, free: 6.543 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001609/0.01701, allocations: 271.1 kB / 374 MB, free: 6.281 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01701, allocations: 8 kB / 374 MB, free: 6.273 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002207/0.01724, allocations: 84 kB / 374.1 MB, free: 6.191 MB / 298.7 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 8.125e-05/0.01732, allocations: 109.9 kB / 374.2 MB, free: 6.078 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003501/0.01767, allocations: 212.6 kB / 374.4 MB, free: 5.867 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.272e-06/0.01767, allocations: 4.25 kB / 374.4 MB, free: 5.863 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000107/0.01777, allocations: 119.6 kB / 374.6 MB, free: 5.742 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003139/0.01809, allocations: 76.62 kB / 374.6 MB, free: 5.672 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001375/0.01946, allocations: 0.9749 MB / 375.6 MB, free: 4.664 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.105e-05/0.01952, allocations: 109.1 kB / 375.7 MB, free: 4.539 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001053/0.01963, allocations: 47.25 kB / 375.8 MB, free: 4.492 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.665e-05/0.01971, allocations: 36.48 kB / 375.8 MB, free: 4.457 MB / 298.7 MB Notification: Performance of SimCode: time 6.41e-07/0.01971, allocations: 0 / 375.8 MB, free: 4.457 MB / 298.7 MB Notification: Performance of Templates: time 0.005813/0.02552, allocations: 4.438 MB / 380.2 MB, free: 80 kB / 298.7 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=240 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical7.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.8492393048945814]