Running command: translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") Notification: Performance of loadModel(Modelica): time 1.036/1.036, allocations: 111.1 MB / 126.3 MB, free: 6.41 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 3.383e-05/3.384e-05, allocations: 4 kB / 154.5 MB, free: 2.832 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0552/0.05526, allocations: 25.17 MB / 179.7 MB, free: 9.621 MB / 154.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.001586/0.0569, allocations: 0.9404 MB / 180.6 MB, free: 8.68 MB / 154.7 MB Notification: Performance of NFInst.instExpressions: time 0.5458/0.6028, allocations: 127.5 MB / 308.1 MB, free: 15.58 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.777e-05/0.6029, allocations: 0.8125 kB / 308.1 MB, free: 15.58 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.383e-05/0.603, allocations: 9.766 kB / 308.1 MB, free: 15.57 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008093/0.6038, allocations: 168.9 kB / 308.3 MB, free: 15.57 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001758/0.6056, allocations: 417.1 kB / 308.7 MB, free: 15.55 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001108/0.6057, allocations: 35.56 kB / 308.7 MB, free: 15.55 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.902e-05/0.6057, allocations: 2.594 kB / 308.7 MB, free: 15.55 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001531/0.6059, allocations: 49.58 kB / 308.8 MB, free: 15.55 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001204/0.606, allocations: 37.19 kB / 308.8 MB, free: 15.55 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002221/0.6083, allocations: 0.6081 MB / 309.4 MB, free: 15.54 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000217/0.6085, allocations: 32.94 kB / 309.4 MB, free: 15.54 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.395e-05/0.6086, allocations: 16.72 kB / 309.5 MB, free: 15.54 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.277e-05/0.6086, allocations: 4.594 kB / 309.5 MB, free: 15.54 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001101/0.6097, allocations: 346.3 kB / 309.8 MB, free: 15.52 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.6098, allocations: 0 / 309.8 MB, free: 15.52 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.985e-06/0.6098, allocations: 0.875 kB / 309.8 MB, free: 15.52 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.487e-05/0.6098, allocations: 0 / 309.8 MB, free: 15.52 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.0007735/0.6106, allocations: 424.6 kB / 310.2 MB, free: 15.12 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/0.6107, allocations: 11.53 kB / 310.2 MB, free: 15.12 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.155e-05/0.6107, allocations: 5.719 kB / 310.2 MB, free: 15.11 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002224/0.611, allocations: 181 kB / 310.4 MB, free: 14.91 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.932e-05/0.611, allocations: 2.062 kB / 310.4 MB, free: 14.91 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.647e-05/0.611, allocations: 4.625 kB / 310.4 MB, free: 14.91 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000242/0.6113, allocations: 61.42 kB / 310.5 MB, free: 14.87 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.499e-05/0.6113, allocations: 4.828 kB / 310.5 MB, free: 14.86 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.342e-05/0.6113, allocations: 0 / 310.5 MB, free: 14.86 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.6113, allocations: 4.406 kB / 310.5 MB, free: 14.86 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002524/0.6116, allocations: 32 kB / 310.5 MB, free: 14.86 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000249/0.6119, allocations: 171.6 kB / 310.7 MB, free: 14.66 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000417/0.6123, allocations: 89.03 kB / 310.8 MB, free: 14.61 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001129/0.6134, allocations: 1.223 MB / 312 MB, free: 13.2 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.221e-05/0.6135, allocations: 39.06 kB / 312 MB, free: 13.16 MB / 250.7 MB Notification: Performance of pre-optimization done (n=6): time 2.535e-06/0.6135, allocations: 0 / 312 MB, free: 13.16 MB / 250.7 MB Notification: Performance of matching and sorting (n=6): time 0.0005859/0.6141, allocations: 93.58 kB / 312.1 MB, free: 13.12 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.678e-05/0.6142, allocations: 82.98 kB / 312.2 MB, free: 13.03 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001302/0.6143, allocations: 110.2 kB / 312.3 MB, free: 12.93 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.063e-05/0.6144, allocations: 28.23 kB / 312.3 MB, free: 12.9 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.76e-05/0.6144, allocations: 153.6 kB / 312.5 MB, free: 12.75 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.333e-05/0.6145, allocations: 20.03 kB / 312.5 MB, free: 12.74 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.873e-06/0.6145, allocations: 3.938 kB / 312.5 MB, free: 12.73 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.6147, allocations: 315.6 kB / 312.8 MB, free: 12.42 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001273/0.6148, allocations: 13.89 kB / 312.8 MB, free: 12.42 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000141/0.6149, allocations: 30.53 kB / 312.9 MB, free: 12.4 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001316/0.6151, allocations: 15.8 kB / 312.9 MB, free: 12.4 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.6151, allocations: 2.625 kB / 312.9 MB, free: 12.4 MB / 250.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003441/0.6155, allocations: 73.03 kB / 313 MB, free: 12.37 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/0.6155, allocations: 5.094 kB / 313 MB, free: 12.37 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.074e-06/0.6155, allocations: 2.203 kB / 313 MB, free: 12.37 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.858e-05/0.6155, allocations: 0 / 313 MB, free: 12.37 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001448/0.6157, allocations: 17.48 kB / 313 MB, free: 12.37 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.179e-05/0.6157, allocations: 3.953 kB / 313 MB, free: 12.36 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001069/0.6158, allocations: 4.359 kB / 313 MB, free: 12.36 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.777e-05/0.6159, allocations: 3 kB / 313 MB, free: 12.36 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 0.0001048/0.616, allocations: 110.6 kB / 313.1 MB, free: 12.25 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.08e-05/0.616, allocations: 10.75 kB / 313.1 MB, free: 12.25 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005525/0.6166, allocations: 132.3 kB / 313.2 MB, free: 12.2 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.878e-06/0.6166, allocations: 4.391 kB / 313.2 MB, free: 12.2 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.6166, allocations: 1.844 kB / 313.2 MB, free: 12.2 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.085e-06/0.6166, allocations: 3.953 kB / 313.3 MB, free: 12.2 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001979/0.6168, allocations: 173.2 kB / 313.4 MB, free: 12.01 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.6169, allocations: 0 / 313.4 MB, free: 12.01 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001292/0.617, allocations: 13.02 kB / 313.4 MB, free: 12.01 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.617, allocations: 128 / 313.4 MB, free: 12.01 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.436e-05/0.617, allocations: 9.531 kB / 313.4 MB, free: 12 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.6171, allocations: 2.438 kB / 313.4 MB, free: 12 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.6171, allocations: 2.766 kB / 313.5 MB, free: 12 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004048/0.6175, allocations: 136.7 kB / 313.6 MB, free: 11.91 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.689e-05/0.6176, allocations: 95.61 kB / 313.7 MB, free: 11.81 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.278e-05/0.6176, allocations: 5.5 kB / 313.7 MB, free: 11.8 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.049e-05/0.6177, allocations: 2.25 kB / 313.7 MB, free: 11.8 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.325e-05/0.6178, allocations: 20.2 kB / 313.7 MB, free: 11.8 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.375e-05/0.6178, allocations: 1.188 kB / 313.7 MB, free: 11.8 MB / 250.7 MB Notification: Performance of sorting global known variables: time 8.015e-05/0.6179, allocations: 92.69 kB / 313.8 MB, free: 11.72 MB / 250.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.618, allocations: 3.938 kB / 313.8 MB, free: 11.72 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0007401/0.6187, allocations: 160.1 kB / 314 MB, free: 11.69 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * 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.001243/0.62, allocations: 384 kB / 314.3 MB, free: 11.54 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.000384/0.6204, allocations: 47.36 kB / 314.4 MB, free: 11.54 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.6204, allocations: 4 kB / 314.4 MB, free: 11.54 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000171/0.6206, allocations: 32.67 kB / 314.4 MB, free: 11.54 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003495/0.6209, allocations: 18.89 kB / 314.4 MB, free: 11.54 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000644/0.6216, allocations: 235.2 kB / 314.7 MB, free: 11.37 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003298/0.622, allocations: 0.6903 MB / 315.4 MB, free: 10.67 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001573/0.6221, allocations: 26.06 kB / 315.4 MB, free: 10.66 MB / 250.7 MB Notification: Performance of SimCode: time 9.32e-07/0.6221, allocations: 4 kB / 315.4 MB, free: 10.66 MB / 250.7 MB Notification: Performance of Templates: time 0.01085/0.633, allocations: 4.014 MB / 319.4 MB, free: 9.395 MB / 250.7 MB