Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4.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.001281/0.001281, allocations: 83.59 kB / 21.18 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.001436/0.001436, allocations: 165 kB / 24.56 MB, free: 12 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.8619/0.8619, allocations: 177.1 MB / 205 MB, free: 5.617 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.08654/0.08654, allocations: 19.74 MB / 281.2 MB, free: 9.246 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.TestElectrical4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.092e-06/1.092e-06, allocations: 0 / 357.9 MB, free: 6.617 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.515e-05/1.624e-05, allocations: 10.25 kB / 358 MB, free: 6.605 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical4): time 0.002307/0.002323, allocations: 2.316 MB / 360.3 MB, free: 4.273 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008027/0.003125, allocations: 0.6388 MB / 360.9 MB, free: 3.629 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.722e-05/0.003223, allocations: 7.938 kB / 360.9 MB, free: 3.621 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001274/0.00335, allocations: 31.66 kB / 360.9 MB, free: 3.59 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000227/0.003577, allocations: 91.2 kB / 361 MB, free: 3.5 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001346/0.003712, allocations: 51.92 kB / 361.1 MB, free: 3.449 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002232/0.003935, allocations: 290.5 kB / 361.4 MB, free: 3.164 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001248/0.00406, allocations: 56.89 kB / 361.4 MB, free: 3.109 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001949/0.004255, allocations: 163.5 kB / 361.6 MB, free: 2.949 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001175/0.004372, allocations: 83.7 kB / 361.7 MB, free: 2.867 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.823e-05/0.0044, allocations: 20 kB / 361.7 MB, free: 2.848 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.942e-05/0.00445, allocations: 20 kB / 361.7 MB, free: 2.828 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.896e-05/0.004479, allocations: 43.77 kB / 361.7 MB, free: 2.785 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.005e-05/0.004539, allocations: 79.77 kB / 361.8 MB, free: 2.707 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002606/0.004799, allocations: 163.3 kB / 362 MB, free: 2.547 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.004801, allocations: 3.938 kB / 362 MB, free: 2.543 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.004802, allocations: 0 / 362 MB, free: 2.543 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.018e-06/0.004806, allocations: 4 kB / 362 MB, free: 2.539 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0006013/0.005407, allocations: 0.5851 MB / 362.6 MB, free: 1.918 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.168e-05/0.005439, allocations: 8.031 kB / 362.6 MB, free: 1.91 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.485e-05/0.005534, allocations: 40.75 kB / 362.6 MB, free: 1.871 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002074/0.005741, allocations: 211.6 kB / 362.8 MB, free: 1.641 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.491e-05/0.005756, allocations: 16.38 kB / 362.9 MB, free: 1.625 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.833e-05/0.005785, allocations: 20.33 kB / 362.9 MB, free: 1.605 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002064/0.005991, allocations: 169.7 kB / 363 MB, free: 1.422 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.006001, allocations: 192 / 363 MB, free: 1.422 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.366e-05/0.006015, allocations: 4.375 kB / 363 MB, free: 1.418 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.408e-06/0.006025, allocations: 7.938 kB / 363 MB, free: 1.41 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001117/0.006136, allocations: 65.42 kB / 363.1 MB, free: 1.348 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006949/0.006831, allocations: 0.6074 MB / 363.7 MB, free: 0.6992 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001399/0.006971, allocations: 99.09 kB / 363.8 MB, free: 0.5898 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.132e-05/0.007032, allocations: 51.59 kB / 363.9 MB, free: 0.5352 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.454e-05/0.007047, allocations: 4 kB / 363.9 MB, free: 0.5312 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.927e-05/0.007066, allocations: 37.39 kB / 363.9 MB, free: 496 kB / 282.7 MB Notification: Performance of pre-optimization done (n=17): time 1.092e-06/0.007067, allocations: 0 / 363.9 MB, free: 496 kB / 282.7 MB Notification: Performance of matching and sorting (n=18): time 0.0005569/0.007624, allocations: 403.8 kB / 364.3 MB, free: 56 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.564e-05/0.00766, allocations: 59.41 kB / 364.4 MB, free: 15.98 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000161/0.007821, allocations: 280.3 kB / 364.6 MB, free: 15.7 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.143e-05/0.007832, allocations: 29.7 kB / 364.7 MB, free: 15.66 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.27e-05/0.007905, allocations: 195.3 kB / 364.9 MB, free: 15.46 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.411e-05/0.007939, allocations: 67.39 kB / 364.9 MB, free: 15.4 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.527e-05/0.007984, allocations: 43.36 kB / 365 MB, free: 15.35 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000104/0.008088, allocations: 0.5079 MB / 365.5 MB, free: 14.83 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.105e-05/0.008129, allocations: 19.98 kB / 365.5 MB, free: 14.81 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.519e-05/0.008185, allocations: 57.58 kB / 365.5 MB, free: 14.75 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000103/0.008288, allocations: 94.14 kB / 365.6 MB, free: 14.65 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.008289, allocations: 0 / 365.6 MB, free: 14.65 MB / 298.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001637/0.008452, allocations: 165.2 kB / 365.8 MB, free: 14.48 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.119e-05/0.008463, allocations: 8 kB / 365.8 MB, free: 14.47 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.008467, allocations: 0 / 365.8 MB, free: 14.47 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.008479, allocations: 0 / 365.8 MB, free: 14.47 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000224/0.008703, allocations: 63.95 kB / 365.9 MB, free: 14.41 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009809/0.009684, allocations: 1.846 MB / 367.7 MB, free: 12.44 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.364e-05/0.009748, allocations: 11.98 kB / 367.7 MB, free: 12.43 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.396e-06/0.009756, allocations: 4 kB / 367.7 MB, free: 12.43 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (24): * Single equations (assignments): 23 * 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 7.464e-05/0.009831, allocations: 172.5 kB / 367.9 MB, free: 12.25 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.074e-05/0.009862, allocations: 23.86 kB / 367.9 MB, free: 12.22 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001466/0.01001, allocations: 150.6 kB / 368.1 MB, free: 12.07 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.01001, allocations: 3.984 kB / 368.1 MB, free: 12.06 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.61e-07/0.01001, allocations: 0 / 368.1 MB, free: 12.06 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.746e-06/0.01001, allocations: 0 / 368.1 MB, free: 12.06 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003545/0.01037, allocations: 469.3 kB / 368.5 MB, free: 11.56 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.01037, allocations: 3.984 kB / 368.5 MB, free: 11.56 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001265/0.0105, allocations: 43.92 kB / 368.6 MB, free: 11.52 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.0105, allocations: 0 / 368.6 MB, free: 11.52 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.01051, allocations: 4 kB / 368.6 MB, free: 11.51 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.01051, allocations: 0 / 368.6 MB, free: 11.51 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.01051, allocations: 4 kB / 368.6 MB, free: 11.51 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002128/0.01072, allocations: 331.4 kB / 368.9 MB, free: 11.16 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.291e-05/0.01077, allocations: 31.84 kB / 368.9 MB, free: 11.13 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.762e-05/0.01078, allocations: 4 kB / 368.9 MB, free: 11.13 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.507e-05/0.01085, allocations: 15.98 kB / 369 MB, free: 11.11 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.835e-05/0.01089, allocations: 19.86 kB / 369 MB, free: 11.09 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.872e-06/0.01089, allocations: 4 kB / 369 MB, free: 11.09 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.391e-05/0.01099, allocations: 201.1 kB / 369.2 MB, free: 10.89 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01099, allocations: 0 / 369.2 MB, free: 10.89 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001736/0.01116, allocations: 40 kB / 369.2 MB, free: 10.86 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (generator.phi,generator.omega_m,generator.omega_e_filt,grid.port.theta) * 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 (19): * Single equations (assignments): 19 * 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.539e-05/0.01123, allocations: 99.23 kB / 369.3 MB, free: 10.75 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002589/0.01149, allocations: 128.3 kB / 369.4 MB, free: 10.62 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.112e-06/0.01149, allocations: 0 / 369.4 MB, free: 10.62 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.003e-05/0.01155, allocations: 67.55 kB / 369.5 MB, free: 10.55 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002408/0.01179, allocations: 40.78 kB / 369.5 MB, free: 10.52 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009623/0.01275, allocations: 0.5722 MB / 370.1 MB, free: 9.91 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.784e-05/0.0128, allocations: 88.41 kB / 370.2 MB, free: 9.797 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.007e-05/0.01286, allocations: 21.62 kB / 370.2 MB, free: 9.777 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.172e-05/0.01291, allocations: 20.5 kB / 370.2 MB, free: 9.758 MB / 298.7 MB Notification: Performance of SimCode: time 8.02e-07/0.01291, allocations: 4 kB / 370.2 MB, free: 9.754 MB / 298.7 MB Notification: Performance of Templates: time 0.004205/0.01712, allocations: 2.552 MB / 372.8 MB, free: 7.23 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4 -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.441867922898382]