Running command: translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h1|s1",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX") Notification: Performance of loadModel(Modelica): time 2.153/2.153, allocations: 194.9 MB / 211.2 MB, free: 8.352 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.8e-05/2.796e-05, allocations: 0 / 258.8 MB, free: 8.711 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3237/0.3237, allocations: 44.51 MB / 303.3 MB, free: 12.76 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.001939/0.3257, allocations: 1.045 MB / 304.3 MB, free: 11.88 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.2176/0.5434, allocations: 123.1 MB / 427.4 MB, free: 1.223 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.888e-05/0.5435, allocations: 0 / 427.4 MB, free: 1.223 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 4.768e-05/0.5436, allocations: 3.984 kB / 427.4 MB, free: 1.219 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001083/0.5446, allocations: 227.2 kB / 427.7 MB, free: 0.9961 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001889/0.5466, allocations: 0.4945 MB / 428.2 MB, free: 0.5 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001017/0.5467, allocations: 31.94 kB / 428.2 MB, free: 480 kB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.123e-05/0.5467, allocations: 4 kB / 428.2 MB, free: 476 kB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.569e-05/0.5468, allocations: 35.91 kB / 428.2 MB, free: 440 kB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.771e-05/0.5469, allocations: 27.92 kB / 428.3 MB, free: 412 kB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.3363/0.8832, allocations: 0.9581 MB / 429.2 MB, free: 1.711 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003275/0.8836, allocations: 41.53 kB / 429.3 MB, free: 1.711 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.531e-05/0.8837, allocations: 14.83 kB / 429.3 MB, free: 1.711 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.95e-05/0.8838, allocations: 6.094 kB / 429.3 MB, free: 1.711 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001759/0.8855, allocations: 488.2 kB / 429.8 MB, free: 1.688 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.8856, allocations: 1.906 kB / 429.8 MB, free: 1.688 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.186e-06/0.8856, allocations: 0 / 429.8 MB, free: 1.688 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.385e-05/0.8856, allocations: 0 / 429.8 MB, free: 1.688 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.0009699/0.8866, allocations: 445.6 kB / 430.2 MB, free: 17.27 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.482e-05/0.8867, allocations: 9.625 kB / 430.2 MB, free: 17.27 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004307/0.8871, allocations: 40.67 kB / 430.2 MB, free: 17.27 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002285/0.8873, allocations: 200.1 kB / 430.4 MB, free: 17.06 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.971e-05/0.8874, allocations: 8.812 kB / 430.4 MB, free: 17.06 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.698e-05/0.8874, allocations: 2.938 kB / 430.5 MB, free: 17.06 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002179/0.8876, allocations: 75.53 kB / 430.5 MB, free: 17.01 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.8877, allocations: 0 / 430.5 MB, free: 17.01 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.8877, allocations: 3.828 kB / 430.5 MB, free: 17.01 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.069e-05/0.8877, allocations: 1.875 kB / 430.5 MB, free: 17.01 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001685/0.8879, allocations: 41.19 kB / 430.6 MB, free: 17.01 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002735/0.8882, allocations: 198 kB / 430.8 MB, free: 16.81 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004616/0.8887, allocations: 115 kB / 430.9 MB, free: 16.76 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.122e-05/0.8888, allocations: 14.66 kB / 430.9 MB, free: 16.76 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.219e-05/0.8888, allocations: 34.41 kB / 430.9 MB, free: 16.72 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.405e-06/0.8888, allocations: 1.188 kB / 430.9 MB, free: 16.72 MB / 378.7 MB Notification: Performance of matching and sorting (n=6): time 0.0005427/0.8894, allocations: 121.4 kB / 431 MB, free: 16.68 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.746e-05/0.8894, allocations: 85.36 kB / 431.1 MB, free: 16.59 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001588/0.8896, allocations: 130.4 kB / 431.3 MB, free: 16.5 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.997e-05/0.8896, allocations: 25.7 kB / 431.3 MB, free: 16.46 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.988e-05/0.8897, allocations: 155.4 kB / 431.4 MB, free: 16.32 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.564e-05/0.8898, allocations: 24.08 kB / 431.5 MB, free: 16.3 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.002e-06/0.8898, allocations: 0.5625 kB / 431.5 MB, free: 16.3 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001203/0.8899, allocations: 316.1 kB / 431.8 MB, free: 15.99 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001167/0.8901, allocations: 27.64 kB / 431.8 MB, free: 15.98 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001282/0.8902, allocations: 49.45 kB / 431.8 MB, free: 15.95 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001258/0.8903, allocations: 37.06 kB / 431.9 MB, free: 15.95 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.8904, allocations: 0 / 431.9 MB, free: 15.95 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004195/0.8908, allocations: 106 kB / 432 MB, free: 15.91 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.7e-05/0.8908, allocations: 9.75 kB / 432 MB, free: 15.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/0.8909, allocations: 4.219 kB / 432 MB, free: 15.91 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.714e-05/0.8909, allocations: 1.562 kB / 432 MB, free: 15.91 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001431/0.8911, allocations: 15.28 kB / 432 MB, free: 15.91 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/0.8911, allocations: 4.625 kB / 432 MB, free: 15.91 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.44e-05/0.8912, allocations: 2.5 kB / 432 MB, free: 15.91 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.568e-05/0.8912, allocations: 3.594 kB / 432 MB, free: 15.91 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.0001056/0.8913, allocations: 118.1 kB / 432.1 MB, free: 15.79 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.426e-05/0.8914, allocations: 8.062 kB / 432.1 MB, free: 15.79 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000519/0.8919, allocations: 119.8 kB / 432.3 MB, free: 15.75 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.855e-06/0.892, allocations: 1.281 kB / 432.3 MB, free: 15.75 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.328e-06/0.892, allocations: 1.031 kB / 432.3 MB, free: 15.75 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.226e-06/0.892, allocations: 1.312 kB / 432.3 MB, free: 15.75 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002878/0.8923, allocations: 189 kB / 432.4 MB, free: 15.55 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.285e-06/0.8924, allocations: 5.109 kB / 432.5 MB, free: 15.55 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002341/0.8926, allocations: 12.44 kB / 432.5 MB, free: 15.55 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.128e-05/0.8926, allocations: 1.406 kB / 432.5 MB, free: 15.55 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.1e-05/0.8927, allocations: 12.48 kB / 432.5 MB, free: 15.54 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.602e-06/0.8927, allocations: 4.938 kB / 432.5 MB, free: 15.54 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.8927, allocations: 0 / 432.5 MB, free: 15.54 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009312/0.8937, allocations: 171 kB / 432.7 MB, free: 15.45 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001461/0.8939, allocations: 91.78 kB / 432.7 MB, free: 15.35 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.205e-05/0.8939, allocations: 4.312 kB / 432.7 MB, free: 15.35 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001118/0.8941, allocations: 10.06 kB / 432.8 MB, free: 15.34 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.05e-05/0.8942, allocations: 4.969 kB / 432.8 MB, free: 15.34 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.623e-05/0.8942, allocations: 2.688 kB / 432.8 MB, free: 15.34 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001306/0.8943, allocations: 114.6 kB / 432.9 MB, free: 15.27 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.12e-07/0.8944, allocations: 0 / 432.9 MB, free: 15.27 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001035/0.8954, allocations: 192.3 kB / 433.1 MB, free: 15.23 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 (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 Backend phase and start with SimCode phase: time 0.001715/0.8971, allocations: 457.6 kB / 433.5 MB, free: 15.07 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003364/0.8975, allocations: 61.39 kB / 433.6 MB, free: 15.07 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.8975, allocations: 0 / 433.6 MB, free: 15.07 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001145/0.8976, allocations: 34.95 kB / 433.6 MB, free: 15.07 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003127/0.898, allocations: 28.8 kB / 433.6 MB, free: 15.06 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007082/0.8987, allocations: 384.1 kB / 434 MB, free: 14.79 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002845/0.899, allocations: 0.6905 MB / 434.7 MB, free: 14.09 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.517e-05/0.8991, allocations: 15.44 kB / 434.7 MB, free: 14.09 MB / 378.7 MB Notification: Performance of SimCode: time 9.22e-07/0.8991, allocations: 0 / 434.7 MB, free: 14.09 MB / 378.7 MB Notification: Performance of Templates: time 0.01229/0.9114, allocations: 5.097 MB / 439.8 MB, free: 13.37 MB / 378.7 MB