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.2_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T") Notification: Performance of loadModel(Modelica): time 2.144/2.144, allocations: 194.9 MB / 211.2 MB, free: 8.348 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.686e-05/3.726e-05, allocations: 7.906 kB / 258.8 MB, free: 8.723 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3202/0.3202, allocations: 44.51 MB / 303.3 MB, free: 12.76 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.002487/0.3228, allocations: 1.04 MB / 304.3 MB, free: 11.88 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01155/0.3344, allocations: 5.121 MB / 309.4 MB, free: 7.508 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.163e-05/0.3345, allocations: 4 kB / 309.5 MB, free: 7.504 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.198e-05/0.3346, allocations: 0 / 309.5 MB, free: 7.504 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001134/0.3357, allocations: 191.3 kB / 309.6 MB, free: 7.316 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001841/0.3376, allocations: 442.8 kB / 310.1 MB, free: 6.883 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001082/0.3377, allocations: 31.89 kB / 310.1 MB, free: 6.852 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.197e-05/0.3378, allocations: 7.969 kB / 310.1 MB, free: 6.844 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001409/0.338, allocations: 27.92 kB / 310.1 MB, free: 6.816 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001185/0.3392, allocations: 371.6 kB / 310.5 MB, free: 6.453 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00171/0.3409, allocations: 0.5304 MB / 311 MB, free: 5.922 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001644/0.3411, allocations: 28 kB / 311.1 MB, free: 5.895 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.903e-05/0.3411, allocations: 15.98 kB / 311.1 MB, free: 5.879 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.142e-05/0.3412, allocations: 4 kB / 311.1 MB, free: 5.875 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001084/0.3423, allocations: 309.2 kB / 311.4 MB, free: 5.574 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.3423, allocations: 0 / 311.4 MB, free: 5.574 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.535e-06/0.3423, allocations: 0 / 311.4 MB, free: 5.574 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.231e-05/0.3423, allocations: 0 / 311.4 MB, free: 5.574 MB / 250.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.000689/0.343, allocations: 435.2 kB / 311.8 MB, free: 5.102 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.929e-05/0.3431, allocations: 12.03 kB / 311.8 MB, free: 5.09 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.727e-05/0.3432, allocations: 15.84 kB / 311.8 MB, free: 5.074 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003176/0.3435, allocations: 187 kB / 312 MB, free: 4.852 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.715e-05/0.3435, allocations: 0 / 312 MB, free: 4.852 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.409e-05/0.3436, allocations: 4 kB / 312 MB, free: 4.848 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001977/0.3438, allocations: 63.39 kB / 312.1 MB, free: 4.773 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.829e-06/0.3438, allocations: 0 / 312.1 MB, free: 4.773 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.3438, allocations: 0 / 312.1 MB, free: 4.773 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/0.3438, allocations: 0 / 312.1 MB, free: 4.773 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001325/0.344, allocations: 19.92 kB / 312.1 MB, free: 4.754 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002442/0.3442, allocations: 186.5 kB / 312.3 MB, free: 4.52 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003822/0.3446, allocations: 73.28 kB / 312.4 MB, free: 4.43 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001313/0.346, allocations: 1.453 MB / 313.8 MB, free: 2.645 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.516e-05/0.346, allocations: 38.56 kB / 313.8 MB, free: 2.598 MB / 250.7 MB Notification: Performance of pre-optimization done (n=6): time 2.675e-06/0.346, allocations: 0 / 313.8 MB, free: 2.598 MB / 250.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004503/0.3465, allocations: 81.5 kB / 313.9 MB, free: 2.512 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.838e-05/0.3466, allocations: 81.11 kB / 314 MB, free: 2.414 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001278/0.3467, allocations: 105 kB / 314.1 MB, free: 2.305 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.245e-05/0.3467, allocations: 25.7 kB / 314.1 MB, free: 2.273 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.929e-05/0.3468, allocations: 154.6 kB / 314.3 MB, free: 2.121 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.813e-05/0.3469, allocations: 23.7 kB / 314.3 MB, free: 2.098 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.821e-06/0.3469, allocations: 0 / 314.3 MB, free: 2.098 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.000148/0.3471, allocations: 318.8 kB / 314.6 MB, free: 1.777 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.315e-05/0.3472, allocations: 11.98 kB / 314.6 MB, free: 1.766 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001137/0.3473, allocations: 39.42 kB / 314.7 MB, free: 1.715 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001332/0.3474, allocations: 16 kB / 314.7 MB, free: 1.699 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.3475, allocations: 3.938 kB / 314.7 MB, free: 1.695 MB / 250.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002989/0.3478, allocations: 85.95 kB / 314.8 MB, free: 1.605 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.439e-05/0.3478, allocations: 4.938 kB / 314.8 MB, free: 1.602 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.3478, allocations: 0 / 314.8 MB, free: 1.602 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.079e-05/0.3478, allocations: 4 kB / 314.8 MB, free: 1.598 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001423/0.348, allocations: 19.98 kB / 314.8 MB, free: 1.578 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/0.348, allocations: 64 / 314.8 MB, free: 1.578 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.044e-05/0.3481, allocations: 15.84 kB / 314.8 MB, free: 1.562 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.178e-05/0.3481, allocations: 4.047 kB / 314.8 MB, free: 1.559 MB / 250.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 0.000104/0.3483, allocations: 121.7 kB / 314.9 MB, free: 1.43 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.489e-05/0.3483, allocations: 7.984 kB / 314.9 MB, free: 1.422 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004943/0.3488, allocations: 121.4 kB / 315.1 MB, free: 1.297 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.558e-05/0.3488, allocations: 7.984 kB / 315.1 MB, free: 1.289 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.3488, allocations: 4 kB / 315.1 MB, free: 1.285 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.3489, allocations: 0 / 315.1 MB, free: 1.285 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001982/0.3491, allocations: 177.6 kB / 315.2 MB, free: 1.062 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.3491, allocations: 0 / 315.2 MB, free: 1.062 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001546/0.3492, allocations: 12 kB / 315.3 MB, free: 1.051 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.751e-06/0.3493, allocations: 0 / 315.3 MB, free: 1.051 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.629e-05/0.3493, allocations: 4 kB / 315.3 MB, free: 1.047 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.521e-06/0.3493, allocations: 3.938 kB / 315.3 MB, free: 1.043 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/0.3493, allocations: 7.984 kB / 315.3 MB, free: 1.035 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004561/0.3498, allocations: 148 kB / 315.4 MB, free: 0.8633 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.56e-05/0.3499, allocations: 89.12 kB / 315.5 MB, free: 0.7578 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.966e-05/0.3499, allocations: 3.984 kB / 315.5 MB, free: 0.7539 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.573e-05/0.35, allocations: 4 kB / 315.5 MB, free: 0.75 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.703e-05/0.3501, allocations: 12.06 kB / 315.5 MB, free: 0.7383 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.513e-05/0.3501, allocations: 3.984 kB / 315.5 MB, free: 0.7344 MB / 250.7 MB Notification: Performance of sorting global known variables: time 7.56e-05/0.3502, allocations: 91.34 kB / 315.6 MB, free: 0.6445 MB / 250.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.3502, allocations: 0 / 315.6 MB, free: 0.6445 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0006788/0.3509, allocations: 163.8 kB / 315.8 MB, free: 496 kB / 250.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.001169/0.3521, allocations: 354.7 kB / 316.1 MB, free: 136 kB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003241/0.3524, allocations: 47.91 kB / 316.2 MB, free: 88 kB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.3525, allocations: 0 / 316.2 MB, free: 88 kB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001341/0.3526, allocations: 23.98 kB / 316.2 MB, free: 64 kB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002155/0.3528, allocations: 18.75 kB / 316.2 MB, free: 48 kB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008092/0.3537, allocations: 375.8 kB / 316.6 MB, free: 15.64 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003153/0.354, allocations: 0.6887 MB / 317.3 MB, free: 14.93 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.667e-05/0.3541, allocations: 23.36 kB / 317.3 MB, free: 14.91 MB / 266.7 MB Notification: Performance of SimCode: time 1.032e-06/0.3541, allocations: 4 kB / 317.3 MB, free: 14.9 MB / 266.7 MB Notification: Performance of Templates: time 0.01055/0.3647, allocations: 3.686 MB / 321 MB, free: 11.21 MB / 266.7 MB