Running command: translateModel(Modelica.Blocks.Examples.InverseModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Blocks.Examples.InverseModel") Notification: Performance of loadModel(Modelica): time 1.893/1.893, allocations: 225.8 MB / 239.3 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.529e-05/2.536e-05, allocations: 4 kB / 292.1 MB, free: 8.816 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0919/0.09194, allocations: 50.41 MB / 342.5 MB, free: 6.383 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3727/0.4647, allocations: 77.2 MB / 419.7 MB, free: 0.8672 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003096/0.4651, allocations: 61.84 kB / 419.8 MB, free: 0.8398 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01562/0.4807, allocations: 2.276 MB / 422.1 MB, free: 14.89 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.675e-06/0.4808, allocations: 0 / 422.1 MB, free: 14.89 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.355e-05/0.4808, allocations: 3.938 kB / 422.1 MB, free: 14.89 MB / 346.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.0008246/0.4816, allocations: 382.1 kB / 422.4 MB, free: 14.48 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.968e-05/0.4817, allocations: 12.03 kB / 422.5 MB, free: 14.46 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.251e-05/0.4818, allocations: 15.77 kB / 422.5 MB, free: 14.45 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004945/0.4824, allocations: 205.5 kB / 422.7 MB, free: 14.21 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.608e-05/0.4824, allocations: 7.938 kB / 422.7 MB, free: 14.21 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.45e-05/0.4825, allocations: 7.625 kB / 422.7 MB, free: 14.2 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003177/0.4828, allocations: 73.17 kB / 422.8 MB, free: 14.14 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/0.4829, allocations: 0 / 422.8 MB, free: 14.14 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.092e-05/0.4829, allocations: 0 / 422.8 MB, free: 14.14 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.198e-05/0.4829, allocations: 3.953 kB / 422.8 MB, free: 14.14 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001941/0.4831, allocations: 39.25 kB / 422.8 MB, free: 14.11 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001208/0.4844, allocations: 406.8 kB / 423.2 MB, free: 13.68 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002643/0.4847, allocations: 54.94 kB / 423.3 MB, free: 13.63 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001183/0.4848, allocations: 24.3 kB / 423.3 MB, free: 13.61 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.517e-05/0.4849, allocations: 48 / 423.3 MB, free: 13.61 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.65e-05/0.4849, allocations: 38.48 kB / 423.3 MB, free: 13.57 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 3.405e-06/0.485, allocations: 4 kB / 423.3 MB, free: 13.56 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003973/0.4854, allocations: 69.28 kB / 423.4 MB, free: 13.5 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.006e-05/0.4855, allocations: 55.41 kB / 423.4 MB, free: 13.43 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002484/0.4857, allocations: 135.6 kB / 423.6 MB, free: 13.31 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.508e-05/0.4858, allocations: 29.7 kB / 423.6 MB, free: 13.27 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001563/0.486, allocations: 170.6 kB / 423.8 MB, free: 13.11 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.124e-05/0.486, allocations: 19.55 kB / 423.8 MB, free: 13.1 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.029e-05/0.4861, allocations: 0 / 423.8 MB, free: 13.1 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002463/0.4863, allocations: 314.8 kB / 424.1 MB, free: 12.78 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.541e-05/0.4865, allocations: 15.62 kB / 424.1 MB, free: 12.77 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.913e-05/0.4866, allocations: 19.67 kB / 424.1 MB, free: 12.76 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001115/0.4867, allocations: 19.64 kB / 424.2 MB, free: 12.75 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.939e-06/0.4867, allocations: 3.953 kB / 424.2 MB, free: 12.74 MB / 346.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003357/0.4871, allocations: 85.02 kB / 424.2 MB, free: 12.66 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.466e-05/0.4871, allocations: 4 kB / 424.2 MB, free: 12.66 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.267e-06/0.4872, allocations: 0 / 424.2 MB, free: 12.66 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.997e-05/0.4872, allocations: 4 kB / 424.2 MB, free: 12.66 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000494/0.4877, allocations: 35.97 kB / 424.3 MB, free: 12.62 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/0.4877, allocations: 0 / 424.3 MB, free: 12.62 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001564/0.4879, allocations: 4 kB / 424.3 MB, free: 12.62 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.995e-05/0.488, allocations: 0 / 424.3 MB, free: 12.62 MB / 346.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.0001615/0.4882, allocations: 112.7 kB / 424.4 MB, free: 12.5 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001094/0.4883, allocations: 11.86 kB / 424.4 MB, free: 12.49 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.673e-05/0.4884, allocations: 11.83 kB / 424.4 MB, free: 12.48 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.048e-05/0.4884, allocations: 4.062 kB / 424.4 MB, free: 12.48 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.03e-05/0.4884, allocations: 4 kB / 424.4 MB, free: 12.48 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.359e-06/0.4885, allocations: 0 / 424.4 MB, free: 12.48 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005828/0.4891, allocations: 200.7 kB / 424.6 MB, free: 12.25 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.219e-06/0.4891, allocations: 0 / 424.6 MB, free: 12.25 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004148/0.4895, allocations: 27.88 kB / 424.6 MB, free: 12.22 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.743e-06/0.4896, allocations: 4 kB / 424.7 MB, free: 12.22 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.358e-05/0.4896, allocations: 0 / 424.7 MB, free: 12.22 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.075e-06/0.4896, allocations: 4 kB / 424.7 MB, free: 12.21 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.942e-06/0.4897, allocations: 0 / 424.7 MB, free: 12.21 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005676/0.4903, allocations: 182.9 kB / 424.8 MB, free: 12.04 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001238/0.4904, allocations: 85.05 kB / 424.9 MB, free: 11.94 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.695e-05/0.4905, allocations: 7.828 kB / 424.9 MB, free: 11.93 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002742/0.4908, allocations: 4.062 kB / 424.9 MB, free: 11.93 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.55e-05/0.4909, allocations: 7.984 kB / 424.9 MB, free: 11.92 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.559e-05/0.4909, allocations: 3.938 kB / 424.9 MB, free: 11.92 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002044/0.4911, allocations: 109.8 kB / 425 MB, free: 11.82 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.341e-06/0.4912, allocations: 0 / 425 MB, free: 11.82 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008337/0.492, allocations: 23.66 kB / 425.1 MB, free: 11.8 MB / 346.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.0002362/0.4923, allocations: 103.2 kB / 425.2 MB, free: 11.69 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002804/0.4926, allocations: 39.36 kB / 425.2 MB, free: 11.66 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.773e-06/0.4926, allocations: 4 kB / 425.2 MB, free: 11.66 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001233/0.4928, allocations: 19.69 kB / 425.2 MB, free: 11.65 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005777/0.4934, allocations: 15.73 kB / 425.2 MB, free: 11.64 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00118/0.4946, allocations: 195 kB / 425.4 MB, free: 11.42 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007005/0.4953, allocations: 0.7159 MB / 426.2 MB, free: 10.68 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.454e-05/0.4955, allocations: 15.42 kB / 426.2 MB, free: 10.66 MB / 346.7 MB Notification: Performance of SimCode: time 2.175e-06/0.4955, allocations: 0 / 426.2 MB, free: 10.66 MB / 346.7 MB Notification: Performance of Templates: time 0.004256/0.4998, allocations: 1.16 MB / 427.3 MB, free: 9.516 MB / 346.7 MB