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.2_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") Notification: Performance of loadModel(Modelica): time 1.837/1.837, allocations: 194.9 MB / 210.6 MB, free: 8.344 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.545e-05/2.548e-05, allocations: 4 kB / 258.8 MB, free: 8.062 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2918/0.2918, allocations: 44.5 MB / 303.3 MB, free: 12.98 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.001584/0.2935, allocations: 1.037 MB / 304.4 MB, free: 12.1 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.2062/0.4997, allocations: 122.8 MB / 427.2 MB, free: 1.449 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.341e-05/0.4999, allocations: 0 / 427.2 MB, free: 1.449 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 3.297e-05/0.4999, allocations: 3.984 kB / 427.2 MB, free: 1.445 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001066/0.501, allocations: 167.4 kB / 427.3 MB, free: 1.281 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002136/0.5032, allocations: 398.8 kB / 427.7 MB, free: 0.8906 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001036/0.5033, allocations: 31.89 kB / 427.7 MB, free: 0.8594 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.743e-05/0.5033, allocations: 0 / 427.7 MB, free: 0.8594 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.053e-05/0.5034, allocations: 23.97 kB / 427.8 MB, free: 0.8359 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001109/0.5036, allocations: 23.92 kB / 427.8 MB, free: 0.8125 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002783/0.5064, allocations: 0.6397 MB / 428.4 MB, free: 176 kB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001916/0.5066, allocations: 32 kB / 428.5 MB, free: 144 kB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 2.362e-05/0.5066, allocations: 15.92 kB / 428.5 MB, free: 128 kB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.342e-05/0.5067, allocations: 8 kB / 428.5 MB, free: 120 kB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.3211/0.8278, allocations: 338.9 kB / 428.8 MB, free: 2.035 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.8278, allocations: 0 / 428.8 MB, free: 2.035 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.554e-06/0.8279, allocations: 0.5938 kB / 428.8 MB, free: 2.035 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.387e-05/0.8279, allocations: 0 / 428.8 MB, free: 2.035 MB / 362.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.0007078/0.8286, allocations: 427.1 kB / 429.2 MB, free: 17.63 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.985e-05/0.8287, allocations: 9 kB / 429.2 MB, free: 17.63 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001686/0.8304, allocations: 95.28 kB / 429.3 MB, free: 17.63 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003684/0.8307, allocations: 213.1 kB / 429.5 MB, free: 17.43 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.088e-05/0.8308, allocations: 5.156 kB / 429.5 MB, free: 17.43 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.573e-05/0.8308, allocations: 3.125 kB / 429.5 MB, free: 17.43 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003062/0.8311, allocations: 89.44 kB / 429.6 MB, free: 17.38 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.8312, allocations: 0.5 kB / 429.6 MB, free: 17.38 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.949e-05/0.8312, allocations: 5 kB / 429.6 MB, free: 17.38 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.134e-06/0.8312, allocations: 1 kB / 429.6 MB, free: 17.38 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002844/0.8315, allocations: 43.94 kB / 429.7 MB, free: 17.38 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003077/0.8318, allocations: 208.4 kB / 429.9 MB, free: 17.18 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007346/0.8326, allocations: 125 kB / 430 MB, free: 17.14 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000839/0.8334, allocations: 0.9776 MB / 431 MB, free: 16.01 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.666e-05/0.8335, allocations: 33.56 kB / 431 MB, free: 15.97 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.465e-06/0.8335, allocations: 0.5312 kB / 431 MB, free: 15.97 MB / 378.7 MB Notification: Performance of matching and sorting (n=6): time 0.0007462/0.8343, allocations: 133.4 kB / 431.2 MB, free: 15.93 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.221e-05/0.8343, allocations: 80.95 kB / 431.2 MB, free: 15.84 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003272/0.8347, allocations: 150.2 kB / 431.4 MB, free: 15.75 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.555e-05/0.8347, allocations: 28.27 kB / 431.4 MB, free: 15.71 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.521e-05/0.8348, allocations: 83.73 kB / 431.5 MB, free: 15.63 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.876e-05/0.8348, allocations: 25.38 kB / 431.5 MB, free: 15.62 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.317e-05/0.8348, allocations: 0.5 kB / 431.5 MB, free: 15.62 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001197/0.835, allocations: 323.7 kB / 431.8 MB, free: 15.3 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001765/0.8352, allocations: 24.2 kB / 431.9 MB, free: 15.3 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002099/0.8354, allocations: 52.53 kB / 431.9 MB, free: 15.27 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001952/0.8356, allocations: 33.16 kB / 431.9 MB, free: 15.27 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.8356, allocations: 0 / 431.9 MB, free: 15.27 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005644/0.8362, allocations: 124.6 kB / 432.1 MB, free: 15.23 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.379e-05/0.8362, allocations: 5.406 kB / 432.1 MB, free: 15.23 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.393e-06/0.8362, allocations: 1.031 kB / 432.1 MB, free: 15.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.8363, allocations: 5.75 kB / 432.1 MB, free: 15.23 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002589/0.8365, allocations: 27.66 kB / 432.1 MB, free: 15.23 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.867e-06/0.8366, allocations: 2.031 kB / 432.1 MB, free: 15.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003162/0.8369, allocations: 4.906 kB / 432.1 MB, free: 15.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.715e-05/0.8369, allocations: 13.33 kB / 432.1 MB, free: 15.23 MB / 378.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.0001177/0.8371, allocations: 125.6 kB / 432.2 MB, free: 15.11 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.005e-05/0.8371, allocations: 7.156 kB / 432.2 MB, free: 15.1 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008491/0.838, allocations: 238 kB / 432.5 MB, free: 15.06 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.759e-06/0.838, allocations: 1.75 kB / 432.5 MB, free: 15.06 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.838, allocations: 1.156 kB / 432.5 MB, free: 15.06 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.838, allocations: 0.625 kB / 432.5 MB, free: 15.06 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002587/0.8383, allocations: 218.5 kB / 432.7 MB, free: 14.86 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.8383, allocations: 5.172 kB / 432.7 MB, free: 14.86 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003062/0.8386, allocations: 26.8 kB / 432.7 MB, free: 14.86 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.971e-06/0.8387, allocations: 1.094 kB / 432.7 MB, free: 14.86 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.006e-05/0.8387, allocations: 1.656 kB / 432.7 MB, free: 14.86 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/0.8387, allocations: 4.062 kB / 432.7 MB, free: 14.86 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.8387, allocations: 0.5625 kB / 432.7 MB, free: 14.86 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006636/0.8394, allocations: 199.8 kB / 432.9 MB, free: 14.75 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001113/0.8395, allocations: 98.28 kB / 433 MB, free: 14.65 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.743e-05/0.8396, allocations: 5.109 kB / 433 MB, free: 14.65 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002956/0.8399, allocations: 6.406 kB / 433 MB, free: 14.65 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.942e-05/0.84, allocations: 6.422 kB / 433 MB, free: 14.65 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.061e-05/0.84, allocations: 5.359 kB / 433 MB, free: 14.65 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002655/0.8403, allocations: 130.7 kB / 433.2 MB, free: 14.58 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.8403, allocations: 4.062 kB / 433.2 MB, free: 14.57 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009494/0.8413, allocations: 169.7 kB / 433.3 MB, free: 14.54 MB / 378.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.001238/0.8425, allocations: 379.8 kB / 433.7 MB, free: 14.41 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004357/0.843, allocations: 76.06 kB / 433.8 MB, free: 14.4 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.843, allocations: 0 / 433.8 MB, free: 14.4 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001829/0.8432, allocations: 42.47 kB / 433.8 MB, free: 14.4 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000219/0.8434, allocations: 15.39 kB / 433.8 MB, free: 14.4 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000745/0.8442, allocations: 355.9 kB / 434.2 MB, free: 14.15 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003034/0.8445, allocations: 0.6935 MB / 434.9 MB, free: 13.45 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0009346/0.8454, allocations: 425.6 kB / 435.3 MB, free: 13.43 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002236/0.8457, allocations: 43.98 kB / 435.3 MB, free: 13.42 MB / 378.7 MB Notification: Performance of SimCode: time 8.52e-07/0.8457, allocations: 1.969 kB / 435.3 MB, free: 13.42 MB / 378.7 MB Notification: Performance of Templates: time 0.01427/0.86, allocations: 5.872 MB / 441.2 MB, free: 12.79 MB / 378.7 MB