Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_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.001346/0.001346, allocations: 77.88 kB / 21.42 MB, free: 3.078 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.0009979/0.0009979, allocations: 169.3 kB / 24.82 MB, free: 8.867 MB / 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 1.061/1.061, allocations: 177.1 MB / 205.3 MB, free: 5.508 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.09522/0.09522, allocations: 19.74 MB / 281.6 MB, free: 9.105 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.GasComponents.TestGT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGT") translateModel(ThermoPower.Test.GasComponents.TestGT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 358.4 MB, free: 6.324 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.156e-05/1.303e-05, allocations: 2.312 kB / 358.4 MB, free: 6.32 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGT): time 0.2949/0.2949, allocations: 151.5 MB / 0.498 GB, free: 6.594 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00264/0.2976, allocations: 2.068 MB / 0.5 GB, free: 4.531 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003432/0.2979, allocations: 15.88 kB / 0.5 GB, free: 4.516 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007013/0.2986, allocations: 290 kB / 0.5003 GB, free: 4.23 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001033/0.2997, allocations: 0.8862 MB / 0.5011 GB, free: 3.34 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001522/0.3012, allocations: 1.052 MB / 0.5022 GB, free: 2.285 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001882/0.3031, allocations: 1.944 MB / 0.5041 GB, free: 344 kB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005617/0.3036, allocations: 0.6232 MB / 0.5047 GB, free: 15.7 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001106/0.3047, allocations: 1.075 MB / 0.5057 GB, free: 14.62 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000638/0.3054, allocations: 0.7677 MB / 0.5065 GB, free: 13.85 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001005/0.3055, allocations: 84 kB / 0.5065 GB, free: 13.77 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000822/0.3063, allocations: 0.5608 MB / 0.5071 GB, free: 13.21 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004425/0.3067, allocations: 0.8259 MB / 0.5079 GB, free: 12.38 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004083/0.3071, allocations: 0.5999 MB / 0.5085 GB, free: 11.78 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001607/0.3087, allocations: 1.865 MB / 0.5103 GB, free: 9.906 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.736e-06/0.3087, allocations: 0 / 0.5103 GB, free: 9.906 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.3087, allocations: 0 / 0.5103 GB, free: 9.906 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.505e-05/0.3088, allocations: 0 / 0.5103 GB, free: 9.906 MB / 394.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.001997/0.3108, allocations: 2.508 MB / 0.5128 GB, free: 7.344 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.3108, allocations: 12.03 kB / 0.5128 GB, free: 7.332 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005603/0.3114, allocations: 419.1 kB / 0.5132 GB, free: 6.922 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008377/0.3122, allocations: 0.9995 MB / 0.5141 GB, free: 5.863 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.23e-05/0.3123, allocations: 117.4 kB / 0.5143 GB, free: 5.738 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.582e-05/0.3124, allocations: 96 kB / 0.5143 GB, free: 5.645 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008938/0.3133, allocations: 1.481 MB / 0.5158 GB, free: 3.914 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.005e-05/0.3133, allocations: 3.953 kB / 0.5158 GB, free: 3.91 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.765e-05/0.3133, allocations: 40 kB / 0.5158 GB, free: 3.871 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.138e-05/0.3134, allocations: 37.98 kB / 0.5159 GB, free: 3.836 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003461/0.3137, allocations: 333.5 kB / 0.5162 GB, free: 3.508 MB / 394.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.00355/0.3173, allocations: 4.17 MB / 0.5203 GB, free: 15.22 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002948/0.3176, allocations: 226.8 kB / 0.5205 GB, free: 14.98 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.067e-05/0.3176, allocations: 76.22 kB / 0.5206 GB, free: 14.89 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.821e-05/0.3177, allocations: 14.33 kB / 0.5206 GB, free: 14.88 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.954e-05/0.3177, allocations: 53.33 kB / 0.5206 GB, free: 14.82 MB / 410.7 MB Notification: Performance of pre-optimization done (n=38): time 1.803e-06/0.3177, allocations: 0 / 0.5206 GB, free: 14.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=40): time 0.0009955/0.3187, allocations: 0.785 MB / 0.5214 GB, free: 14 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.135e-05/0.3187, allocations: 89.22 kB / 0.5215 GB, free: 13.89 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001371/0.3201, allocations: 1.966 MB / 0.5234 GB, free: 11.88 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.284e-05/0.3201, allocations: 37.7 kB / 0.5234 GB, free: 11.84 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008442/0.321, allocations: 1.127 MB / 0.5245 GB, free: 10.7 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.422e-05/0.321, allocations: 150.7 kB / 0.5247 GB, free: 10.55 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001246/0.3212, allocations: 131.9 kB / 0.5248 GB, free: 10.41 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001101/0.3213, allocations: 0.512 MB / 0.5253 GB, free: 9.891 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.02e-05/0.3214, allocations: 61.25 kB / 0.5254 GB, free: 9.832 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001984/0.3216, allocations: 335.1 kB / 0.5257 GB, free: 9.391 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003334/0.3219, allocations: 444 kB / 0.5261 GB, free: 8.84 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.3219, allocations: 0 / 0.5261 GB, free: 8.84 MB / 410.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0005296/0.3224, allocations: 0.5903 MB / 0.5267 GB, free: 8.246 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.3224, allocations: 8 kB / 0.5267 GB, free: 8.238 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/0.3225, allocations: 11.94 kB / 0.5267 GB, free: 8.227 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.896e-05/0.3225, allocations: 11.94 kB / 0.5267 GB, free: 8.215 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005333/0.323, allocations: 213.5 kB / 0.5269 GB, free: 8.008 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005574/0.3236, allocations: 1.802 MB / 0.5287 GB, free: 6.148 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000283/0.3238, allocations: 27.92 kB / 0.5287 GB, free: 6.121 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.72e-05/0.3239, allocations: 24 kB / 0.5287 GB, free: 6.098 MB / 410.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.0002098/0.3241, allocations: 200.3 kB / 0.5289 GB, free: 5.891 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001665/0.3243, allocations: 206.7 kB / 0.5291 GB, free: 5.688 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000367/0.3246, allocations: 378.2 kB / 0.5295 GB, free: 5.312 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.3246, allocations: 4 kB / 0.5295 GB, free: 5.309 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.3246, allocations: 0 / 0.5295 GB, free: 5.309 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.3246, allocations: 3.938 kB / 0.5295 GB, free: 5.305 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001625/0.3263, allocations: 1.29 MB / 0.5307 GB, free: 3.969 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.105e-06/0.3263, allocations: 0 / 0.5307 GB, free: 3.969 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003808/0.3266, allocations: 131.8 kB / 0.5309 GB, free: 3.84 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.561e-06/0.3267, allocations: 0 / 0.5309 GB, free: 3.84 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.964e-05/0.3267, allocations: 15.94 kB / 0.5309 GB, free: 3.824 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005375/0.3272, allocations: 1.794 MB / 0.5326 GB, free: 1.973 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3272, allocations: 0 / 0.5326 GB, free: 1.973 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004617/0.3277, allocations: 0.6209 MB / 0.5332 GB, free: 1.324 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002766/0.328, allocations: 238.7 kB / 0.5335 GB, free: 1.09 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.95e-05/0.328, allocations: 8 kB / 0.5335 GB, free: 1.082 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002949/0.3283, allocations: 39.91 kB / 0.5335 GB, free: 1.043 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.366e-05/0.3284, allocations: 27.95 kB / 0.5335 GB, free: 1.016 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.865e-05/0.3284, allocations: 23.97 kB / 0.5336 GB, free: 0.9922 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0008073/0.3292, allocations: 1.106 MB / 0.5346 GB, free: 15.86 MB / 426.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3292, allocations: 0 / 0.5346 GB, free: 15.86 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005602/0.3298, allocations: 319.8 kB / 0.5349 GB, free: 15.55 MB / 426.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.001013/0.3308, allocations: 0.5095 MB / 0.5354 GB, free: 15.16 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003875/0.3312, allocations: 299.9 kB / 0.5357 GB, free: 14.86 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.3312, allocations: 4.5 kB / 0.5357 GB, free: 14.86 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001321/0.3313, allocations: 116.1 kB / 0.5358 GB, free: 14.74 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008087/0.3321, allocations: 329.4 kB / 0.5362 GB, free: 14.43 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003222/0.3353, allocations: 2.952 MB / 0.539 GB, free: 11.42 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003762/0.3357, allocations: 403.1 kB / 0.5394 GB, free: 11 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0004801/0.3362, allocations: 181.2 kB / 0.5396 GB, free: 10.82 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007317/0.3369, allocations: 493.7 kB / 0.5401 GB, free: 10.34 MB / 426.7 MB Notification: Performance of SimCode: time 6.52e-07/0.3369, allocations: 0 / 0.5401 GB, free: 10.34 MB / 426.7 MB Notification: Performance of Templates: time 0.0246/0.3615, allocations: 21.36 MB / 0.5609 GB, free: 5.227 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGT.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGT.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGT.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGT.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGT.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGT -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGT.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.048971419222653]