Running command: translateModel(Modelica.Blocks.Examples.InverseModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|firstOrder1.y|firstOrder2.y",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Blocks.Examples.InverseModel") Notification: Performance of loadModel(Modelica): time 2.053/2.053, allocations: 194.9 MB / 211.2 MB, free: 8.156 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.907e-05/2.911e-05, allocations: 4 kB / 258.8 MB, free: 8.527 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3062/0.3062, allocations: 44.5 MB / 303.3 MB, free: 12.74 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.InverseModel): time 0.002422/0.3087, allocations: 1.335 MB / 304.6 MB, free: 11.62 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001098/0.3098, allocations: 441.9 kB / 305 MB, free: 11.28 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.977e-05/0.31, allocations: 2.25 kB / 305 MB, free: 11.28 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 8.699e-05/0.3101, allocations: 9.328 kB / 305.1 MB, free: 11.27 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001669/0.3103, allocations: 24.8 kB / 305.1 MB, free: 11.25 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001895/0.3105, allocations: 36.91 kB / 305.1 MB, free: 11.22 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001566/0.3106, allocations: 51.44 kB / 305.2 MB, free: 11.18 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.3108, allocations: 19.94 kB / 305.2 MB, free: 11.17 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001143/0.3109, allocations: 28.27 kB / 305.2 MB, free: 11.15 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001017/0.311, allocations: 34.14 kB / 305.2 MB, free: 11.13 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.156e-05/0.311, allocations: 2.281 kB / 305.3 MB, free: 11.13 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.983e-05/0.3111, allocations: 7.25 kB / 305.3 MB, free: 11.12 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.303e-05/0.3111, allocations: 16.27 kB / 305.3 MB, free: 11.11 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.733e-05/0.3112, allocations: 4.688 kB / 305.3 MB, free: 11.11 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001198/0.3113, allocations: 56.77 kB / 305.3 MB, free: 11.07 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.3113, allocations: 0 / 305.3 MB, free: 11.07 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.785e-06/0.3113, allocations: 3.938 kB / 305.3 MB, free: 11.07 MB / 250.7 MB Notification: Performance of Transformations before backend: time 9.288e-06/0.3113, allocations: 0 / 305.3 MB, free: 11.07 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006328/0.312, allocations: 381.5 kB / 305.7 MB, free: 10.68 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/0.312, allocations: 8.906 kB / 305.7 MB, free: 10.68 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.993e-05/0.3121, allocations: 14.44 kB / 305.7 MB, free: 10.67 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003332/0.3124, allocations: 199.8 kB / 305.9 MB, free: 10.45 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.044e-05/0.3125, allocations: 7.281 kB / 305.9 MB, free: 10.45 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.052e-05/0.3125, allocations: 12.19 kB / 305.9 MB, free: 10.44 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002687/0.3128, allocations: 74.91 kB / 306 MB, free: 10.38 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.3128, allocations: 1 kB / 306 MB, free: 10.38 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.791e-05/0.3129, allocations: 8 kB / 306 MB, free: 10.38 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.3129, allocations: 2.188 kB / 306 MB, free: 10.38 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000206/0.3131, allocations: 42.22 kB / 306.1 MB, free: 10.36 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007913/0.3139, allocations: 414.1 kB / 306.5 MB, free: 9.941 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002137/0.3141, allocations: 65 kB / 306.5 MB, free: 9.895 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.009e-05/0.3142, allocations: 4.859 kB / 306.5 MB, free: 9.891 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.481e-05/0.3142, allocations: 31.5 kB / 306.6 MB, free: 9.852 MB / 250.7 MB Notification: Performance of pre-optimization done (n=5): time 3.056e-06/0.3142, allocations: 0 / 306.6 MB, free: 9.852 MB / 250.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004472/0.3147, allocations: 101.8 kB / 306.7 MB, free: 9.789 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.599e-05/0.3147, allocations: 60.62 kB / 306.7 MB, free: 9.719 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001566/0.3149, allocations: 126.5 kB / 306.9 MB, free: 9.613 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.337e-05/0.3149, allocations: 30.7 kB / 306.9 MB, free: 9.578 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000103/0.3151, allocations: 174 kB / 307.1 MB, free: 9.41 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.48e-05/0.3151, allocations: 17.81 kB / 307.1 MB, free: 9.395 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.174e-06/0.3151, allocations: 1 kB / 307.1 MB, free: 9.395 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.000133/0.3153, allocations: 315.9 kB / 307.4 MB, free: 9.078 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001051/0.3154, allocations: 25.39 kB / 307.4 MB, free: 9.066 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.344e-05/0.3155, allocations: 19.45 kB / 307.4 MB, free: 9.059 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001102/0.3156, allocations: 21.09 kB / 307.4 MB, free: 9.051 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.3156, allocations: 0 / 307.4 MB, free: 9.051 MB / 250.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002965/0.3159, allocations: 88.55 kB / 307.5 MB, free: 8.992 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.405e-05/0.316, allocations: 8.984 kB / 307.5 MB, free: 8.988 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.316, allocations: 0 / 307.5 MB, free: 8.988 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.316, allocations: 1 kB / 307.5 MB, free: 8.988 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003938/0.3164, allocations: 42.25 kB / 307.6 MB, free: 8.977 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.3165, allocations: 240 / 307.6 MB, free: 8.977 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001093/0.3166, allocations: 15.77 kB / 307.6 MB, free: 8.965 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.719e-05/0.3166, allocations: 5.328 kB / 307.6 MB, free: 8.961 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001206/0.3167, allocations: 117.1 kB / 307.7 MB, free: 8.84 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.383e-05/0.3168, allocations: 8.75 kB / 307.7 MB, free: 8.836 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.83e-05/0.3168, allocations: 18.7 kB / 307.7 MB, free: 8.816 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.3169, allocations: 1.312 kB / 307.8 MB, free: 8.816 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.686e-06/0.3169, allocations: 4.188 kB / 307.8 MB, free: 8.812 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.3169, allocations: 7.922 kB / 307.8 MB, free: 8.805 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002987/0.3172, allocations: 201.9 kB / 308 MB, free: 8.578 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.3172, allocations: 0 / 308 MB, free: 8.578 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002544/0.3175, allocations: 20.92 kB / 308 MB, free: 8.574 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/0.3175, allocations: 5.062 kB / 308 MB, free: 8.57 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.507e-05/0.3175, allocations: 1.031 kB / 308 MB, free: 8.57 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.28e-06/0.3175, allocations: 3.953 kB / 308 MB, free: 8.566 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.3176, allocations: 1.188 kB / 308 MB, free: 8.566 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004592/0.318, allocations: 211.8 kB / 308.2 MB, free: 8.391 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.533e-05/0.3181, allocations: 87.33 kB / 308.3 MB, free: 8.289 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.857e-05/0.3181, allocations: 1 kB / 308.3 MB, free: 8.289 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001339/0.3183, allocations: 7.297 kB / 308.3 MB, free: 8.285 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.749e-05/0.3183, allocations: 6.047 kB / 308.3 MB, free: 8.281 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.568e-06/0.3184, allocations: 1.031 kB / 308.3 MB, free: 8.281 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001239/0.3185, allocations: 113.3 kB / 308.4 MB, free: 8.188 MB / 250.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.3185, allocations: 0 / 308.4 MB, free: 8.188 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003101/0.3188, allocations: 11.78 kB / 308.4 MB, free: 8.188 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (firstOrder1.y,firstOrder2.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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.0001384/0.319, allocations: 98.16 kB / 308.5 MB, free: 8.094 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002812/0.3193, allocations: 58.69 kB / 308.6 MB, free: 8.047 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.3193, allocations: 0 / 308.6 MB, free: 8.047 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001103/0.3194, allocations: 27.98 kB / 308.6 MB, free: 8.02 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003309/0.3198, allocations: 15.98 kB / 308.6 MB, free: 8.004 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009338/0.3207, allocations: 329.2 kB / 308.9 MB, free: 7.652 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003429/0.3211, allocations: 0.7083 MB / 309.6 MB, free: 6.918 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.211e-05/0.3211, allocations: 11.42 kB / 309.7 MB, free: 6.906 MB / 250.7 MB Notification: Performance of SimCode: time 1.233e-06/0.3212, allocations: 7.938 kB / 309.7 MB, free: 6.898 MB / 250.7 MB Notification: Performance of Templates: time 0.003793/0.325, allocations: 1.153 MB / 310.8 MB, free: 5.746 MB / 250.7 MB