Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.GasComponents.TestGT.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.001007/0.001007, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001634/0.001634, allocations: 165.8 kB / 24.82 MB, free: 9.266 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.037/1.037, allocations: 158.6 MB / 186.7 MB, free: 2.766 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo): time 0.2008/0.2008, allocations: 36.35 MB / 275.4 MB, free: 10.47 MB / 266.7 MB " [Timeout remaining time 180] Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.GasComponents.TestGT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestGT") translateModel(ThermoPower.Test.GasComponents.TestGT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestGT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 0 / 354.3 MB, free: 3.164 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.25e-05/2.444e-05, allocations: 5.828 kB / 354.3 MB, free: 3.16 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGT): time 0.3099/0.3099, allocations: 150.6 MB / 0.493 GB, free: 1.883 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002661/0.3125, allocations: 1.837 MB / 0.4948 GB, free: 408 kB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003339/0.3129, allocations: 19.44 kB / 0.4949 GB, free: 396 kB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006261/0.3135, allocations: 281.3 kB / 0.4951 GB, free: 160 kB / 362.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.001231/0.3147, allocations: 0.8327 MB / 0.4959 GB, free: 15.56 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002184/0.3169, allocations: 1.024 MB / 0.4969 GB, free: 14.8 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.007772/0.3247, allocations: 1.902 MB / 0.4988 GB, free: 13.71 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007369/0.3254, allocations: 0.6108 MB / 0.4994 GB, free: 13.19 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007993/0.3334, allocations: 1.052 MB / 0.5004 GB, free: 12.14 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003917/0.3373, allocations: 0.7599 MB / 0.5012 GB, free: 11.38 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001391/0.3375, allocations: 84 kB / 0.5012 GB, free: 11.29 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001216/0.3387, allocations: 0.5375 MB / 0.5018 GB, free: 10.75 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006075/0.3393, allocations: 0.8298 MB / 0.5026 GB, free: 9.922 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006632/0.3459, allocations: 0.6038 MB / 0.5032 GB, free: 9.316 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001811/0.3477, allocations: 1.83 MB / 0.505 GB, free: 7.48 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.3477, allocations: 0 / 0.505 GB, free: 7.48 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.3477, allocations: 0 / 0.505 GB, free: 7.48 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.732e-05/0.3478, allocations: 0 / 0.505 GB, free: 7.48 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.008597/0.3564, allocations: 2.48 MB / 0.5074 GB, free: 4.945 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.3564, allocations: 8.031 kB / 0.5074 GB, free: 4.938 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001015/0.3574, allocations: 411 kB / 0.5078 GB, free: 4.535 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007124/0.3645, allocations: 0.9883 MB / 0.5087 GB, free: 3.488 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.776e-05/0.3646, allocations: 125.3 kB / 0.5089 GB, free: 3.355 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000126/0.3647, allocations: 96 kB / 0.509 GB, free: 3.262 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001097/0.3658, allocations: 1.481 MB / 0.5104 GB, free: 1.531 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.225e-05/0.3659, allocations: 4 kB / 0.5104 GB, free: 1.527 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.84e-05/0.3659, allocations: 44 kB / 0.5104 GB, free: 1.484 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-05/0.366, allocations: 34 kB / 0.5105 GB, free: 1.453 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004579/0.3664, allocations: 325.5 kB / 0.5108 GB, free: 1.133 MB / 378.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01635/0.3828, allocations: 4.17 MB / 0.5149 GB, free: 12.84 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000372/0.3832, allocations: 226.8 kB / 0.5151 GB, free: 12.6 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001012/0.3833, allocations: 79.86 kB / 0.5152 GB, free: 12.52 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.979e-05/0.3833, allocations: 8.594 kB / 0.5152 GB, free: 12.51 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.092e-05/0.3833, allocations: 49.33 kB / 0.5152 GB, free: 12.45 MB / 394.7 MB Notification: Performance of pre-optimization done (n=38): time 2.174e-06/0.3833, allocations: 0 / 0.5152 GB, free: 12.45 MB / 394.7 MB Notification: Performance of matching and sorting (n=40): time 0.001282/0.3846, allocations: 0.7861 MB / 0.516 GB, free: 11.62 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.696e-05/0.3846, allocations: 88.98 kB / 0.5161 GB, free: 11.52 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001742/0.3864, allocations: 1.948 MB / 0.518 GB, free: 9.523 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.885e-05/0.3864, allocations: 37.7 kB / 0.518 GB, free: 9.48 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005964/0.387, allocations: 1.107 MB / 0.5191 GB, free: 8.359 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.726e-05/0.3871, allocations: 158.7 kB / 0.5192 GB, free: 8.203 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001349/0.3872, allocations: 131.9 kB / 0.5194 GB, free: 8.066 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001182/0.3874, allocations: 0.4964 MB / 0.5198 GB, free: 7.562 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.961e-05/0.3875, allocations: 68.38 kB / 0.5199 GB, free: 7.5 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002108/0.3877, allocations: 338.6 kB / 0.5202 GB, free: 7.055 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003375/0.388, allocations: 459.1 kB / 0.5207 GB, free: 6.492 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.388, allocations: 0 / 0.5207 GB, free: 6.492 MB / 394.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0008992/0.3889, allocations: 0.5822 MB / 0.5212 GB, free: 5.902 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.3889, allocations: 8 kB / 0.5212 GB, free: 5.895 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.3889, allocations: 4 kB / 0.5213 GB, free: 5.891 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.389, allocations: 11.98 kB / 0.5213 GB, free: 5.879 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005311/0.3895, allocations: 219.6 kB / 0.5215 GB, free: 5.664 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005396/0.39, allocations: 1.802 MB / 0.5232 GB, free: 3.805 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002878/0.3903, allocations: 24 kB / 0.5233 GB, free: 3.781 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.81e-05/0.3904, allocations: 31.92 kB / 0.5233 GB, free: 3.75 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 1 (BooleanStep1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002039/0.3906, allocations: 200.3 kB / 0.5235 GB, free: 3.543 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001601/0.3907, allocations: 206.7 kB / 0.5237 GB, free: 3.34 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003527/0.3911, allocations: 355.4 kB / 0.524 GB, free: 2.988 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.3911, allocations: 4 kB / 0.524 GB, free: 2.984 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.3911, allocations: 4.125 kB / 0.524 GB, free: 2.98 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.3911, allocations: 0 / 0.524 GB, free: 2.98 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001217/0.3923, allocations: 1.29 MB / 0.5253 GB, free: 1.648 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.3923, allocations: 0 / 0.5253 GB, free: 1.648 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003503/0.3926, allocations: 135.8 kB / 0.5254 GB, free: 1.516 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.3927, allocations: 0 / 0.5254 GB, free: 1.516 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.666e-05/0.3927, allocations: 8 kB / 0.5254 GB, free: 1.508 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005608/0.3932, allocations: 1.806 MB / 0.5272 GB, free: 15.64 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3932, allocations: 0 / 0.5272 GB, free: 15.64 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000489/0.3937, allocations: 0.6197 MB / 0.5278 GB, free: 15 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002681/0.394, allocations: 234.7 kB / 0.528 GB, free: 14.77 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.702e-05/0.3941, allocations: 12 kB / 0.528 GB, free: 14.75 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003001/0.3944, allocations: 27.97 kB / 0.528 GB, free: 14.73 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.814e-05/0.3944, allocations: 32.02 kB / 0.5281 GB, free: 14.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.987e-05/0.3944, allocations: 23.97 kB / 0.5281 GB, free: 14.67 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0008745/0.3953, allocations: 1.093 MB / 0.5292 GB, free: 13.56 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3953, allocations: 0 / 0.5292 GB, free: 13.56 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005704/0.3959, allocations: 315.8 kB / 0.5295 GB, free: 13.25 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (Generator.phi,Generator.omega_m,Generator.omega_e_filt,Grid.port.theta) * Number of discrete variables: 1 (BooleanStep1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001007/0.3969, allocations: 0.4986 MB / 0.53 GB, free: 12.78 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003776/0.3973, allocations: 279.3 kB / 0.5302 GB, free: 12.5 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.3973, allocations: 4.5 kB / 0.5302 GB, free: 12.5 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001353/0.3974, allocations: 125.3 kB / 0.5303 GB, free: 12.38 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008133/0.3982, allocations: 330.7 kB / 0.5307 GB, free: 12.05 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003143/0.4014, allocations: 2.928 MB / 0.5335 GB, free: 9.062 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003393/0.4017, allocations: 403.1 kB / 0.5339 GB, free: 8.645 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003889/0.4021, allocations: 185.2 kB / 0.5341 GB, free: 8.461 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006903/0.4028, allocations: 481.7 kB / 0.5345 GB, free: 7.988 MB / 410.7 MB Notification: Performance of SimCode: time 8.52e-07/0.4028, allocations: 0 / 0.5345 GB, free: 7.988 MB / 410.7 MB Notification: Performance of Templates: time 0.02469/0.4275, allocations: 21.24 MB / 0.5553 GB, free: 2.68 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.GasComponents.TestGT.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.GasComponents.TestGT.pipe ; mkfifo ThermoPower_ThermoPower.Test.GasComponents.TestGT.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.GasComponents.TestGT.pipe >> ../files/ThermoPower_ThermoPower.Test.GasComponents.TestGT.sim & ./ThermoPower_ThermoPower.Test.GasComponents.TestGT -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_ThermoPower.Test.GasComponents.TestGT.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8212236296385527]