Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatPumps.Examples.HeatPump_WaterWaterTSet.conf.json 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/IDEAS 3.0.0/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) Running command: translateModel(IDEAS.Fluid.HeatPumps.Examples.HeatPump_WaterWaterTSet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Examples.HeatPump_WaterWaterTSet") translateModel(IDEAS.Fluid.HeatPumps.Examples.HeatPump_WaterWaterTSet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Examples.HeatPump_WaterWaterTSet") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001274/0.001274, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7476/0.7476, allocations: 130.5 MB / 143.8 MB, free: 13.57 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.512/1.512, allocations: 221.3 MB / 396.8 MB, free: 9.094 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008751/0.000875, allocations: 94.89 kB / 479 MB, free: 10.32 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.696e-05/3.697e-05, allocations: 9.5 kB / 0.5551 GB, free: 86.07 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1566/0.1566, allocations: 81.59 MB / 0.6347 GB, free: 12 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.229/1.386, allocations: 385.1 MB / 1.011 GB, free: 245.9 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003392/1.386, allocations: 98.88 kB / 1.011 GB, free: 245.9 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Tables.mo:886:7-888:82:writable] Warning: Failed to deduce dimensions of table due to unknown dimensions of modifier heatPump.heatPumpData.powerData. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Tables.mo:886:7-888:82:writable] Warning: Failed to deduce dimensions of table due to unknown dimensions of modifier heatPump.heatPumpData.powerData[1]. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Tables.mo:886:7-888:82:writable] Warning: Failed to deduce dimensions of table due to unknown dimensions of modifier heatPump.heatPumpData.copData. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Tables.mo:886:7-888:82:writable] Warning: Failed to deduce dimensions of table due to unknown dimensions of modifier heatPump.heatPumpData.copData[1]. Notification: Performance of FrontEnd - DAE generated: time 3.662/5.048, allocations: 0.9899 GB / 2.001 GB, free: 35.29 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.252e-06/5.048, allocations: 0 / 2.001 GB, free: 35.29 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0003156/5.048, allocations: 83.97 kB / 2.001 GB, free: 35.21 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 463 * Number of variables: 463 Notification: Performance of Generate backend data structure: time 0.006475/5.055, allocations: 2.997 MB / 2.004 GB, free: 32.16 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.017e-05/5.055, allocations: 12.03 kB / 2.004 GB, free: 32.14 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00381/5.059, allocations: 0.6913 MB / 2.004 GB, free: 31.45 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009981/5.069, allocations: 3.813 MB / 2.008 GB, free: 27.58 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002525/5.069, allocations: 262.9 kB / 2.008 GB, free: 27.3 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004405/5.069, allocations: 196 kB / 2.009 GB, free: 27.11 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003214/5.073, allocations: 1.996 MB / 2.011 GB, free: 25.02 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.853e-05/5.073, allocations: 4 kB / 2.011 GB, free: 25.01 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001729/5.073, allocations: 76 kB / 2.011 GB, free: 24.94 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.555e-05/5.073, allocations: 51.92 kB / 2.011 GB, free: 24.89 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00227/5.075, allocations: 1.423 MB / 2.012 GB, free: 23.46 MB / 0.698 GB Warning: The model contains alias variables with conflicting start and/or 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.01194/5.087, allocations: 8.537 MB / 2.02 GB, free: 14.59 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001345/5.089, allocations: 1.027 MB / 2.021 GB, free: 13.55 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005871/5.089, allocations: 476.8 kB / 2.022 GB, free: 13.08 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006314/5.095, allocations: 4.397 MB / 2.026 GB, free: 8.191 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.491e-05/5.096, allocations: 51.3 kB / 2.026 GB, free: 8.133 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001003/5.097, allocations: 118.5 kB / 2.026 GB, free: 8.016 MB / 0.698 GB Notification: Performance of pre-optimization done (n=83): time 3.426e-06/5.097, allocations: 0 / 2.026 GB, free: 8.016 MB / 0.698 GB Notification: Performance of matching and sorting (n=83): time 0.001593/5.098, allocations: 0.9594 MB / 2.027 GB, free: 7.043 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.316e-05/5.098, allocations: 248.1 kB / 2.028 GB, free: 6.742 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Fluid/HeatPumps/BaseClasses/HeatPumpData.mo:28:3-29:45:writable] Warning: Parameter heatPump.heatPumpData.P_the_nominal has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Fluid/HeatPumps/BaseClasses/HeatPumpData.mo:26:3-27:70:writable] Warning: Parameter heatPump.heatPumpData.G has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Fluid/HeatPumps/BaseClasses/HeatPumpData.mo:23:3-24:63:writable] Warning: Parameter heatPump.heatPumpData.dp2_nominal has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Fluid/HeatPumps/BaseClasses/HeatPumpData.mo:21:3-22:64:writable] Warning: Parameter heatPump.heatPumpData.dp1_nominal has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Fluid/HeatPumps/BaseClasses/HeatPumpData.mo:18:3-19:83:writable] Warning: Parameter heatPump.heatPumpData.m2_flow_nominal has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Fluid/HeatPumps/BaseClasses/HeatPumpData.mo:16:3-17:84:writable] Warning: Parameter heatPump.heatPumpData.m1_flow_nominal has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Fluid/HeatPumps/BaseClasses/HeatPumpData.mo:13:3-14:37:writable] Warning: Parameter heatPump.heatPumpData.m2 has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Fluid/HeatPumps/BaseClasses/HeatPumpData.mo:10:3-11:38:writable] Warning: Parameter heatPump.heatPumpData.m1 has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Fluid/HeatPumps/BaseClasses/HeatPumpData.mo:9:3-9:48:writable] Warning: Parameter heatPump.heatPumpData.copData[1,1] has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Fluid/HeatPumps/BaseClasses/HeatPumpData.mo:8:3-8:71:writable] Warning: Parameter heatPump.heatPumpData.powerData[1,1] has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003082/5.101, allocations: 2.343 MB / 2.03 GB, free: 4.395 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001293/5.101, allocations: 61.69 kB / 2.03 GB, free: 4.328 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001084/5.103, allocations: 1.447 MB / 2.031 GB, free: 2.867 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002489/5.103, allocations: 291.9 kB / 2.032 GB, free: 2.578 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.447e-05/5.103, allocations: 32 kB / 2.032 GB, free: 2.547 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000113/5.103, allocations: 369.9 kB / 2.032 GB, free: 2.18 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006431/5.104, allocations: 411.9 kB / 2.032 GB, free: 1.777 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001041/5.105, allocations: 1.146 MB / 2.033 GB, free: 292 kB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009205/5.106, allocations: 0.5772 MB / 2.034 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.145e-05/5.106, allocations: 8 kB / 2.034 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.003472/5.109, allocations: 1.754 MB / 2.036 GB, free: 13.94 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.003277/5.112, allocations: 8.417 MB / 2.044 GB, free: 4.957 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.249e-05/5.112, allocations: 20 kB / 2.044 GB, free: 4.938 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004998/5.113, allocations: 117.6 kB / 2.044 GB, free: 4.816 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001385/5.114, allocations: 363.4 kB / 2.044 GB, free: 4.461 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008627/5.115, allocations: 1.178 MB / 2.046 GB, free: 3.234 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003052/5.118, allocations: 247.4 kB / 2.046 GB, free: 2.992 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002346/5.119, allocations: 99.91 kB / 2.046 GB, free: 2.898 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/5.119, allocations: 7.953 kB / 2.046 GB, free: 2.891 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002682/5.121, allocations: 1.463 MB / 2.047 GB, free: 1.422 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.838e-05/5.121, allocations: 20 kB / 2.047 GB, free: 1.402 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003965/5.122, allocations: 113.6 kB / 2.047 GB, free: 1.285 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001168/5.123, allocations: 363.7 kB / 2.048 GB, free: 0.9297 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6007/5.724, allocations: 1.169 MB / 2.049 GB, free: 65.89 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002967/5.727, allocations: 195 kB / 2.049 GB, free: 65.89 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002956/5.727, allocations: 86.62 kB / 2.049 GB, free: 65.89 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 88 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.heatPump.hysteresis.y,heatPump.hysteresis.y,$PRE.heatPump.hysteresis1.y,heatPump.hysteresis1.y,heatPump.on_security.y,$PRE.heatPump.hysteresisTSetLimit.y,heatPump.hysteresisTSetLimit.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (195): * Single equations (assignments): 191 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.00043/5.727, allocations: 217.7 kB / 2.049 GB, free: 65.78 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005902/5.728, allocations: 277.7 kB / 2.05 GB, free: 65.78 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003385/5.731, allocations: 1.511 MB / 2.051 GB, free: 65.69 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.734e-05/5.731, allocations: 20.98 kB / 2.051 GB, free: 65.69 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.792e-06/5.731, allocations: 0 / 2.051 GB, free: 65.69 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001538/5.733, allocations: 0.999 MB / 2.052 GB, free: 65.5 MB / 0.7136 GB Warning: The model contains alias variables with conflicting start and/or 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 postOpt removeSimpleEquations (simulation): time 0.007195/5.74, allocations: 3.389 MB / 2.055 GB, free: 65.04 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.165e-05/5.74, allocations: 3.531 kB / 2.055 GB, free: 65.04 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007637/5.741, allocations: 179.8 kB / 2.056 GB, free: 65.04 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003437/5.741, allocations: 87.56 kB / 2.056 GB, free: 65.02 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.343e-05/5.741, allocations: 33.27 kB / 2.056 GB, free: 65.02 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005541/5.742, allocations: 1.129 MB / 2.057 GB, free: 63.99 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/5.742, allocations: 6.969 kB / 2.057 GB, free: 63.99 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003972/5.746, allocations: 2.245 MB / 2.059 GB, free: 63.3 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001882/5.748, allocations: 0.5103 MB / 2.06 GB, free: 63.05 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009895/5.749, allocations: 32.17 kB / 2.06 GB, free: 63.05 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002053/5.751, allocations: 116 kB / 2.06 GB, free: 63.05 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002441/5.751, allocations: 101.5 kB / 2.06 GB, free: 63.05 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001502/5.751, allocations: 46.3 kB / 2.06 GB, free: 63.05 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.004309/5.756, allocations: 1.75 MB / 2.062 GB, free: 62.89 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.6e-07/5.756, allocations: 0 / 2.062 GB, free: 62.89 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.006569/5.762, allocations: 1.551 MB / 2.063 GB, free: 62.82 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 4 (heatPump.vol1.dynBal.U,heatPump.vol2.dynBal.U,TBrine_out.T,TWater_out.T) * Number of discrete variables: 4 (heatPump.hysteresis.y,heatPump.hysteresis1.y,heatPump.on_security.y,heatPump.hysteresisTSetLimit.y) * Number of discrete states: 3 (heatPump.hysteresis.y,heatPump.hysteresisTSetLimit.y,heatPump.hysteresis1.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (105): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.003985/5.766, allocations: 1.847 MB / 2.065 GB, free: 62.49 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.004927/5.771, allocations: 2.064 MB / 2.067 GB, free: 62.45 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.115e-05/5.771, allocations: 0.9062 kB / 2.067 GB, free: 62.45 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001632/5.773, allocations: 0.5861 MB / 2.067 GB, free: 62.45 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008477/5.781, allocations: 1.327 MB / 2.069 GB, free: 62.43 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01004/5.791, allocations: 3.637 MB / 2.072 GB, free: 61.41 MB / 0.7136 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:744:5-744:146:writable] Error: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed]