Running command: translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h1|s1",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T") Notification: Performance of loadModel(Modelica): time 1.607/1.607, allocations: 171.2 MB / 183.8 MB, free: 11.95 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.664e-05/3.681e-05, allocations: 11.92 kB / 225 MB, free: 2.711 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2785/0.2785, allocations: 38.76 MB / 263.7 MB, free: 9.879 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4547/0.7333, allocations: 181.7 MB / 445.5 MB, free: 17.71 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002087/0.7336, allocations: 70.86 kB / 445.5 MB, free: 17.67 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1314/0.865, allocations: 36.25 MB / 481.8 MB, free: 2.492 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.881e-06/0.865, allocations: 4 kB / 481.8 MB, free: 2.488 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.242e-06/0.8651, allocations: 4 kB / 481.8 MB, free: 2.484 MB / 330.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.000877/0.8659, allocations: 497.9 kB / 482.3 MB, free: 1.953 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.866, allocations: 8.031 kB / 482.3 MB, free: 1.945 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.669e-05/0.866, allocations: 4 kB / 482.3 MB, free: 1.941 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002692/0.8663, allocations: 190.9 kB / 482.5 MB, free: 1.715 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.735e-05/0.8664, allocations: 4 kB / 482.5 MB, free: 1.711 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.367e-05/0.8664, allocations: 7.953 kB / 482.5 MB, free: 1.703 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001354/0.8665, allocations: 59.34 kB / 482.5 MB, free: 1.633 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.8666, allocations: 3.984 kB / 482.5 MB, free: 1.629 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.8666, allocations: 0 / 482.5 MB, free: 1.629 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.151e-06/0.8666, allocations: 4 kB / 482.5 MB, free: 1.625 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.2e-05/0.8667, allocations: 15.98 kB / 482.6 MB, free: 1.609 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002343/0.8669, allocations: 170.6 kB / 482.7 MB, free: 1.391 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002822/0.8672, allocations: 73.23 kB / 482.8 MB, free: 1.301 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.254e-05/0.8673, allocations: 21.78 kB / 482.8 MB, free: 1.273 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001753/0.869, allocations: 1.824 MB / 484.6 MB, free: 15.04 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.664e-05/0.8691, allocations: 34.55 kB / 484.7 MB, free: 15 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 3.284e-06/0.8691, allocations: 0 / 484.7 MB, free: 15 MB / 346.7 MB Notification: Performance of matching and sorting (n=6): time 0.000245/0.8694, allocations: 65.47 kB / 484.7 MB, free: 14.93 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.862e-05/0.8695, allocations: 85.11 kB / 484.8 MB, free: 14.83 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001185/0.8696, allocations: 105 kB / 484.9 MB, free: 14.72 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.422e-05/0.8696, allocations: 29.7 kB / 485 MB, free: 14.68 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.006e-05/0.8697, allocations: 154.6 kB / 485.1 MB, free: 14.53 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.284e-05/0.8698, allocations: 19.66 kB / 485.1 MB, free: 14.51 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.187e-06/0.8698, allocations: 0 / 485.1 MB, free: 14.51 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001576/0.87, allocations: 318.8 kB / 485.4 MB, free: 14.19 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.658e-05/0.87, allocations: 11.94 kB / 485.5 MB, free: 14.18 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.052e-05/0.8701, allocations: 43.38 kB / 485.5 MB, free: 14.12 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.083e-05/0.8702, allocations: 15.98 kB / 485.5 MB, free: 14.11 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.657e-06/0.8702, allocations: 0 / 485.5 MB, free: 14.11 MB / 346.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001858/0.8704, allocations: 69.61 kB / 485.6 MB, free: 14.04 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.764e-05/0.8704, allocations: 9.672 kB / 485.6 MB, free: 14.03 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.497e-06/0.8704, allocations: 4.062 kB / 485.6 MB, free: 14.02 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.8705, allocations: 4 kB / 485.6 MB, free: 14.02 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001125/0.8706, allocations: 15.98 kB / 485.6 MB, free: 14 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.61e-06/0.8706, allocations: 0 / 485.6 MB, free: 14 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.188e-05/0.8707, allocations: 8 kB / 485.6 MB, free: 14 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.87e-05/0.8707, allocations: 4 kB / 485.6 MB, free: 13.99 MB / 346.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 8.913e-05/0.8708, allocations: 104.9 kB / 485.7 MB, free: 13.88 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.406e-05/0.8708, allocations: 7.906 kB / 485.7 MB, free: 13.88 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003284/0.8712, allocations: 121.8 kB / 485.9 MB, free: 13.75 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.055e-06/0.8712, allocations: 4 kB / 485.9 MB, free: 13.74 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.226e-06/0.8712, allocations: 0 / 485.9 MB, free: 13.74 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.8712, allocations: 0 / 485.9 MB, free: 13.74 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001983/0.8714, allocations: 177.6 kB / 486 MB, free: 13.52 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.353e-06/0.8715, allocations: 0 / 486 MB, free: 13.52 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001192/0.8716, allocations: 15.98 kB / 486 MB, free: 13.5 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.283e-06/0.8716, allocations: 0 / 486 MB, free: 13.5 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.57e-05/0.8716, allocations: 8 kB / 486.1 MB, free: 13.5 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.965e-06/0.8717, allocations: 7.953 kB / 486.1 MB, free: 13.49 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.54e-06/0.8717, allocations: 0 / 486.1 MB, free: 13.49 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002815/0.872, allocations: 143.5 kB / 486.2 MB, free: 13.32 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.873e-05/0.8721, allocations: 92.98 kB / 486.3 MB, free: 13.21 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.011e-05/0.8721, allocations: 7.953 kB / 486.3 MB, free: 13.2 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.92e-05/0.8722, allocations: 4.062 kB / 486.3 MB, free: 13.2 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.216e-05/0.8722, allocations: 7.984 kB / 486.3 MB, free: 13.19 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.377e-05/0.8723, allocations: 4 kB / 486.3 MB, free: 13.19 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.218e-05/0.8723, allocations: 87.28 kB / 486.4 MB, free: 13.1 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.77e-07/0.8724, allocations: 3.938 kB / 486.4 MB, free: 13.1 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007988/0.8732, allocations: 187.7 kB / 486.6 MB, free: 12.91 MB / 346.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 (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.001026/0.8742, allocations: 381.8 kB / 487 MB, free: 12.54 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001756/0.8744, allocations: 43.92 kB / 487 MB, free: 12.49 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.8744, allocations: 0 / 487 MB, free: 12.49 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.692e-05/0.8745, allocations: 24 kB / 487 MB, free: 12.47 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001989/0.8747, allocations: 8.766 kB / 487 MB, free: 12.46 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005268/0.8753, allocations: 252.2 kB / 487.3 MB, free: 12.18 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003531/0.8756, allocations: 0.6887 MB / 488 MB, free: 11.46 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.701e-05/0.8757, allocations: 23.42 kB / 488 MB, free: 11.44 MB / 346.7 MB Notification: Performance of SimCode: time 1.761e-06/0.8757, allocations: 0 / 488 MB, free: 11.44 MB / 346.7 MB Notification: Performance of Templates: time 0.008119/0.8839, allocations: 3.657 MB / 491.7 MB, free: 7.781 MB / 346.7 MB