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.001774/0.001774, allocations: 79.19 kB / 21.27 MB, free: 388 kB / 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.002144/0.002144, allocations: 163.7 kB / 24.53 MB, free: 3.59 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.149/2.149, allocations: 177.2 MB / 204.9 MB, free: 9.277 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.2107/0.2107, 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.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: 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.003075/0.003075, allocations: 71.89 kB / 417.6 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3627/0.3658, allocations: 60.45 MB / 478 MB, free: 15.57 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical4): time 0.005246/0.3711, allocations: 2.192 MB / 480.2 MB, free: 13.89 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002828/0.3739, allocations: 0.619 MB / 480.9 MB, free: 13.4 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001589/0.374, allocations: 6.656 kB / 480.9 MB, free: 13.4 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001687/0.3742, allocations: 34.03 kB / 480.9 MB, free: 13.37 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003588/0.3746, allocations: 87.98 kB / 481 MB, free: 13.29 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002547/0.3748, allocations: 56.92 kB / 481 MB, free: 13.24 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004718/0.3753, allocations: 275.6 kB / 481.3 MB, free: 13.08 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001971/0.3755, allocations: 50.44 kB / 481.4 MB, free: 13.04 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003864/0.3759, allocations: 166.4 kB / 481.5 MB, free: 12.94 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002452/0.3761, allocations: 109.8 kB / 481.6 MB, free: 12.87 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.338e-05/0.3762, allocations: 16.59 kB / 481.6 MB, free: 12.87 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.12e-05/0.3763, allocations: 24.19 kB / 481.7 MB, free: 12.86 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.06e-05/0.3763, allocations: 50.8 kB / 481.7 MB, free: 12.82 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001628/0.3765, allocations: 95.53 kB / 481.8 MB, free: 12.76 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000417/0.3769, allocations: 225.7 kB / 482 MB, free: 12.61 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.3769, allocations: 1.25 kB / 482 MB, free: 12.61 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.3769, allocations: 0 / 482 MB, free: 12.61 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.291e-06/0.3769, allocations: 0 / 482 MB, free: 12.61 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.001296/0.3782, allocations: 0.4894 MB / 482.5 MB, free: 12.18 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.472e-05/0.3783, allocations: 10.41 kB / 482.5 MB, free: 12.18 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001448/0.3784, allocations: 34.62 kB / 482.6 MB, free: 12.16 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004976/0.3789, allocations: 208.8 kB / 482.8 MB, free: 11.96 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.555e-05/0.3789, allocations: 19.16 kB / 482.8 MB, free: 11.95 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.976e-05/0.379, allocations: 17.06 kB / 482.8 MB, free: 11.95 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005118/0.3795, allocations: 181.3 kB / 483 MB, free: 11.82 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.74e-05/0.3795, allocations: 0 / 483 MB, free: 11.82 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.67e-05/0.3796, allocations: 5.188 kB / 483 MB, free: 11.82 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-06/0.3796, allocations: 4.25 kB / 483 MB, free: 11.82 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004519/0.38, allocations: 115.6 kB / 483.1 MB, free: 11.77 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001352/0.3814, allocations: 0.5142 MB / 483.6 MB, free: 11.32 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004131/0.3818, allocations: 132.3 kB / 483.7 MB, free: 11.24 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002387/0.382, allocations: 75.78 kB / 483.8 MB, free: 11.2 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.534e-05/0.382, allocations: 6.219 kB / 483.8 MB, free: 11.2 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.045e-05/0.3821, allocations: 31.66 kB / 483.9 MB, free: 11.16 MB / 382.1 MB Notification: Performance of pre-optimization done (n=17): time 1.924e-06/0.3821, allocations: 0 / 483.9 MB, free: 11.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=18): time 0.001688/0.3838, allocations: 498.4 kB / 484.3 MB, free: 10.82 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.076e-05/0.3838, allocations: 53.31 kB / 484.4 MB, free: 10.76 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003854/0.3842, allocations: 233 kB / 484.6 MB, free: 10.59 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.542e-05/0.3843, allocations: 30.86 kB / 484.6 MB, free: 10.55 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001571/0.3844, allocations: 143.6 kB / 484.8 MB, free: 10.42 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.902e-05/0.3845, allocations: 66.8 kB / 484.9 MB, free: 10.36 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001061/0.3846, allocations: 44.2 kB / 484.9 MB, free: 10.32 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002144/0.3848, allocations: 328.5 kB / 485.2 MB, free: 10 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000224/0.385, allocations: 60.05 kB / 485.3 MB, free: 9.969 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002623/0.3853, allocations: 82.2 kB / 485.4 MB, free: 9.918 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004691/0.3858, allocations: 127 kB / 485.5 MB, free: 9.852 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.604e-06/0.3858, allocations: 3.938 kB / 485.5 MB, free: 9.848 MB / 382.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006258/0.3864, allocations: 199.9 kB / 485.7 MB, free: 9.738 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.3864, allocations: 4.75 kB / 485.7 MB, free: 9.738 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.3864, allocations: 1.188 kB / 485.7 MB, free: 9.738 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.3864, allocations: 5.25 kB / 485.7 MB, free: 9.734 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006318/0.3871, allocations: 63.36 kB / 485.8 MB, free: 9.723 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001784/0.3889, allocations: 1.321 MB / 487.1 MB, free: 8.367 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002296/0.3891, allocations: 12.11 kB / 487.1 MB, free: 8.359 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.557e-05/0.3891, allocations: 8 kB / 487.1 MB, free: 8.355 MB / 382.1 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 0.0001895/0.3893, allocations: 131.1 kB / 487.2 MB, free: 8.227 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.189e-05/0.3894, allocations: 22.7 kB / 487.2 MB, free: 8.215 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008528/0.3902, allocations: 187 kB / 487.4 MB, free: 8.094 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.517e-06/0.3903, allocations: 5.016 kB / 487.4 MB, free: 8.09 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.3903, allocations: 5 kB / 487.4 MB, free: 8.086 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.3903, allocations: 0 / 487.4 MB, free: 8.086 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001066/0.3913, allocations: 465.4 kB / 487.9 MB, free: 7.715 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.564e-06/0.3913, allocations: 0 / 487.9 MB, free: 7.715 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003717/0.3917, allocations: 46.72 kB / 487.9 MB, free: 7.703 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.3917, allocations: 1.094 kB / 487.9 MB, free: 7.703 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.151e-05/0.3917, allocations: 5.125 kB / 487.9 MB, free: 7.699 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.3917, allocations: 1.156 kB / 487.9 MB, free: 7.699 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.3917, allocations: 0 / 487.9 MB, free: 7.699 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007881/0.3925, allocations: 339.6 kB / 488.3 MB, free: 7.469 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000117/0.3926, allocations: 31.33 kB / 488.3 MB, free: 7.445 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.326e-05/0.3927, allocations: 10.38 kB / 488.3 MB, free: 7.438 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002545/0.3929, allocations: 11.33 kB / 488.3 MB, free: 7.43 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.894e-05/0.393, allocations: 12.59 kB / 488.3 MB, free: 7.422 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.038e-05/0.393, allocations: 11.42 kB / 488.3 MB, free: 7.414 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002543/0.3933, allocations: 169.1 kB / 488.5 MB, free: 7.297 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3933, allocations: 0 / 488.5 MB, free: 7.297 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005149/0.3938, allocations: 47.22 kB / 488.6 MB, free: 7.289 MB / 382.1 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 0.000129/0.3939, allocations: 94.16 kB / 488.7 MB, free: 7.199 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007375/0.3947, allocations: 170.6 kB / 488.8 MB, free: 7.129 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.3947, allocations: 1.094 kB / 488.8 MB, free: 7.129 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002338/0.3949, allocations: 73.3 kB / 488.9 MB, free: 7.074 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006002/0.3955, allocations: 44.08 kB / 488.9 MB, free: 7.031 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001797/0.3973, allocations: 0.6605 MB / 489.6 MB, free: 6.348 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002143/0.3975, allocations: 151 kB / 489.7 MB, free: 6.176 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001495/0.3977, allocations: 21.64 kB / 489.8 MB, free: 6.156 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000102/0.3978, allocations: 28.48 kB / 489.8 MB, free: 6.129 MB / 382.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3978, allocations: 0 / 489.8 MB, free: 6.129 MB / 382.1 MB Notification: Performance of Templates: time 0.009331/0.4071, allocations: 2.433 MB / 492.2 MB, free: 3.719 MB / 382.1 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=480 -s cvode -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.932874995050952] Failed to read output from testmodel.py, exit status != 0: 0.41915802797302604 0.44340821599999997 0.061185708000000005 Calling exit ...