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.001087/0.001087, allocations: 113.3 kB / 16.42 MB, free: 6.504 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.001074/0.001074, allocations: 185.5 kB / 17.34 MB, free: 5.758 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.291/1.291, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09294/0.09294, allocations: 22.33 MB / 313.5 MB, free: 8.883 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 67.91 kB / 437.7 MB, free: 11.76 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08589/0.08714, allocations: 54.95 MB / 492.7 MB, free: 4.766 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_substation_001): time 0.01116/0.09833, allocations: 11.56 MB / 0.4924 GB, free: 9.156 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006619/0.105, allocations: 3.172 MB / 0.4955 GB, free: 5.973 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002279/0.1073, allocations: 63.62 kB / 0.4956 GB, free: 5.91 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00149/0.1088, allocations: 0.5346 MB / 0.4961 GB, free: 5.371 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003172/0.112, allocations: 1.363 MB / 0.4974 GB, free: 4 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002058/0.1141, allocations: 0.913 MB / 0.4983 GB, free: 3.086 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.1931/0.3072, allocations: 6.112 MB / 0.5043 GB, free: 7.523 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004845/0.3121, allocations: 4.714 MB / 0.5089 GB, free: 7.078 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003526/0.3156, allocations: 2.474 MB / 0.5113 GB, free: 6.871 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00425/0.3199, allocations: 2.758 MB / 0.514 GB, free: 6.566 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001141/0.3211, allocations: 0.7242 MB / 0.5147 GB, free: 6.566 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001541/0.3226, allocations: 0.7277 MB / 0.5154 GB, free: 6.566 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001654/0.3243, allocations: 1.874 MB / 0.5173 GB, free: 6.422 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003546/0.3278, allocations: 2.72 MB / 0.5199 GB, free: 5.848 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007983/0.3358, allocations: 8.094 MB / 0.5278 GB, free: 1.934 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.3358, allocations: 1.094 kB / 0.5278 GB, free: 1.934 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3358, allocations: 0 / 0.5278 GB, free: 1.934 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001765/0.336, allocations: 0 / 0.5278 GB, free: 1.934 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.01306/0.3491, allocations: 4.936 MB / 0.5326 GB, free: 14.73 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.3491, allocations: 8 kB / 0.5327 GB, free: 14.73 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009785/0.3501, allocations: 439.2 kB / 0.5331 GB, free: 14.5 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003916/0.3541, allocations: 2.383 MB / 0.5354 GB, free: 12.84 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002433/0.3543, allocations: 279.7 kB / 0.5357 GB, free: 12.69 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000702/0.355, allocations: 366.6 kB / 0.536 GB, free: 12.56 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007632/0.3627, allocations: 4.369 MB / 0.5403 GB, free: 9.988 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.536e-05/0.3627, allocations: 3.984 kB / 0.5403 GB, free: 9.984 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003733/0.3631, allocations: 129.7 kB / 0.5404 GB, free: 9.883 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.19e-05/0.3632, allocations: 86.19 kB / 0.5405 GB, free: 9.879 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006748/0.3699, allocations: 4 MB / 0.5444 GB, free: 6.844 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02979/0.3997, allocations: 20.1 MB / 0.564 GB, free: 1.805 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01188/0.4116, allocations: 5.612 MB / 0.5695 GB, free: 12.18 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003227/0.4149, allocations: 2.17 MB / 0.5716 GB, free: 10 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001817/0.4151, allocations: 40.27 kB / 0.5717 GB, free: 9.969 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.78e-05/0.4151, allocations: 76.2 kB / 0.5717 GB, free: 9.887 MB / 430.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001486/0.4166, allocations: 256.8 kB / 0.572 GB, free: 9.637 MB / 430.1 MB Notification: Performance of pre-optimization done (n=277): time 5.09e-06/0.4167, allocations: 0 / 0.572 GB, free: 9.637 MB / 430.1 MB Notification: Performance of matching and sorting (n=279): time 0.03033/0.447, allocations: 16.98 MB / 0.5886 GB, free: 7.52 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.82e-05/0.4471, allocations: 78.17 kB / 0.5886 GB, free: 7.43 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002564/0.4496, allocations: 1.714 MB / 0.5903 GB, free: 5.672 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003421/0.45, allocations: 73.7 kB / 0.5904 GB, free: 5.594 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008535/0.4508, allocations: 1.319 MB / 0.5917 GB, free: 4.266 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001005/0.4519, allocations: 1.104 MB / 0.5928 GB, free: 3.172 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001013/0.4529, allocations: 0.5147 MB / 0.5933 GB, free: 2.648 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.142e-05/0.453, allocations: 310.8 kB / 0.5935 GB, free: 2.344 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003237/0.4562, allocations: 2.18 MB / 0.5957 GB, free: 152 kB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003312/0.4595, allocations: 2.306 MB / 0.5979 GB, free: 13.8 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.04178/0.5013, allocations: 12.03 MB / 0.6097 GB, free: 1.691 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.504e-06/0.5014, allocations: 4 kB / 0.6097 GB, free: 1.688 MB / 462.1 MB Notification: Performance of matching and sorting (n=393) (initialization): time 0.01257/0.514, allocations: 6.539 MB / 0.6161 GB, free: 11.03 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.35e-05/0.514, allocations: 8 kB / 0.6161 GB, free: 11.02 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.371e-05/0.514, allocations: 4 kB / 0.6161 GB, free: 11.02 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005689/0.5197, allocations: 1.871 MB / 0.6179 GB, free: 9.02 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004132/0.5239, allocations: 0.7956 MB / 0.6187 GB, free: 8.25 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05304/0.5769, allocations: 76.38 MB / 0.6933 GB, free: 5.043 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003204/0.5802, allocations: 131.9 kB / 0.6934 GB, free: 4.914 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003366/0.5805, allocations: 112 kB / 0.6935 GB, free: 4.805 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