Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_substation_001.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(AES.Devel_test_models.Test_substation_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_substation_001") translateModel(AES.Devel_test_models.Test_substation_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_substation_001") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001247/0.001247, allocations: 113.5 kB / 16.42 MB, free: 6.457 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001275/0.001275, allocations: 185.5 kB / 17.35 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.326/1.326, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.095/0.095, allocations: 22.32 MB / 313.5 MB, free: 8.895 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001366/0.001367, allocations: 71.81 kB / 437.8 MB, free: 11.76 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09005/0.09143, allocations: 54.95 MB / 492.7 MB, free: 4.762 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_substation_001): time 0.01148/0.103, allocations: 11.56 MB / 0.4924 GB, free: 9.152 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006086/0.1091, allocations: 3.172 MB / 0.4955 GB, free: 5.969 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001779/0.1109, allocations: 63.62 kB / 0.4956 GB, free: 5.906 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001461/0.1124, allocations: 0.5307 MB / 0.4961 GB, free: 5.371 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004239/0.1166, allocations: 1.371 MB / 0.4975 GB, free: 3.992 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002764/0.1194, allocations: 0.9129 MB / 0.4983 GB, free: 3.078 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.2196/0.339, allocations: 6.107 MB / 0.5043 GB, free: 7.48 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005767/0.3448, allocations: 4.721 MB / 0.5089 GB, free: 7.031 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00467/0.3495, allocations: 2.475 MB / 0.5113 GB, free: 6.824 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005726/0.3553, allocations: 2.757 MB / 0.514 GB, free: 6.52 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002769/0.3581, allocations: 0.7244 MB / 0.5147 GB, free: 6.52 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003161/0.3613, allocations: 0.7285 MB / 0.5154 GB, free: 6.52 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002867/0.3642, allocations: 1.874 MB / 0.5173 GB, free: 6.371 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009593/0.3738, allocations: 2.719 MB / 0.5199 GB, free: 5.801 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01278/0.3866, allocations: 8.091 MB / 0.5278 GB, free: 1.883 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.3866, allocations: 1.562 kB / 0.5278 GB, free: 1.883 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.3866, allocations: 0 / 0.5278 GB, free: 1.883 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002381/0.3869, allocations: 0 / 0.5278 GB, free: 1.883 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: 844 * Number of variables: 844 Notification: Performance of Generate backend data structure: time 0.01606/0.4029, allocations: 4.939 MB / 0.5327 GB, free: 14.67 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.949e-05/0.403, allocations: 9.031 kB / 0.5327 GB, free: 14.67 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001358/0.4044, allocations: 439 kB / 0.5331 GB, free: 14.45 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005012/0.4094, allocations: 2.38 MB / 0.5354 GB, free: 12.79 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002571/0.4097, allocations: 280.2 kB / 0.5357 GB, free: 12.64 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009079/0.4106, allocations: 366.5 kB / 0.536 GB, free: 12.5 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009231/0.4198, allocations: 4.371 MB / 0.5403 GB, free: 9.934 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.615e-05/0.4199, allocations: 5.062 kB / 0.5403 GB, free: 9.934 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003706/0.4203, allocations: 134.4 kB / 0.5404 GB, free: 9.828 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.266e-05/0.4203, allocations: 80.03 kB / 0.5405 GB, free: 9.828 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007356/0.4277, allocations: 3.997 MB / 0.5444 GB, free: 6.781 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03553/0.4633, allocations: 20.11 MB / 0.564 GB, free: 1.738 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01283/0.4761, allocations: 5.601 MB / 0.5695 GB, free: 12.12 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003856/0.48, allocations: 2.177 MB / 0.5716 GB, free: 9.934 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002894/0.4803, allocations: 48.81 kB / 0.5717 GB, free: 9.895 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.166e-05/0.4804, allocations: 60.12 kB / 0.5717 GB, free: 9.828 MB / 430.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001981/0.4824, allocations: 265.6 kB / 0.572 GB, free: 9.57 MB / 430.1 MB Notification: Performance of pre-optimization done (n=277): time 9.207e-06/0.4824, allocations: 0 / 0.572 GB, free: 9.57 MB / 430.1 MB Notification: Performance of matching and sorting (n=279): time 0.03378/0.5162, allocations: 16.98 MB / 0.5886 GB, free: 7.449 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.404e-05/0.5163, allocations: 81.61 kB / 0.5886 GB, free: 7.355 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003354/0.5197, allocations: 1.706 MB / 0.5903 GB, free: 5.605 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006841/0.5204, allocations: 73.7 kB / 0.5904 GB, free: 5.527 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009487/0.5213, allocations: 1.318 MB / 0.5917 GB, free: 4.199 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001651/0.523, allocations: 1.107 MB / 0.5928 GB, free: 3.105 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002072/0.5251, allocations: 0.5108 MB / 0.5933 GB, free: 2.586 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.744e-05/0.5252, allocations: 313.1 kB / 0.5936 GB, free: 2.277 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003804/0.529, allocations: 2.183 MB / 0.5957 GB, free: 84 kB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003825/0.5328, allocations: 2.307 MB / 0.5979 GB, free: 13.73 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.04247/0.5753, allocations: 12.03 MB / 0.6097 GB, free: 1.625 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.129e-05/0.5753, allocations: 0 / 0.6097 GB, free: 1.625 MB / 462.1 MB Notification: Performance of matching and sorting (n=393) (initialization): time 0.01599/0.5913, allocations: 6.544 MB / 0.6161 GB, free: 10.96 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.751e-05/0.5914, allocations: 4 kB / 0.6161 GB, free: 10.96 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.676e-05/0.5914, allocations: 4 kB / 0.6161 GB, free: 10.95 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005895/0.5973, allocations: 1.872 MB / 0.6179 GB, free: 8.953 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00437/0.6017, allocations: 0.796 MB / 0.6187 GB, free: 8.184 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05368/0.6554, allocations: 76.38 MB / 0.6933 GB, free: 4.977 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00331/0.6588, allocations: 135.8 kB / 0.6934 GB, free: 4.844 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009322/0.6597, allocations: 112 kB / 0.6935 GB, free: 4.734 MB / 0.545 GB Warning: Assuming fixed start value for the following 6 variables: HC.H.Ec:VARIABLE(flow=false fixed = true ) type: Real HC.H.Tfo:VARIABLE(min = 0.0 start = HC.H.Tstart unit = "K" fixed = true nominal = 300.0 ) "outlet fluid temp" type: Real HC.H.xpi:VARIABLE(start = 0.0 fixed = true protected = true ) type: Real ss1.HE.Tho:VARIABLE(min = 0.0 start = 371.95 unit = "K" fixed = true nominal = 300.0 ) type: Real ss1.HE.Tco:VARIABLE(min = 0.0 start = 323.15 unit = "K" fixed = true nominal = 300.0 ) type: Real clo.tubeC.fluidStream.w:VARIABLE(unit = "kg/s" fixed = true ) type: Real [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/Initialization.mo:1212:5-1212:82:writable] Error: Internal error Initialization.preBalanceInitialSystem2 failed because variable $DER.clo.tubeC.fluidStream.w:VARIABLE(unit = "kg/s" ) type: Real does not appear in any equation in the lambda 0 initial system and is not fixable. Error: No system for the symbolic initialization was generated Error: Internal error SimCode DAEmode: The model AES.Devel_test_models.Test_substation_001 could not be translated