Running command: translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") Notification: Performance of loadModel(Modelica): time 1.941/1.941, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.909e-05/2.925e-05, allocations: 4 kB / 292.1 MB, free: 8.844 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1278/0.1278, allocations: 50.42 MB / 342.5 MB, free: 6.41 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.251/1.379, allocations: 498.6 MB / 0.8214 GB, free: 41.67 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001965/1.379, allocations: 71.97 kB / 0.8215 GB, free: 41.6 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.102/1.481, allocations: 31.17 MB / 0.8519 GB, free: 10.32 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.253e-06/1.481, allocations: 0 / 0.8519 GB, free: 10.32 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.011e-05/1.481, allocations: 11.94 kB / 0.852 GB, free: 10.31 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004677/1.482, allocations: 406.3 kB / 0.8523 GB, free: 9.867 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/1.482, allocations: 8.031 kB / 0.8524 GB, free: 9.859 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001031/1.483, allocations: 96.22 kB / 0.8524 GB, free: 9.766 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001742/1.483, allocations: 190.9 kB / 0.8526 GB, free: 9.539 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.892e-05/1.483, allocations: 4 kB / 0.8526 GB, free: 9.535 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.492e-05/1.483, allocations: 8 kB / 0.8526 GB, free: 9.527 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000133/1.483, allocations: 67.38 kB / 0.8527 GB, free: 9.449 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.521e-06/1.483, allocations: 0 / 0.8527 GB, free: 9.449 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/1.483, allocations: 0 / 0.8527 GB, free: 9.449 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.651e-06/1.483, allocations: 4 kB / 0.8527 GB, free: 9.445 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.788e-05/1.484, allocations: 31.92 kB / 0.8527 GB, free: 9.414 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001968/1.484, allocations: 186.5 kB / 0.8529 GB, free: 9.18 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003564/1.484, allocations: 97.27 kB / 0.853 GB, free: 9.066 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.267e-05/1.484, allocations: 29.78 kB / 0.853 GB, free: 9.031 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007683/1.485, allocations: 1.647 MB / 0.8546 GB, free: 7.016 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.591e-05/1.485, allocations: 30.56 kB / 0.8547 GB, free: 6.977 MB / 442.7 MB Notification: Performance of pre-optimization done (n=6): time 2.467e-06/1.485, allocations: 4 kB / 0.8547 GB, free: 6.973 MB / 442.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002352/1.485, allocations: 73.61 kB / 0.8547 GB, free: 6.895 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.623e-05/1.485, allocations: 81.05 kB / 0.8548 GB, free: 6.797 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001391/1.485, allocations: 121 kB / 0.8549 GB, free: 6.672 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.488e-05/1.486, allocations: 25.7 kB / 0.855 GB, free: 6.641 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.028e-05/1.486, allocations: 154.5 kB / 0.8551 GB, free: 6.488 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.777e-05/1.486, allocations: 23.66 kB / 0.8551 GB, free: 6.465 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.24e-06/1.486, allocations: 0 / 0.8551 GB, free: 6.465 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 5.229e-05/1.486, allocations: 318.8 kB / 0.8554 GB, free: 6.145 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.401e-05/1.486, allocations: 19.98 kB / 0.8555 GB, free: 6.125 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.915e-05/1.486, allocations: 39.44 kB / 0.8555 GB, free: 6.074 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.62e-05/1.486, allocations: 19.98 kB / 0.8555 GB, free: 6.055 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.259e-06/1.486, allocations: 0 / 0.8555 GB, free: 6.055 MB / 442.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002022/1.486, allocations: 97.69 kB / 0.8556 GB, free: 5.953 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/1.486, allocations: 12 kB / 0.8556 GB, free: 5.941 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.294e-06/1.486, allocations: 0 / 0.8556 GB, free: 5.941 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/1.486, allocations: 3.938 kB / 0.8556 GB, free: 5.938 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001752/1.486, allocations: 19.92 kB / 0.8556 GB, free: 5.918 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.562e-06/1.486, allocations: 4 kB / 0.8556 GB, free: 5.914 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001784/1.487, allocations: 11.89 kB / 0.8557 GB, free: 5.902 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.117e-05/1.487, allocations: 4 kB / 0.8557 GB, free: 5.898 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.69e-05/1.487, allocations: 105 kB / 0.8558 GB, free: 5.789 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.095e-05/1.487, allocations: 11.95 kB / 0.8558 GB, free: 5.777 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002938/1.487, allocations: 113.5 kB / 0.8559 GB, free: 5.656 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.419e-06/1.487, allocations: 0 / 0.8559 GB, free: 5.656 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.133e-06/1.487, allocations: 0 / 0.8559 GB, free: 5.656 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.91e-06/1.487, allocations: 0 / 0.8559 GB, free: 5.656 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001383/1.487, allocations: 185.5 kB / 0.8561 GB, free: 5.426 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/1.487, allocations: 0 / 0.8561 GB, free: 5.426 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001672/1.487, allocations: 27.88 kB / 0.8561 GB, free: 5.398 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.716e-06/1.487, allocations: 0 / 0.8561 GB, free: 5.398 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.67e-05/1.487, allocations: 3.984 kB / 0.8561 GB, free: 5.395 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.878e-06/1.487, allocations: 0 / 0.8561 GB, free: 5.395 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.02e-06/1.487, allocations: 4 kB / 0.8561 GB, free: 5.391 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002683/1.488, allocations: 135.5 kB / 0.8562 GB, free: 5.23 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.086e-05/1.488, allocations: 93.11 kB / 0.8563 GB, free: 5.121 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.542e-05/1.488, allocations: 4.062 kB / 0.8563 GB, free: 5.117 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000174/1.488, allocations: 7.984 kB / 0.8563 GB, free: 5.109 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.782e-05/1.488, allocations: 8 kB / 0.8563 GB, free: 5.102 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.578e-05/1.488, allocations: 3.984 kB / 0.8563 GB, free: 5.098 MB / 442.7 MB Notification: Performance of sorting global known variables: time 9.094e-05/1.488, allocations: 115.1 kB / 0.8564 GB, free: 4.984 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.14e-07/1.488, allocations: 0 / 0.8564 GB, free: 4.984 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0007095/1.489, allocations: 159.8 kB / 0.8566 GB, free: 4.828 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (s1,h1) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001404/1.49, allocations: 0.7182 MB / 0.8573 GB, free: 4.109 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001935/1.491, allocations: 47.92 kB / 0.8573 GB, free: 4.062 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.55e-06/1.491, allocations: 0 / 0.8573 GB, free: 4.062 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 7.542e-05/1.491, allocations: 31.86 kB / 0.8574 GB, free: 4.031 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002221/1.491, allocations: 16.08 kB / 0.8574 GB, free: 4.016 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005534/1.492, allocations: 255.9 kB / 0.8576 GB, free: 3.734 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001154/1.492, allocations: 0.6887 MB / 0.8583 GB, free: 3.02 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001574/1.492, allocations: 35.41 kB / 0.8583 GB, free: 2.984 MB / 442.7 MB Notification: Performance of SimCode: time 1.664e-06/1.492, allocations: 0 / 0.8583 GB, free: 2.984 MB / 442.7 MB [CodegenCppCommon.tpl:986:14-986:14:writable] Error: Template error: Unknown exp:.Modelica.Media.IdealGases.Common.DataRecord("Air", #(0.0289651159), #(-4333.833858403446), #(298609.6803431054), #(1000), #({10099.5016, -196.827561, 5.00915511, -0.00576101373, 1.06685993e-05, -7.94029797e-09, 2.18523191e-12}), #({-176.796731, -3.921504225}), #({241521.443, -1257.8746, 5.14455867, -0.000213854179, 7.06522784e-08, -1.07148349e-11, 6.57780015e-16}), #({6462.26319, -8.147411905}), #(287.0512249529787)).