Running command: translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h1|s1",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") Notification: Performance of loadModel(Modelica): time 1.714/1.714, allocations: 171.1 MB / 186.3 MB, free: 1.34 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.503e-05/3.515e-05, allocations: 4 kB / 228.1 MB, free: 7.988 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08251/0.08258, allocations: 38.77 MB / 266.9 MB, free: 1.133 MB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.001771/0.08441, allocations: 1.035 MB / 267.9 MB, free: 84 kB / 218.7 MB Notification: Performance of NFInst.instExpressions: time 0.4533/0.5377, allocations: 122.8 MB / 390.7 MB, free: 6.945 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.022e-05/0.5379, allocations: 0.6562 kB / 390.7 MB, free: 6.945 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 2.291e-05/0.5379, allocations: 7.984 kB / 390.7 MB, free: 6.938 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008321/0.5387, allocations: 168.3 kB / 390.9 MB, free: 6.773 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001622/0.5404, allocations: 390.8 kB / 391.2 MB, free: 6.391 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 9.163e-05/0.5405, allocations: 27.95 kB / 391.3 MB, free: 6.363 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.822e-05/0.5405, allocations: 7.984 kB / 391.3 MB, free: 6.355 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.713e-05/0.5406, allocations: 19.98 kB / 391.3 MB, free: 6.336 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.73e-05/0.5407, allocations: 27.91 kB / 391.3 MB, free: 6.309 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002097/0.5428, allocations: 0.632 MB / 392 MB, free: 5.676 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001666/0.543, allocations: 32 kB / 392 MB, free: 5.645 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.418e-05/0.5431, allocations: 11.91 kB / 392 MB, free: 5.633 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.921e-05/0.5431, allocations: 11.94 kB / 392 MB, free: 5.621 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000999/0.5441, allocations: 348 kB / 392.4 MB, free: 5.289 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.5441, allocations: 4 kB / 392.4 MB, free: 5.285 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.825e-06/0.5442, allocations: 0 / 392.4 MB, free: 5.285 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.563e-05/0.5442, allocations: 0 / 392.4 MB, free: 5.285 MB / 314.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.0006491/0.5448, allocations: 427.1 kB / 392.8 MB, free: 4.82 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.762e-05/0.5449, allocations: 12.02 kB / 392.8 MB, free: 4.809 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00171/0.5466, allocations: 91.86 kB / 392.9 MB, free: 4.719 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003999/0.547, allocations: 215.5 kB / 393.1 MB, free: 4.469 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.593e-05/0.5471, allocations: 7.953 kB / 393.1 MB, free: 4.461 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.456e-05/0.5471, allocations: 0 / 393.1 MB, free: 4.461 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003232/0.5475, allocations: 95.27 kB / 393.2 MB, free: 4.355 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.5475, allocations: 0.875 kB / 393.2 MB, free: 4.355 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.865e-05/0.5475, allocations: 0 / 393.2 MB, free: 4.355 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.5475, allocations: 0 / 393.2 MB, free: 4.355 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002837/0.5478, allocations: 51.95 kB / 393.2 MB, free: 4.305 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003456/0.5482, allocations: 202.9 kB / 393.4 MB, free: 4.051 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007306/0.5489, allocations: 129.1 kB / 393.6 MB, free: 3.906 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008587/0.5498, allocations: 0.974 MB / 394.5 MB, free: 2.711 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.391e-05/0.5499, allocations: 34.56 kB / 394.6 MB, free: 2.668 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 2.966e-06/0.5499, allocations: 0 / 394.6 MB, free: 2.668 MB / 314.7 MB Notification: Performance of matching and sorting (n=6): time 0.0008147/0.5507, allocations: 133.4 kB / 394.7 MB, free: 2.531 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.844e-05/0.5508, allocations: 81.11 kB / 394.8 MB, free: 2.434 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003328/0.5511, allocations: 141 kB / 394.9 MB, free: 2.289 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.709e-05/0.5512, allocations: 33.64 kB / 394.9 MB, free: 2.25 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.457e-05/0.5513, allocations: 158.5 kB / 395.1 MB, free: 2.094 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.96e-05/0.5513, allocations: 27.62 kB / 395.1 MB, free: 2.066 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.631e-05/0.5513, allocations: 4 kB / 395.1 MB, free: 2.062 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001346/0.5515, allocations: 314.8 kB / 395.4 MB, free: 1.746 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000174/0.5517, allocations: 27.97 kB / 395.5 MB, free: 1.719 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001899/0.5519, allocations: 51.41 kB / 395.5 MB, free: 1.656 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002017/0.5521, allocations: 31.98 kB / 395.6 MB, free: 1.625 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.049e-06/0.5521, allocations: 0 / 395.6 MB, free: 1.625 MB / 314.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005356/0.5527, allocations: 117.9 kB / 395.7 MB, free: 1.504 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.254e-05/0.5527, allocations: 7.984 kB / 395.7 MB, free: 1.496 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.787e-06/0.5527, allocations: 0 / 395.7 MB, free: 1.496 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.091e-05/0.5527, allocations: 8 kB / 395.7 MB, free: 1.488 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002449/0.553, allocations: 28.59 kB / 395.7 MB, free: 1.461 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-05/0.553, allocations: 4 kB / 395.7 MB, free: 1.457 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003141/0.5533, allocations: 4 kB / 395.7 MB, free: 1.453 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.035e-05/0.5534, allocations: 12.5 kB / 395.7 MB, free: 1.441 MB / 314.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.000115/0.5535, allocations: 109.8 kB / 395.8 MB, free: 1.324 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.347e-05/0.5536, allocations: 15.84 kB / 395.9 MB, free: 1.309 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000916/0.5545, allocations: 242.8 kB / 396.1 MB, free: 1.066 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.965e-06/0.5545, allocations: 0 / 396.1 MB, free: 1.066 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/0.5546, allocations: 4 kB / 396.1 MB, free: 1.062 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.5546, allocations: 0 / 396.1 MB, free: 1.062 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002836/0.5549, allocations: 215 kB / 396.3 MB, free: 0.8047 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.082e-06/0.5549, allocations: 8 kB / 396.3 MB, free: 0.7969 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003123/0.5552, allocations: 23.97 kB / 396.3 MB, free: 0.7734 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.152e-06/0.5552, allocations: 0 / 396.3 MB, free: 0.7734 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.363e-05/0.5553, allocations: 7.953 kB / 396.3 MB, free: 0.7656 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/0.5553, allocations: 4 kB / 396.3 MB, free: 0.7617 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.5553, allocations: 0 / 396.3 MB, free: 0.7617 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006966/0.556, allocations: 183.6 kB / 396.5 MB, free: 0.5547 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001134/0.5561, allocations: 96.98 kB / 396.6 MB, free: 452 kB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.698e-05/0.5562, allocations: 7.984 kB / 396.6 MB, free: 444 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002841/0.5565, allocations: 0 / 396.6 MB, free: 444 kB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.901e-05/0.5566, allocations: 7.984 kB / 396.6 MB, free: 436 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.122e-05/0.5566, allocations: 4 kB / 396.6 MB, free: 432 kB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002703/0.5569, allocations: 131.3 kB / 396.8 MB, free: 300 kB / 314.7 MB Notification: Performance of sort global known variables: time 4.1e-07/0.5569, allocations: 7.938 kB / 396.8 MB, free: 292 kB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007721/0.5577, allocations: 175.9 kB / 396.9 MB, free: 116 kB / 314.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 (8): * Single equations (assignments): 7 * 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.001273/0.559, allocations: 379 kB / 397.3 MB, free: 15.74 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004782/0.5595, allocations: 75.89 kB / 397.4 MB, free: 15.66 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.5595, allocations: 0 / 397.4 MB, free: 15.66 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002021/0.5597, allocations: 43.97 kB / 397.4 MB, free: 15.62 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002345/0.56, allocations: 9.016 kB / 397.4 MB, free: 15.61 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009012/0.5609, allocations: 380.2 kB / 397.8 MB, free: 15.21 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003201/0.5612, allocations: 0.6965 MB / 398.5 MB, free: 14.48 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002713/0.5615, allocations: 43.33 kB / 398.6 MB, free: 14.44 MB / 330.7 MB Notification: Performance of SimCode: time 3.307e-06/0.5615, allocations: 0 / 398.6 MB, free: 14.44 MB / 330.7 MB Notification: Performance of Templates: time 0.01412/0.5756, allocations: 4.962 MB / 403.5 MB, free: 9.477 MB / 330.7 MB