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.0008572/0.0008572, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.0008991/0.0008991, allocations: 161 kB / 24.56 MB, free: 16 kB / 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.8732/0.8732, allocations: 177.1 MB / 205 MB, free: 5.621 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.08045/0.08045, allocations: 19.75 MB / 281.2 MB, free: 9.25 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.222e-06/1.222e-06, allocations: 0 / 358 MB, free: 6.598 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.527e-06/1.075e-05, allocations: 2.312 kB / 358 MB, free: 6.594 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical7): time 0.002807/0.002818, allocations: 3.12 MB / 361.1 MB, free: 3.457 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001001/0.003819, allocations: 0.8218 MB / 361.9 MB, free: 2.629 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001387/0.003958, allocations: 11.88 kB / 361.9 MB, free: 2.617 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001337/0.004092, allocations: 59.31 kB / 362 MB, free: 2.559 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002596/0.004351, allocations: 158.6 kB / 362.1 MB, free: 2.402 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001917/0.004543, allocations: 123.8 kB / 362.2 MB, free: 2.281 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003705/0.004913, allocations: 0.5409 MB / 362.8 MB, free: 1.738 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001561/0.005069, allocations: 113.7 kB / 362.9 MB, free: 1.621 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002856/0.005355, allocations: 303.2 kB / 363.2 MB, free: 1.324 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001655/0.005521, allocations: 171.4 kB / 363.4 MB, free: 1.156 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.107e-05/0.005562, allocations: 32 kB / 363.4 MB, free: 1.125 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.187e-05/0.005623, allocations: 40 kB / 363.4 MB, free: 1.086 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.685e-05/0.00567, allocations: 91.59 kB / 363.5 MB, free: 0.9961 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 9.894e-05/0.005769, allocations: 159.5 kB / 363.7 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002772/0.006046, allocations: 318.6 kB / 364 MB, free: 0.5273 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.563e-06/0.006048, allocations: 0 / 364 MB, free: 0.5273 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.006049, allocations: 0 / 364 MB, free: 0.5273 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.777e-06/0.006052, allocations: 0 / 364 MB, free: 0.5273 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.0008734/0.006926, allocations: 0.8302 MB / 364.8 MB, free: 15.66 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.146e-05/0.006957, allocations: 12.03 kB / 364.8 MB, free: 15.65 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001238/0.007081, allocations: 76.61 kB / 364.9 MB, free: 15.57 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003006/0.007382, allocations: 322.5 kB / 365.2 MB, free: 15.23 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.876e-05/0.0074, allocations: 25.03 kB / 365.2 MB, free: 15.21 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.11e-05/0.007442, allocations: 40.36 kB / 365.3 MB, free: 15.17 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003005/0.007742, allocations: 271.7 kB / 365.5 MB, free: 14.89 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.457e-05/0.007757, allocations: 12.08 kB / 365.6 MB, free: 14.88 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.871e-05/0.007775, allocations: 12.38 kB / 365.6 MB, free: 14.86 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.027e-05/0.007786, allocations: 11.94 kB / 365.6 MB, free: 14.85 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001955/0.007981, allocations: 135.8 kB / 365.7 MB, free: 14.71 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001015/0.008996, allocations: 1.071 MB / 366.8 MB, free: 13.59 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002897/0.009285, allocations: 199.3 kB / 367 MB, free: 13.38 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001002/0.009386, allocations: 84.2 kB / 367.1 MB, free: 13.29 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.755e-05/0.009403, allocations: 8.281 kB / 367.1 MB, free: 13.29 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.876e-05/0.009422, allocations: 41.61 kB / 367.1 MB, free: 13.23 MB / 298.7 MB Notification: Performance of pre-optimization done (n=33): time 1.443e-06/0.009423, allocations: 0 / 367.1 MB, free: 13.23 MB / 298.7 MB Notification: Performance of matching and sorting (n=35): time 0.001077/0.0105, allocations: 0.738 MB / 367.9 MB, free: 12.46 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.476e-05/0.01052, allocations: 59.41 kB / 367.9 MB, free: 12.39 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002481/0.01077, allocations: 394.7 kB / 368.3 MB, free: 11.98 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.751e-05/0.01079, allocations: 37.7 kB / 368.3 MB, free: 11.94 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001094/0.0109, allocations: 263.6 kB / 368.6 MB, free: 11.68 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.246e-05/0.01096, allocations: 138.8 kB / 368.7 MB, free: 11.54 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.497e-05/0.01104, allocations: 79.8 kB / 368.8 MB, free: 11.45 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001109/0.01115, allocations: 0.5196 MB / 369.3 MB, free: 10.92 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.654e-05/0.01122, allocations: 48.97 kB / 369.4 MB, free: 10.88 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001039/0.01133, allocations: 127.3 kB / 369.5 MB, free: 10.73 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001926/0.01152, allocations: 198.1 kB / 369.7 MB, free: 10.52 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.01152, allocations: 0 / 369.7 MB, free: 10.52 MB / 298.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0002748/0.0118, allocations: 289.1 kB / 370 MB, free: 10.23 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.034e-05/0.01181, allocations: 4 kB / 370 MB, free: 10.23 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.01181, allocations: 4 kB / 370 MB, free: 10.22 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.01182, allocations: 0 / 370 MB, free: 10.22 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003805/0.0122, allocations: 155.9 kB / 370.1 MB, free: 10.07 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006937/0.0129, allocations: 1.854 MB / 372 MB, free: 8.086 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001108/0.01301, allocations: 12.09 kB / 372 MB, free: 8.074 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.551e-05/0.01302, allocations: 20 kB / 372 MB, free: 8.055 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.113e-05/0.01312, allocations: 176.5 kB / 372.2 MB, free: 7.871 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.794e-05/0.01316, allocations: 51.72 kB / 372.2 MB, free: 7.82 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002477/0.01341, allocations: 253.8 kB / 372.5 MB, free: 7.566 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.01341, allocations: 4 kB / 372.5 MB, free: 7.562 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.854e-06/0.01342, allocations: 3.938 kB / 372.5 MB, free: 7.559 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.01342, allocations: 3.984 kB / 372.5 MB, free: 7.555 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005686/0.01399, allocations: 0.6388 MB / 373.1 MB, free: 6.875 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.01399, allocations: 0 / 373.1 MB, free: 6.875 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000219/0.01421, allocations: 79.91 kB / 373.2 MB, free: 6.797 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.01421, allocations: 0 / 373.2 MB, free: 6.797 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.655e-05/0.01423, allocations: 15.92 kB / 373.2 MB, free: 6.781 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.01423, allocations: 0 / 373.2 MB, free: 6.781 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.01423, allocations: 0 / 373.2 MB, free: 6.781 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003525/0.01458, allocations: 473.5 kB / 373.7 MB, free: 6.293 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.611e-05/0.01466, allocations: 55.69 kB / 373.7 MB, free: 6.238 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.066e-05/0.01469, allocations: 19.92 kB / 373.8 MB, free: 6.219 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.871e-05/0.01479, allocations: 8 kB / 373.8 MB, free: 6.211 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.548e-05/0.01482, allocations: 19.95 kB / 373.8 MB, free: 6.191 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.037e-05/0.01483, allocations: 16 kB / 373.8 MB, free: 6.176 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001526/0.01499, allocations: 271.1 kB / 374.1 MB, free: 5.914 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01499, allocations: 0 / 374.1 MB, free: 5.914 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002082/0.01519, allocations: 88 kB / 374.2 MB, free: 5.828 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 6.277e-05/0.01526, allocations: 102.1 kB / 374.3 MB, free: 5.723 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003242/0.01558, allocations: 220.8 kB / 374.5 MB, free: 5.504 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.172e-06/0.01558, allocations: 0 / 374.5 MB, free: 5.504 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001015/0.01568, allocations: 111.7 kB / 374.6 MB, free: 5.391 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002984/0.01598, allocations: 76.69 kB / 374.7 MB, free: 5.32 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001258/0.01724, allocations: 0.9788 MB / 375.6 MB, free: 4.309 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.879e-05/0.0173, allocations: 109.1 kB / 375.7 MB, free: 4.184 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.975e-05/0.0174, allocations: 47.25 kB / 375.8 MB, free: 4.137 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.099e-05/0.01748, allocations: 40.44 kB / 375.8 MB, free: 4.098 MB / 298.7 MB Notification: Performance of SimCode: time 4.71e-07/0.01748, allocations: 0 / 375.8 MB, free: 4.098 MB / 298.7 MB Notification: Performance of Templates: time 0.005927/0.02341, allocations: 4.596 MB / 380.4 MB, free: 15.56 MB / 314.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.5706465537659824]