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_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") Notification: Performance of loadModel(Modelica): time 1.689/1.689, allocations: 171.2 MB / 185.7 MB, free: 1.402 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.671e-05/2.687e-05, allocations: 0 / 228.1 MB, free: 7.34 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08241/0.08246, allocations: 38.77 MB / 266.9 MB, free: 492 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.002689/0.08523, allocations: 1.045 MB / 268 MB, free: 15.42 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.4325/0.5178, allocations: 122.8 MB / 390.7 MB, free: 6.496 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.831e-05/0.5179, allocations: 0 / 390.7 MB, free: 6.496 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 2.541e-05/0.5179, allocations: 7.984 kB / 390.7 MB, free: 6.488 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008243/0.5188, allocations: 167.4 kB / 390.9 MB, free: 6.324 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001594/0.5204, allocations: 391.4 kB / 391.3 MB, free: 5.941 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 9.03e-05/0.5205, allocations: 31.89 kB / 391.3 MB, free: 5.91 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.32e-05/0.5205, allocations: 4 kB / 391.3 MB, free: 5.906 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.884e-05/0.5206, allocations: 19.98 kB / 391.3 MB, free: 5.887 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.347e-05/0.5207, allocations: 27.91 kB / 391.3 MB, free: 5.859 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002126/0.5228, allocations: 0.6358 MB / 392 MB, free: 5.223 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001839/0.5231, allocations: 32 kB / 392 MB, free: 5.191 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.586e-05/0.5231, allocations: 15.92 kB / 392 MB, free: 5.176 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.961e-05/0.5232, allocations: 4 kB / 392 MB, free: 5.172 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001011/0.5242, allocations: 344.9 kB / 392.4 MB, free: 4.844 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.5242, allocations: 4 kB / 392.4 MB, free: 4.84 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.635e-06/0.5242, allocations: 0 / 392.4 MB, free: 4.84 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.083e-05/0.5242, allocations: 0 / 392.4 MB, free: 4.84 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.0006747/0.5249, allocations: 431 kB / 392.8 MB, free: 4.371 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.924e-05/0.525, allocations: 12.03 kB / 392.8 MB, free: 4.359 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00171/0.5267, allocations: 83.86 kB / 392.9 MB, free: 4.277 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000445/0.5272, allocations: 223.4 kB / 393.1 MB, free: 4.02 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.94e-05/0.5272, allocations: 3.953 kB / 393.1 MB, free: 4.016 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.923e-05/0.5273, allocations: 4 kB / 393.1 MB, free: 4.012 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003262/0.5276, allocations: 89.95 kB / 393.2 MB, free: 3.914 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.442e-05/0.5276, allocations: 3.938 kB / 393.2 MB, free: 3.91 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.155e-05/0.5277, allocations: 4 kB / 393.2 MB, free: 3.906 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-06/0.5277, allocations: 4 kB / 393.2 MB, free: 3.902 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002755/0.528, allocations: 43.95 kB / 393.3 MB, free: 3.859 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003634/0.5284, allocations: 202.9 kB / 393.5 MB, free: 3.605 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007523/0.5291, allocations: 129.1 kB / 393.6 MB, free: 3.461 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000875/0.53, allocations: 0.9779 MB / 394.6 MB, free: 2.262 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.95e-05/0.5301, allocations: 34.56 kB / 394.6 MB, free: 2.219 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 2.444e-06/0.5301, allocations: 0 / 394.6 MB, free: 2.219 MB / 314.7 MB Notification: Performance of matching and sorting (n=6): time 0.0007655/0.5308, allocations: 137.4 kB / 394.7 MB, free: 2.078 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.697e-05/0.5309, allocations: 77.11 kB / 394.8 MB, free: 1.984 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003418/0.5313, allocations: 141 kB / 394.9 MB, free: 1.84 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.818e-05/0.5313, allocations: 37.7 kB / 395 MB, free: 1.797 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.375e-05/0.5314, allocations: 84.12 kB / 395.1 MB, free: 1.711 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.821e-05/0.5315, allocations: 31.53 kB / 395.1 MB, free: 1.68 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.464e-05/0.5315, allocations: 0 / 395.1 MB, free: 1.68 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001528/0.5317, allocations: 318.8 kB / 395.4 MB, free: 1.359 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001771/0.5318, allocations: 23.92 kB / 395.4 MB, free: 1.336 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002057/0.5321, allocations: 59.39 kB / 395.5 MB, free: 1.266 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001976/0.5323, allocations: 27.98 kB / 395.5 MB, free: 1.238 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.5323, allocations: 0 / 395.5 MB, free: 1.238 MB / 314.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000571/0.5329, allocations: 121.5 kB / 395.6 MB, free: 1.113 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.195e-05/0.5329, allocations: 9.25 kB / 395.6 MB, free: 1.105 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.5329, allocations: 0 / 395.6 MB, free: 1.105 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.533, allocations: 4.062 kB / 395.6 MB, free: 1.102 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002548/0.5332, allocations: 31.91 kB / 395.7 MB, free: 1.07 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.087e-05/0.5332, allocations: 4 kB / 395.7 MB, free: 1.066 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003189/0.5336, allocations: 11.89 kB / 395.7 MB, free: 1.055 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.387e-05/0.5336, allocations: 4 kB / 395.7 MB, free: 1.051 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.0001283/0.5338, allocations: 117.8 kB / 395.8 MB, free: 0.9258 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.066e-05/0.5338, allocations: 7.953 kB / 395.8 MB, free: 0.918 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008781/0.5347, allocations: 241.1 kB / 396.1 MB, free: 0.6758 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.856e-06/0.5347, allocations: 0 / 396.1 MB, free: 0.6758 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.5347, allocations: 0 / 396.1 MB, free: 0.6758 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.955e-06/0.5348, allocations: 4 kB / 396.1 MB, free: 0.6719 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003039/0.5351, allocations: 211.5 kB / 396.3 MB, free: 428 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.145e-06/0.5351, allocations: 4 kB / 396.3 MB, free: 424 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003151/0.5354, allocations: 24.59 kB / 396.3 MB, free: 400 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.83e-06/0.5354, allocations: 0 / 396.3 MB, free: 400 kB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.101e-05/0.5355, allocations: 3.953 kB / 396.3 MB, free: 396 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.23e-06/0.5355, allocations: 4 kB / 396.3 MB, free: 392 kB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.5355, allocations: 3.984 kB / 396.3 MB, free: 388 kB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006965/0.5362, allocations: 184 kB / 396.5 MB, free: 176 kB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001146/0.5363, allocations: 97.06 kB / 396.6 MB, free: 60 kB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.891e-05/0.5364, allocations: 8 kB / 396.6 MB, free: 52 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002906/0.5367, allocations: 4.062 kB / 396.6 MB, free: 48 kB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.001e-05/0.5368, allocations: 8.5 kB / 396.6 MB, free: 40 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.531e-05/0.5368, allocations: 7.984 kB / 396.6 MB, free: 32 kB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003064/0.5371, allocations: 131.2 kB / 396.7 MB, free: 15.9 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.5372, allocations: 0 / 396.7 MB, free: 15.9 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007515/0.5379, allocations: 175.9 kB / 396.9 MB, free: 15.73 MB / 330.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.001235/0.5392, allocations: 385.5 kB / 397.3 MB, free: 15.35 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004568/0.5396, allocations: 79.88 kB / 397.4 MB, free: 15.27 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.5397, allocations: 0 / 397.4 MB, free: 15.27 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000202/0.5399, allocations: 35.97 kB / 397.4 MB, free: 15.24 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002173/0.5401, allocations: 12.78 kB / 397.4 MB, free: 15.23 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000882/0.541, allocations: 370.3 kB / 397.8 MB, free: 14.84 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003319/0.5414, allocations: 0.6926 MB / 398.5 MB, free: 14.12 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001032/0.5424, allocations: 430.9 kB / 398.9 MB, free: 13.7 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002179/0.5426, allocations: 39.39 kB / 398.9 MB, free: 13.66 MB / 330.7 MB Notification: Performance of SimCode: time 1.283e-06/0.5426, allocations: 0 / 398.9 MB, free: 13.66 MB / 330.7 MB Notification: Performance of Templates: time 0.01624/0.5589, allocations: 5.881 MB / 404.8 MB, free: 7.77 MB / 330.7 MB