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.0008894/0.0008894, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.0009135/0.0009135, 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.9021/0.9021, 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.08271/0.08271, allocations: 19.74 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.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.774e-06/1.774e-06, allocations: 0 / 357.9 MB, free: 7.684 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.489e-05/2.666e-05, allocations: 2.312 kB / 357.9 MB, free: 7.68 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical4): time 0.003669/0.003695, allocations: 2.31 MB / 360.3 MB, free: 5.355 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001155/0.00485, allocations: 0.6425 MB / 360.9 MB, free: 4.707 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000124/0.004974, allocations: 4 kB / 360.9 MB, free: 4.703 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001422/0.005117, allocations: 35.53 kB / 360.9 MB, free: 4.668 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002611/0.005378, allocations: 87.33 kB / 361 MB, free: 4.582 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001746/0.005552, allocations: 55.86 kB / 361.1 MB, free: 4.527 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003221/0.005875, allocations: 290.5 kB / 361.4 MB, free: 4.242 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000155/0.00603, allocations: 48.91 kB / 361.4 MB, free: 4.191 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002682/0.006298, allocations: 163.5 kB / 361.6 MB, free: 4.031 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001606/0.006458, allocations: 87.7 kB / 361.7 MB, free: 3.945 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.922e-05/0.006498, allocations: 20 kB / 361.7 MB, free: 3.926 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.512e-05/0.006563, allocations: 23.98 kB / 361.7 MB, free: 3.902 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.315e-05/0.006606, allocations: 43.77 kB / 361.7 MB, free: 3.859 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 9.156e-05/0.006697, allocations: 79.77 kB / 361.8 MB, free: 3.781 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002757/0.006973, allocations: 159.3 kB / 362 MB, free: 3.625 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.006975, allocations: 0 / 362 MB, free: 3.625 MB / 330.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.006976, allocations: 0 / 362 MB, free: 3.625 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.006981, allocations: 0 / 362 MB, free: 3.625 MB / 330.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.000829/0.00781, allocations: 0.5965 MB / 362.6 MB, free: 2.992 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.007848, allocations: 8.031 kB / 362.6 MB, free: 2.984 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001207/0.007969, allocations: 40.75 kB / 362.6 MB, free: 2.945 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002824/0.008251, allocations: 211.6 kB / 362.8 MB, free: 2.715 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.972e-05/0.008271, allocations: 16.38 kB / 362.8 MB, free: 2.699 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.387e-05/0.008315, allocations: 20.38 kB / 362.9 MB, free: 2.68 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002844/0.008599, allocations: 162 kB / 363 MB, free: 2.504 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.008612, allocations: 192 / 363 MB, free: 2.504 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.682e-05/0.008629, allocations: 4.375 kB / 363 MB, free: 2.5 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.135e-05/0.00864, allocations: 7.938 kB / 363 MB, free: 2.492 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001754/0.008815, allocations: 73.22 kB / 363.1 MB, free: 2.422 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000814/0.009629, allocations: 0.5958 MB / 363.7 MB, free: 1.785 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002052/0.009834, allocations: 111 kB / 363.8 MB, free: 1.664 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.668e-05/0.009921, allocations: 39.67 kB / 363.8 MB, free: 1.621 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.498e-05/0.009946, allocations: 11.98 kB / 363.9 MB, free: 1.609 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.358e-05/0.00997, allocations: 37.39 kB / 363.9 MB, free: 1.562 MB / 330.7 MB Notification: Performance of pre-optimization done (n=17): time 1.233e-06/0.009971, allocations: 0 / 363.9 MB, free: 1.562 MB / 330.7 MB Notification: Performance of matching and sorting (n=18): time 0.0007817/0.01075, allocations: 403.5 kB / 364.3 MB, free: 1.133 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.162e-05/0.01078, allocations: 55.41 kB / 364.3 MB, free: 1.066 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002489/0.01103, allocations: 284.3 kB / 364.6 MB, free: 0.7695 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.504e-05/0.01105, allocations: 25.7 kB / 364.6 MB, free: 0.7383 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001044/0.01115, allocations: 203.2 kB / 364.8 MB, free: 0.5352 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.117e-05/0.0112, allocations: 67.42 kB / 364.9 MB, free: 480 kB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.648e-05/0.01127, allocations: 43.36 kB / 364.9 MB, free: 428 kB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001703/0.01144, allocations: 0.504 MB / 365.5 MB, free: 15.9 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.001e-05/0.01151, allocations: 23.98 kB / 365.5 MB, free: 15.88 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.738e-05/0.0116, allocations: 57.78 kB / 365.5 MB, free: 15.82 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001632/0.01176, allocations: 90.11 kB / 365.6 MB, free: 15.72 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.01176, allocations: 0 / 365.6 MB, free: 15.72 MB / 346.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002513/0.01201, allocations: 153.3 kB / 365.8 MB, free: 15.57 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.01203, allocations: 12.02 kB / 365.8 MB, free: 15.55 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.01203, allocations: 4 kB / 365.8 MB, free: 15.55 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.01205, allocations: 0 / 365.8 MB, free: 15.55 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003358/0.01239, allocations: 75.89 kB / 365.9 MB, free: 15.48 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00105/0.01344, allocations: 1.838 MB / 367.7 MB, free: 13.52 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000108/0.01354, allocations: 20.09 kB / 367.7 MB, free: 13.5 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.251e-05/0.01356, allocations: 4 kB / 367.7 MB, free: 13.49 MB / 346.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 0.0001097/0.01367, allocations: 172.4 kB / 367.9 MB, free: 13.31 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.361e-05/0.01372, allocations: 27.86 kB / 367.9 MB, free: 13.29 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002211/0.01394, allocations: 137.3 kB / 368.1 MB, free: 13.15 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.01394, allocations: 4 kB / 368.1 MB, free: 13.14 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.474e-06/0.01395, allocations: 3.984 kB / 368.1 MB, free: 13.14 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.01395, allocations: 0 / 368.1 MB, free: 13.14 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005626/0.01451, allocations: 461.2 kB / 368.5 MB, free: 12.65 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.01451, allocations: 4 kB / 368.5 MB, free: 12.64 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002154/0.01473, allocations: 47.97 kB / 368.6 MB, free: 12.6 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.01473, allocations: 7.875 kB / 368.6 MB, free: 12.59 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.308e-05/0.01474, allocations: 0 / 368.6 MB, free: 12.59 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.01475, allocations: 0 / 368.6 MB, free: 12.59 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.01475, allocations: 0 / 368.6 MB, free: 12.59 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003426/0.01509, allocations: 330 kB / 368.9 MB, free: 12.25 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.338e-05/0.01516, allocations: 31.84 kB / 368.9 MB, free: 12.22 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.301e-05/0.01519, allocations: 0 / 368.9 MB, free: 12.22 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001235/0.01531, allocations: 11.98 kB / 368.9 MB, free: 12.21 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.832e-05/0.01536, allocations: 19.92 kB / 369 MB, free: 12.19 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.407e-06/0.01537, allocations: 4 kB / 369 MB, free: 12.18 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001537/0.01552, allocations: 193.1 kB / 369.1 MB, free: 12 MB / 346.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01552, allocations: 4 kB / 369.1 MB, free: 11.99 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003395/0.01586, allocations: 44 kB / 369.2 MB, free: 11.95 MB / 346.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 8.7e-05/0.01595, allocations: 103.2 kB / 369.3 MB, free: 11.84 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003563/0.0163, allocations: 132.4 kB / 369.4 MB, free: 11.71 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.0163, allocations: 0 / 369.4 MB, free: 11.71 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 9.646e-05/0.0164, allocations: 66.52 kB / 369.5 MB, free: 11.64 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003932/0.01679, allocations: 44.45 kB / 369.5 MB, free: 11.6 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001383/0.01818, allocations: 0.5815 MB / 370.1 MB, free: 10.99 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.929e-05/0.01825, allocations: 88.48 kB / 370.2 MB, free: 10.88 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 8.65e-05/0.01833, allocations: 17.64 kB / 370.2 MB, free: 10.86 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.241e-05/0.01841, allocations: 20.5 kB / 370.2 MB, free: 10.84 MB / 346.7 MB Notification: Performance of SimCode: time 4.31e-07/0.01841, allocations: 0 / 370.2 MB, free: 10.84 MB / 346.7 MB Notification: Performance of Templates: time 0.005624/0.02403, allocations: 2.464 MB / 372.7 MB, free: 8.398 MB / 346.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.8040338158607483]