Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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.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(Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow") translateModel(Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001414/0.001414, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001869/0.001869, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.482/1.482, allocations: 205.4 MB / 222.1 MB, free: 5.648 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.546/1.546, allocations: 252 MB / 0.5102 GB, free: 4.895 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005568/0.0005572, allocations: 12 kB / 0.6243 GB, free: 1.156 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5081/0.5087, allocations: 106.3 MB / 0.7281 GB, free: 11.45 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow): time 0.01364/0.5224, allocations: 11.68 MB / 0.7395 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.1652/0.6877, allocations: 144.8 MB / 0.881 GB, free: 14.48 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00256/0.6903, allocations: 55.69 kB / 0.881 GB, free: 14.43 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.005387/0.6957, allocations: 1.969 MB / 0.883 GB, free: 12.45 MB / 0.7012 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/BoundaryConditions/WeatherData/BaseClasses/getHeaderElementTMY3.mo:2:1-105:25:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘ contains a call to impure function ‘Modelica.Utilities.Streams.readLine‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/BoundaryConditions/WeatherData/BaseClasses/getLongitudeTMY3.mo:2:1-48:21:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getLongitudeTMY3‘ contains a call to impure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/BoundaryConditions/WeatherData/BaseClasses/getLatitudeTMY3.mo:2:1-48:20:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getLatitudeTMY3‘ contains a call to impure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/BoundaryConditions/WeatherData/BaseClasses/getTimeZoneTMY3.mo:2:1-47:20:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getTimeZoneTMY3‘ contains a call to impure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. Notification: Performance of NFTyping.typeBindings: time 0.003974/0.6997, allocations: 1.193 MB / 0.8841 GB, free: 11.25 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.004938/0.7046, allocations: 1.558 MB / 0.8856 GB, free: 9.703 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.007136/0.7118, allocations: 6.17 MB / 0.8917 GB, free: 3.523 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002355/0.7142, allocations: 1.382 MB / 0.893 GB, free: 2.105 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003545/0.7177, allocations: 1.758 MB / 0.8947 GB, free: 348 kB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00308/0.7208, allocations: 1.746 MB / 0.8964 GB, free: 14.59 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0005299/0.7214, allocations: 116 kB / 0.8965 GB, free: 14.47 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004601/0.726, allocations: 2.227 MB / 0.8987 GB, free: 12.24 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.003742/0.7297, allocations: 4.443 MB / 0.9031 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001111/0.7309, allocations: 0.7689 MB / 0.9038 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.007461/0.7383, allocations: 6.06 MB / 0.9097 GB, free: 0.9453 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 9.918e-06/0.7384, allocations: 4 kB / 0.9097 GB, free: 0.9414 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.975e-06/0.7384, allocations: 0 / 0.9097 GB, free: 0.9414 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0001501/0.7385, allocations: 0 / 0.9097 GB, free: 0.9414 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 569 * Number of variables: 569 Notification: Performance of Generate backend data structure: time 0.4537/1.192, allocations: 4.583 MB / 0.9142 GB, free: 175.5 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/1.192, allocations: 10.16 kB / 0.9142 GB, free: 175.5 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01642/1.209, allocations: 2.539 MB / 0.9167 GB, free: 175.3 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02634/1.235, allocations: 14.58 MB / 0.9309 GB, free: 167.6 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002683/1.235, allocations: 217.8 kB / 0.9311 GB, free: 167.4 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007883/1.236, allocations: 292 kB / 0.9314 GB, free: 167.1 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006587/1.243, allocations: 3.461 MB / 0.9348 GB, free: 163.5 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.292e-05/1.243, allocations: 11.88 kB / 0.9348 GB, free: 163.5 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002324/1.243, allocations: 91.95 kB / 0.9349 GB, free: 163.4 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.929e-05/1.243, allocations: 52 kB / 0.935 GB, free: 163.4 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00591/1.249, allocations: 3.33 MB / 0.9382 GB, free: 160 MB / 0.7169 GB 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.02478/1.274, allocations: 21.63 MB / 0.9593 GB, free: 137.8 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005772/1.28, allocations: 2.781 MB / 0.962 GB, free: 135 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003561/1.283, allocations: 1.781 MB / 0.9638 GB, free: 133.2 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004751/1.284, allocations: 430.8 kB / 0.9642 GB, free: 132.7 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003894/1.288, allocations: 1.983 MB / 0.9661 GB, free: 130.7 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=173): time 5.631e-06/1.288, allocations: 0 / 0.9661 GB, free: 130.7 MB / 0.7169 GB Notification: Performance of matching and sorting (n=173): time 0.01947/1.307, allocations: 7.283 MB / 0.9732 GB, free: 123.4 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000208/1.307, allocations: 418.3 kB / 0.9736 GB, free: 122.9 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02911/1.337, allocations: 21.47 MB / 0.9946 GB, free: 101.4 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0009143/1.338, allocations: 93.7 kB / 0.9947 GB, free: 101.3 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.002495/1.34, allocations: 1.615 MB / 0.9963 GB, free: 99.7 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.001207/1.341, allocations: 0.5862 MB / 0.9968 GB, free: 99.12 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001154/1.342, allocations: 76.03 kB / 0.9969 GB, free: 99.05 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0005715/1.343, allocations: 469.9 kB / 0.9974 GB, free: 98.59 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01316/1.356, allocations: 13.39 MB / 1.01 GB, free: 85.19 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01365/1.37, allocations: 14.55 MB / 1.025 GB, free: 70.16 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01362/1.384, allocations: 13.79 MB / 1.038 GB, free: 56.35 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.033e-05/1.384, allocations: 11.95 kB / 1.038 GB, free: 56.34 MB / 0.7169 GB Notification: Performance of matching and sorting (n=477) (initialization): time 0.03353/1.417, allocations: 29.48 MB / 1.067 GB, free: 26.79 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008409/1.418, allocations: 1.247 MB / 1.068 GB, free: 25.07 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01516/1.433, allocations: 6.344 MB / 1.074 GB, free: 18.68 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04168/1.475, allocations: 5.475 MB / 1.08 GB, free: 13.19 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004825/1.48, allocations: 0.9395 MB / 1.081 GB, free: 12.25 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006805/1.487, allocations: 6.367 MB / 1.087 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005298/1.492, allocations: 0.6075 MB / 1.087 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009201/1.493, allocations: 211.6 kB / 1.088 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.003e-05/1.493, allocations: 4 kB / 1.088 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03622/1.529, allocations: 29.2 MB / 1.116 GB, free: 7.406 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01572/1.545, allocations: 6.197 MB / 1.122 GB, free: 1.16 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001827/1.547, allocations: 0.5433 MB / 1.123 GB, free: 0.6094 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005275/1.552, allocations: 0.9853 MB / 1.124 GB, free: 15.62 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009155/1.561, allocations: 8.341 MB / 1.132 GB, free: 6.738 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005407/1.567, allocations: 0.5191 MB / 1.132 GB, free: 6.223 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001024/1.568, allocations: 215.3 kB / 1.133 GB, free: 6.016 MB / 0.7637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 150 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (413): * Single equations (assignments): 408 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 6} * Non-linear torn systems: 2 {6 22,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.004391/1.572, allocations: 2.833 MB / 1.135 GB, free: 3.172 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001382/1.574, allocations: 347.3 kB / 1.136 GB, free: 2.828 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01465/1.588, allocations: 5.61 MB / 1.141 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.26e-05/1.588, allocations: 16 kB / 1.141 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.054e-05/1.588, allocations: 0 / 1.141 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.016e-05/1.588, allocations: 7.969 kB / 1.141 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02016/1.609, allocations: 9.187 MB / 1.15 GB, free: 3.871 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.03124/1.64, allocations: 6.107 MB / 1.156 GB, free: 13.73 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002113/1.642, allocations: 327.6 kB / 1.156 GB, free: 13.41 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.05006/1.692, allocations: 7.824 MB / 1.164 GB, free: 5.574 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000493/1.693, allocations: 55.95 kB / 1.164 GB, free: 5.52 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007839/1.701, allocations: 6.375 MB / 1.17 GB, free: 14.72 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/1.701, allocations: 0 / 1.17 GB, free: 14.72 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01184/1.712, allocations: 4.923 MB / 1.175 GB, free: 9.766 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002034/1.715, allocations: 0.89 MB / 1.176 GB, free: 8.852 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008991/1.715, allocations: 36 kB / 1.176 GB, free: 8.816 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002816/1.718, allocations: 256.4 kB / 1.176 GB, free: 8.566 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002969/1.719, allocations: 117.1 kB / 1.176 GB, free: 8.453 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002281/1.719, allocations: 87.95 kB / 1.176 GB, free: 8.367 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.01296/1.732, allocations: 13.38 MB / 1.19 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of sort global known variables: time 7.71e-07/1.732, allocations: 3.938 kB / 1.19 GB, free: 10.97 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.009517/1.741, allocations: 2.368 MB / 1.192 GB, free: 8.613 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (125): * Single equations (assignments): 118 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 6} * Non-linear torn systems: 2 {6 26,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.00336/1.745, allocations: 1.025 MB / 1.193 GB, free: 7.816 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0412/1.786, allocations: 34.33 MB / 1.226 GB, free: 5.398 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.001e-05/1.786, allocations: 0 / 1.226 GB, free: 5.398 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.006741/1.793, allocations: 3.499 MB / 1.23 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004519/1.797, allocations: 0.6398 MB / 1.23 GB, free: 1.219 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4542/2.252, allocations: 23.96 MB / 1.254 GB, free: 296.5 MB / 0.8575 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:754:5-754:146:writable] Error: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed]