Running command: translateModel(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX") Notification: Performance of loadModel(Modelica): time 1.776/1.776, allocations: 171.1 MB / 186.3 MB, free: 1.418 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.37e-05/3.373e-05, allocations: 4 kB / 228.1 MB, free: 8.004 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08524/0.0853, allocations: 38.77 MB / 266.9 MB, free: 1.152 MB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.001818/0.08717, allocations: 1.043 MB / 267.9 MB, free: 96 kB / 218.7 MB Notification: Performance of NFInst.instExpressions: time 0.03814/0.1254, allocations: 19.33 MB / 287.3 MB, free: 12.72 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.421e-05/0.1255, allocations: 4 kB / 287.3 MB, free: 12.71 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001299/0.1256, allocations: 7.922 kB / 287.3 MB, free: 12.71 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01395/0.1396, allocations: 3.681 MB / 290.9 MB, free: 9.016 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006437/0.1403, allocations: 183.4 kB / 291.1 MB, free: 8.836 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001018/0.1404, allocations: 39.88 kB / 291.2 MB, free: 8.797 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.764e-05/0.1405, allocations: 4 kB / 291.2 MB, free: 8.793 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.953e-05/0.1405, allocations: 23.97 kB / 291.2 MB, free: 8.77 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.55e-05/0.1407, allocations: 35.91 kB / 291.2 MB, free: 8.734 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02134/0.162, allocations: 7.678 MB / 298.9 MB, free: 1.047 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002792/0.1649, allocations: 400 kB / 299.3 MB, free: 0.6562 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 8.539e-05/0.165, allocations: 11.98 kB / 299.3 MB, free: 0.6445 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.045e-05/0.165, allocations: 7.938 kB / 299.3 MB, free: 0.6367 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.232/0.3971, allocations: 2.751 MB / 302.1 MB, free: 8.57 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.3971, allocations: 0 / 302.1 MB, free: 8.57 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.456e-06/0.3972, allocations: 0 / 302.1 MB, free: 8.57 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.74e-05/0.3972, allocations: 0 / 302.1 MB, free: 8.57 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.004933/0.4021, allocations: 0.8765 MB / 302.9 MB, free: 7.941 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.363e-05/0.4022, allocations: 13.47 kB / 303 MB, free: 7.941 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.432e-05/0.4023, allocations: 7.922 kB / 303 MB, free: 7.938 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002305/0.4025, allocations: 204.6 kB / 303.2 MB, free: 7.734 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.94e-05/0.4026, allocations: 1.875 kB / 303.2 MB, free: 7.734 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.719e-05/0.4026, allocations: 2.25 kB / 303.2 MB, free: 7.734 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002754/0.4029, allocations: 71.8 kB / 303.2 MB, free: 7.688 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.4029, allocations: 1.156 kB / 303.2 MB, free: 7.688 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.539e-05/0.4029, allocations: 4.406 kB / 303.2 MB, free: 7.688 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.665e-06/0.4029, allocations: 2.188 kB / 303.2 MB, free: 7.688 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002975/0.4032, allocations: 40.31 kB / 303.3 MB, free: 7.688 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002369/0.4035, allocations: 190.4 kB / 303.5 MB, free: 7.488 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004862/0.404, allocations: 100.4 kB / 303.6 MB, free: 7.441 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.776e-05/0.4041, allocations: 11.94 kB / 303.6 MB, free: 7.441 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.46e-05/0.4041, allocations: 38.19 kB / 303.6 MB, free: 7.402 MB / 250.7 MB Notification: Performance of pre-optimization done (n=6): time 2.425e-06/0.4041, allocations: 0 / 303.6 MB, free: 7.402 MB / 250.7 MB Notification: Performance of matching and sorting (n=6): time 0.0005699/0.4047, allocations: 104.4 kB / 303.7 MB, free: 7.371 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.478e-05/0.4048, allocations: 80.2 kB / 303.8 MB, free: 7.277 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001491/0.4049, allocations: 132.9 kB / 303.9 MB, free: 7.188 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.659e-05/0.405, allocations: 25.7 kB / 304 MB, free: 7.156 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.15e-05/0.405, allocations: 157.1 kB / 304.1 MB, free: 7.008 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.99e-05/0.4051, allocations: 23.03 kB / 304.1 MB, free: 6.992 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.422e-06/0.4051, allocations: 0 / 304.1 MB, free: 6.992 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.409e-05/0.4052, allocations: 317.4 kB / 304.4 MB, free: 6.68 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001355/0.4053, allocations: 18.44 kB / 304.5 MB, free: 6.68 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001417/0.4055, allocations: 35.22 kB / 304.5 MB, free: 6.664 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001457/0.4056, allocations: 22.12 kB / 304.5 MB, free: 6.664 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.878e-06/0.4056, allocations: 5.453 kB / 304.5 MB, free: 6.66 MB / 250.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003645/0.406, allocations: 83.83 kB / 304.6 MB, free: 6.629 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.211e-05/0.406, allocations: 6.703 kB / 304.6 MB, free: 6.629 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.866e-06/0.4061, allocations: 0 / 304.6 MB, free: 6.629 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.476e-05/0.4061, allocations: 4.703 kB / 304.6 MB, free: 6.629 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000145/0.4063, allocations: 14.83 kB / 304.6 MB, free: 6.629 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.477e-06/0.4063, allocations: 4.906 kB / 304.6 MB, free: 6.629 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001051/0.4064, allocations: 8.828 kB / 304.6 MB, free: 6.625 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.597e-05/0.4064, allocations: 5.766 kB / 304.6 MB, free: 6.625 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 9.174e-05/0.4065, allocations: 113.4 kB / 304.8 MB, free: 6.512 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.032e-05/0.4066, allocations: 8.547 kB / 304.8 MB, free: 6.508 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005058/0.4071, allocations: 109.5 kB / 304.9 MB, free: 6.473 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.4071, allocations: 1.188 kB / 304.9 MB, free: 6.473 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.4071, allocations: 1.672 kB / 304.9 MB, free: 6.473 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.4071, allocations: 5.125 kB / 304.9 MB, free: 6.469 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001736/0.4073, allocations: 181.6 kB / 305.1 MB, free: 6.277 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.4073, allocations: 3.688 kB / 305.1 MB, free: 6.277 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001306/0.4075, allocations: 20.2 kB / 305.1 MB, free: 6.27 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.58e-06/0.4075, allocations: 1.281 kB / 305.1 MB, free: 6.27 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.331e-05/0.4075, allocations: 2 kB / 305.1 MB, free: 6.27 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.4075, allocations: 1.312 kB / 305.1 MB, free: 6.27 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.4075, allocations: 0 / 305.1 MB, free: 6.27 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003843/0.4079, allocations: 133.9 kB / 305.2 MB, free: 6.176 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.076e-05/0.408, allocations: 94.77 kB / 305.3 MB, free: 6.078 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.799e-05/0.4081, allocations: 2.312 kB / 305.3 MB, free: 6.078 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001458/0.4082, allocations: 4.344 kB / 305.3 MB, free: 6.078 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.37e-05/0.4083, allocations: 9.578 kB / 305.3 MB, free: 6.078 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.585e-05/0.4083, allocations: 3.422 kB / 305.3 MB, free: 6.078 MB / 250.7 MB Notification: Performance of sorting global known variables: time 9.974e-05/0.4084, allocations: 115.7 kB / 305.4 MB, free: 6 MB / 250.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.4084, allocations: 0 / 305.4 MB, free: 6 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.005308/0.4138, allocations: 0.9159 MB / 306.4 MB, free: 5.875 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 (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.01024/0.424, allocations: 1.236 MB / 307.6 MB, free: 5.617 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0004533/0.4245, allocations: 53.58 kB / 307.6 MB, free: 5.617 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 5.58e-06/0.4246, allocations: 4 kB / 307.6 MB, free: 5.613 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001646/0.4247, allocations: 27.36 kB / 307.7 MB, free: 5.613 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003201/0.4251, allocations: 18.17 kB / 307.7 MB, free: 5.609 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006319/0.4257, allocations: 240 kB / 307.9 MB, free: 5.434 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000155/0.4259, allocations: 0.6865 MB / 308.6 MB, free: 4.738 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.189e-05/0.426, allocations: 18.98 kB / 308.6 MB, free: 4.73 MB / 250.7 MB Notification: Performance of SimCode: time 9.82e-07/0.426, allocations: 0 / 308.6 MB, free: 4.73 MB / 250.7 MB Notification: Performance of Templates: time 0.06322/0.4892, allocations: 22.11 MB / 330.7 MB, free: 9.855 MB / 266.7 MB