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.896/1.896, allocations: 171.2 MB / 186.3 MB, free: 1.414 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.159e-05/3.156e-05, allocations: 7.984 kB / 228.1 MB, free: 7.992 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08858/0.08863, allocations: 38.77 MB / 266.9 MB, free: 1.141 MB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.001703/0.0904, allocations: 1.043 MB / 267.9 MB, free: 84 kB / 218.7 MB Notification: Performance of NFInst.instExpressions: time 0.009623/0.1001, allocations: 5.09 MB / 273 MB, free: 10.97 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.316e-05/0.1002, allocations: 0 / 273 MB, free: 10.97 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 2.239e-05/0.1002, allocations: 0 / 273 MB, free: 10.97 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001033/0.1013, allocations: 195.4 kB / 273.2 MB, free: 10.78 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001688/0.103, allocations: 434.8 kB / 273.6 MB, free: 10.36 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 9.713e-05/0.1031, allocations: 27.95 kB / 273.7 MB, free: 10.33 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.611e-05/0.1032, allocations: 0 / 273.7 MB, free: 10.33 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001401/0.1033, allocations: 35.91 kB / 273.7 MB, free: 10.29 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001093/0.1044, allocations: 343.6 kB / 274 MB, free: 9.957 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00173/0.1062, allocations: 0.5304 MB / 274.6 MB, free: 9.426 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001921/0.1064, allocations: 28 kB / 274.6 MB, free: 9.398 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 1.804e-05/0.1065, allocations: 7.984 kB / 274.6 MB, free: 9.391 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 3.338e-05/0.1065, allocations: 4 kB / 274.6 MB, free: 9.387 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001193/0.1077, allocations: 315.7 kB / 274.9 MB, free: 9.078 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.1078, allocations: 4 kB / 274.9 MB, free: 9.074 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.915e-06/0.1078, allocations: 0 / 274.9 MB, free: 9.074 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.309e-05/0.1078, allocations: 0 / 274.9 MB, free: 9.074 MB / 234.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.0006955/0.1085, allocations: 439.1 kB / 275.3 MB, free: 8.598 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.933e-05/0.1086, allocations: 12.03 kB / 275.4 MB, free: 8.586 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.138e-05/0.1086, allocations: 0 / 275.4 MB, free: 8.586 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002841/0.1089, allocations: 198.8 kB / 275.5 MB, free: 8.352 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.9e-05/0.109, allocations: 4 kB / 275.6 MB, free: 8.348 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.574e-05/0.109, allocations: 12 kB / 275.6 MB, free: 8.336 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001949/0.1092, allocations: 59.39 kB / 275.6 MB, free: 8.266 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.1092, allocations: 0 / 275.6 MB, free: 8.266 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.1092, allocations: 0 / 275.6 MB, free: 8.266 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.1093, allocations: 3.938 kB / 275.6 MB, free: 8.262 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001289/0.1094, allocations: 27.91 kB / 275.7 MB, free: 8.234 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002353/0.1096, allocations: 170.5 kB / 275.8 MB, free: 8.016 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003934/0.1101, allocations: 85.27 kB / 275.9 MB, free: 7.914 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001303/0.1114, allocations: 1.453 MB / 277.4 MB, free: 6.129 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.388e-05/0.1115, allocations: 30.56 kB / 277.4 MB, free: 6.09 MB / 234.7 MB Notification: Performance of pre-optimization done (n=6): time 2.905e-06/0.1115, allocations: 4 kB / 277.4 MB, free: 6.086 MB / 234.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004577/0.1119, allocations: 85.5 kB / 277.5 MB, free: 5.996 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.892e-05/0.112, allocations: 77.11 kB / 277.5 MB, free: 5.902 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000127/0.1122, allocations: 105 kB / 277.7 MB, free: 5.793 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.051e-05/0.1122, allocations: 25.7 kB / 277.7 MB, free: 5.762 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.505e-05/0.1123, allocations: 154.6 kB / 277.8 MB, free: 5.609 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.123e-05/0.1123, allocations: 27.64 kB / 277.9 MB, free: 5.582 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.821e-06/0.1123, allocations: 0 / 277.9 MB, free: 5.582 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001594/0.1125, allocations: 318.8 kB / 278.2 MB, free: 5.262 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.323e-05/0.1126, allocations: 12 kB / 278.2 MB, free: 5.25 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001136/0.1128, allocations: 39.42 kB / 278.2 MB, free: 5.199 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001082/0.1129, allocations: 24.28 kB / 278.2 MB, free: 5.176 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.1129, allocations: 0 / 278.2 MB, free: 5.176 MB / 234.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003002/0.1132, allocations: 85.56 kB / 278.3 MB, free: 5.086 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.424e-05/0.1132, allocations: 7.984 kB / 278.3 MB, free: 5.078 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.453e-06/0.1133, allocations: 3.938 kB / 278.3 MB, free: 5.074 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.1133, allocations: 4 kB / 278.3 MB, free: 5.07 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001314/0.1134, allocations: 12 kB / 278.4 MB, free: 5.059 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.1134, allocations: 0 / 278.4 MB, free: 5.059 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.209e-05/0.1135, allocations: 7.984 kB / 278.4 MB, free: 5.051 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.609e-05/0.1136, allocations: 11.94 kB / 278.4 MB, free: 5.039 MB / 234.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.927e-05/0.1137, allocations: 109.9 kB / 278.5 MB, free: 4.922 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.973e-05/0.1137, allocations: 11.86 kB / 278.5 MB, free: 4.91 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004756/0.1142, allocations: 117.5 kB / 278.6 MB, free: 4.789 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.226e-05/0.1142, allocations: 4 kB / 278.6 MB, free: 4.785 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.718e-06/0.1142, allocations: 0 / 278.6 MB, free: 4.785 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.96e-06/0.1143, allocations: 4 kB / 278.6 MB, free: 4.781 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001985/0.1145, allocations: 173.6 kB / 278.8 MB, free: 4.562 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.1145, allocations: 0 / 278.8 MB, free: 4.562 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001483/0.1146, allocations: 15.98 kB / 278.8 MB, free: 4.547 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.633e-06/0.1147, allocations: 7.891 kB / 278.8 MB, free: 4.539 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.274e-05/0.1147, allocations: 0 / 278.8 MB, free: 4.539 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.205e-06/0.1147, allocations: 0 / 278.8 MB, free: 4.539 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.469e-06/0.1147, allocations: 4 kB / 278.8 MB, free: 4.535 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004457/0.1152, allocations: 159.5 kB / 279 MB, free: 4.352 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.959e-05/0.1153, allocations: 101 kB / 279.1 MB, free: 4.234 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.489e-05/0.1153, allocations: 0 / 279.1 MB, free: 4.234 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.379e-05/0.1154, allocations: 4 kB / 279.1 MB, free: 4.23 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.371e-05/0.1154, allocations: 7.984 kB / 279.1 MB, free: 4.223 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.067e-05/0.1155, allocations: 0 / 279.1 MB, free: 4.223 MB / 234.7 MB Notification: Performance of sorting global known variables: time 7.215e-05/0.1155, allocations: 91.27 kB / 279.2 MB, free: 4.133 MB / 234.7 MB Notification: Performance of sort global known variables: time 3.5e-07/0.1156, allocations: 8 kB / 279.2 MB, free: 4.125 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0006916/0.1163, allocations: 167.9 kB / 279.3 MB, free: 3.961 MB / 234.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.00114/0.1174, allocations: 353.1 kB / 279.7 MB, free: 3.613 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0003171/0.1177, allocations: 48.03 kB / 279.7 MB, free: 3.566 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.1178, allocations: 4 kB / 279.7 MB, free: 3.562 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001395/0.1179, allocations: 27.98 kB / 279.8 MB, free: 3.535 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002045/0.1181, allocations: 8.719 kB / 279.8 MB, free: 3.527 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007732/0.1189, allocations: 371.5 kB / 280.1 MB, free: 3.125 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003252/0.1193, allocations: 0.6887 MB / 280.8 MB, free: 2.41 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.7e-05/0.1194, allocations: 31.36 kB / 280.8 MB, free: 2.379 MB / 234.7 MB Notification: Performance of SimCode: time 1.172e-06/0.1194, allocations: 0 / 280.8 MB, free: 2.379 MB / 234.7 MB Notification: Performance of Templates: time 0.01006/0.1294, allocations: 3.68 MB / 284.5 MB, free: 14.7 MB / 250.7 MB