Running command: translateModel(Modelica.Blocks.Examples.InverseModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|firstOrder1.y|firstOrder2.y",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Blocks.Examples.InverseModel") Notification: Performance of loadModel(Modelica): time 1.843/1.843, allocations: 171.2 MB / 186.3 MB, free: 1.395 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.422e-05/3.399e-05, allocations: 6.188 kB / 228.1 MB, free: 7.973 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08784/0.08791, allocations: 38.75 MB / 266.9 MB, free: 1.137 MB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.InverseModel): time 0.002294/0.09024, allocations: 1.344 MB / 268.2 MB, free: 15.77 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001018/0.09129, allocations: 423.7 kB / 268.6 MB, free: 15.35 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.293e-05/0.09139, allocations: 7.938 kB / 268.6 MB, free: 15.34 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 7.748e-05/0.09149, allocations: 7.922 kB / 268.6 MB, free: 15.34 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000155/0.09165, allocations: 19.91 kB / 268.7 MB, free: 15.32 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001726/0.09184, allocations: 35.95 kB / 268.7 MB, free: 15.28 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001498/0.09201, allocations: 51.88 kB / 268.7 MB, free: 15.23 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.09212, allocations: 15.98 kB / 268.8 MB, free: 15.21 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000105/0.09224, allocations: 31.91 kB / 268.8 MB, free: 15.18 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.76e-05/0.09235, allocations: 31.84 kB / 268.8 MB, free: 15.15 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.185e-05/0.09239, allocations: 4 kB / 268.8 MB, free: 15.15 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.059e-05/0.09242, allocations: 8 kB / 268.8 MB, free: 15.14 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 4.87e-05/0.09248, allocations: 15.92 kB / 268.9 MB, free: 15.12 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 2.581e-05/0.09251, allocations: 4 kB / 268.9 MB, free: 15.12 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001193/0.09264, allocations: 60.09 kB / 268.9 MB, free: 15.06 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.09266, allocations: 0 / 268.9 MB, free: 15.06 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.09267, allocations: 0 / 268.9 MB, free: 15.06 MB / 234.7 MB Notification: Performance of Transformations before backend: time 8.887e-06/0.09269, allocations: 0 / 268.9 MB, free: 15.06 MB / 234.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.0006043/0.0933, allocations: 387.1 kB / 269.3 MB, free: 14.64 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.872e-05/0.09336, allocations: 12.03 kB / 269.3 MB, free: 14.62 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.311e-05/0.09343, allocations: 7.906 kB / 269.3 MB, free: 14.62 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002651/0.0937, allocations: 203.3 kB / 269.5 MB, free: 14.38 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.73e-05/0.09373, allocations: 8 kB / 269.5 MB, free: 14.37 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.7e-05/0.09378, allocations: 4 kB / 269.5 MB, free: 14.37 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002565/0.09405, allocations: 89.53 kB / 269.6 MB, free: 14.27 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.09407, allocations: 0 / 269.6 MB, free: 14.27 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.462e-05/0.0941, allocations: 11.94 kB / 269.6 MB, free: 14.26 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/0.09411, allocations: 0 / 269.6 MB, free: 14.26 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001987/0.09432, allocations: 43.97 kB / 269.7 MB, free: 14.22 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007768/0.09511, allocations: 415.9 kB / 270.1 MB, free: 13.75 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002095/0.09534, allocations: 62.58 kB / 270.1 MB, free: 13.68 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.783e-05/0.09537, allocations: 0 / 270.1 MB, free: 13.68 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.202e-05/0.09542, allocations: 34.56 kB / 270.2 MB, free: 13.64 MB / 234.7 MB Notification: Performance of pre-optimization done (n=5): time 1.513e-06/0.09543, allocations: 0 / 270.2 MB, free: 13.64 MB / 234.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004161/0.09585, allocations: 109.8 kB / 270.3 MB, free: 13.52 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.804e-05/0.0959, allocations: 51.41 kB / 270.3 MB, free: 13.46 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001617/0.09607, allocations: 133.3 kB / 270.5 MB, free: 13.32 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.376e-05/0.09611, allocations: 29.7 kB / 270.5 MB, free: 13.29 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001057/0.09623, allocations: 170.5 kB / 270.7 MB, free: 13.12 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.38e-05/0.09627, allocations: 19.8 kB / 270.7 MB, free: 13.1 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.227e-06/0.09629, allocations: 4 kB / 270.7 MB, free: 13.1 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001329/0.09644, allocations: 318.8 kB / 271 MB, free: 12.78 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.916e-05/0.09654, allocations: 20 kB / 271 MB, free: 12.76 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.052e-05/0.09665, allocations: 19.98 kB / 271 MB, free: 12.74 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001129/0.09677, allocations: 23.98 kB / 271 MB, free: 12.71 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.09679, allocations: 0 / 271 MB, free: 12.71 MB / 234.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002733/0.09707, allocations: 93.61 kB / 271.1 MB, free: 12.62 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.0971, allocations: 4 kB / 271.1 MB, free: 12.61 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.09712, allocations: 4.062 kB / 271.1 MB, free: 12.61 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.09714, allocations: 4 kB / 271.2 MB, free: 12.61 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003469/0.0975, allocations: 39.95 kB / 271.2 MB, free: 12.57 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.09752, allocations: 3.953 kB / 271.2 MB, free: 12.56 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.67e-05/0.09761, allocations: 4 kB / 271.2 MB, free: 12.56 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.005e-05/0.09763, allocations: 0 / 271.2 MB, free: 12.56 MB / 234.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.0001116/0.09775, allocations: 117.8 kB / 271.3 MB, free: 12.43 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.279e-05/0.09781, allocations: 11.91 kB / 271.3 MB, free: 12.42 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.862e-05/0.09786, allocations: 20.23 kB / 271.3 MB, free: 12.4 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.09787, allocations: 0 / 271.3 MB, free: 12.4 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.09788, allocations: 4 kB / 271.3 MB, free: 12.4 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.73e-06/0.0979, allocations: 3.953 kB / 271.4 MB, free: 12.39 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002737/0.09818, allocations: 197.5 kB / 271.5 MB, free: 12.15 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.0982, allocations: 0 / 271.5 MB, free: 12.15 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002502/0.09845, allocations: 23.92 kB / 271.6 MB, free: 12.13 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.09847, allocations: 4 kB / 271.6 MB, free: 12.12 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.09849, allocations: 0 / 271.6 MB, free: 12.12 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.939e-06/0.09851, allocations: 4 kB / 271.6 MB, free: 12.12 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.818e-06/0.09852, allocations: 3.984 kB / 271.6 MB, free: 12.12 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004683/0.099, allocations: 203.4 kB / 271.8 MB, free: 11.9 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.47e-05/0.0991, allocations: 101 kB / 271.9 MB, free: 11.79 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.854e-05/0.09914, allocations: 4 kB / 271.9 MB, free: 11.78 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000127/0.09928, allocations: 4 kB / 271.9 MB, free: 11.78 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.812e-05/0.09932, allocations: 3.984 kB / 271.9 MB, free: 11.77 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.138e-05/0.09934, allocations: 4 kB / 271.9 MB, free: 11.77 MB / 234.7 MB Notification: Performance of sorting global known variables: time 0.0001148/0.09947, allocations: 107.8 kB / 272 MB, free: 11.66 MB / 234.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.09948, allocations: 0 / 272 MB, free: 11.66 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0002851/0.09977, allocations: 16 kB / 272 MB, free: 11.65 MB / 234.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.0001092/0.09989, allocations: 103.2 kB / 272.1 MB, free: 11.54 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0002374/0.1001, allocations: 47.98 kB / 272.2 MB, free: 11.49 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1002, allocations: 0 / 272.2 MB, free: 11.49 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001075/0.1003, allocations: 27.92 kB / 272.2 MB, free: 11.46 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003278/0.1006, allocations: 31.92 kB / 272.2 MB, free: 11.43 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008852/0.1015, allocations: 329.3 kB / 272.5 MB, free: 11.08 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003404/0.1019, allocations: 0.7121 MB / 273.3 MB, free: 10.34 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.684e-05/0.1019, allocations: 15.42 kB / 273.3 MB, free: 10.32 MB / 234.7 MB Notification: Performance of SimCode: time 8.22e-07/0.102, allocations: 0 / 273.3 MB, free: 10.32 MB / 234.7 MB Notification: Performance of Templates: time 0.003756/0.1057, allocations: 1.15 MB / 274.4 MB, free: 9.176 MB / 234.7 MB