Running command: "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.798/1.798, allocations: 171.2 MB / 183.8 MB, free: 12.04 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.728e-05/3.744e-05, allocations: 4 kB / 225.1 MB, free: 2.707 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3132/0.3133, allocations: 38.77 MB / 263.8 MB, free: 9.871 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1295/0.4428, allocations: 66.81 MB / 330.6 MB, free: 6.961 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002756/0.4431, allocations: 67.97 kB / 330.7 MB, free: 6.895 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03228/0.4754, allocations: 5.17 MB / 335.9 MB, free: 1.719 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.943e-06/0.4755, allocations: 0 / 335.9 MB, free: 1.719 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.835e-06/0.4755, allocations: 0 / 335.9 MB, free: 1.719 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004828/0.476, allocations: 370.2 kB / 336.2 MB, free: 1.312 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.075e-05/0.4761, allocations: 12.03 kB / 336.2 MB, free: 1.301 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.478e-05/0.4761, allocations: 30.56 kB / 336.3 MB, free: 1.262 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.306e-05/0.4762, allocations: 0 / 336.3 MB, free: 1.262 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002266/0.4764, allocations: 163.1 kB / 336.4 MB, free: 1.062 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.4764, allocations: 0 / 336.4 MB, free: 1.062 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.226e-05/0.4765, allocations: 7.938 kB / 336.4 MB, free: 1.055 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001157/0.4766, allocations: 37.64 kB / 336.5 MB, free: 1.012 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.4766, allocations: 4 kB / 336.5 MB, free: 1.008 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/0.4767, allocations: 3.938 kB / 336.5 MB, free: 1.004 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/0.4767, allocations: 0 / 336.5 MB, free: 1.004 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.739e-05/0.4767, allocations: 7.938 kB / 336.5 MB, free: 0.9961 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004916/0.4772, allocations: 400 kB / 336.9 MB, free: 0.5508 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001115/0.4774, allocations: 165.1 kB / 337 MB, free: 388 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.9e-05/0.4774, allocations: 84.14 kB / 337.1 MB, free: 300 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.485e-05/0.4775, allocations: 79.28 kB / 337.2 MB, free: 220 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.303e-05/0.4776, allocations: 110.3 kB / 337.3 MB, free: 100 kB / 282.7 MB Notification: Performance of pre-optimization done (n=0): time 2.094e-06/0.4776, allocations: 3.938 kB / 337.3 MB, free: 96 kB / 282.7 MB Notification: Performance of matching and sorting (n=0): time 0.000108/0.4777, allocations: 29.61 kB / 337.3 MB, free: 60 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001277/0.4779, allocations: 156.4 kB / 337.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001599/0.478, allocations: 117 kB / 337.6 MB, free: 15.77 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.343e-05/0.4781, allocations: 25.7 kB / 337.6 MB, free: 15.73 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.957e-05/0.4782, allocations: 154.5 kB / 337.8 MB, free: 15.58 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.297e-06/0.4782, allocations: 0 / 337.8 MB, free: 15.58 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.607e-06/0.4782, allocations: 0 / 337.8 MB, free: 15.58 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000163/0.4784, allocations: 314.8 kB / 338.1 MB, free: 15.27 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.833e-05/0.4784, allocations: 0 / 338.1 MB, free: 15.27 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.986e-05/0.4785, allocations: 8 kB / 338.1 MB, free: 15.26 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.245e-05/0.4785, allocations: 8.078 kB / 338.1 MB, free: 15.25 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.4786, allocations: 4 kB / 338.1 MB, free: 15.25 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001588/0.4787, allocations: 37.59 kB / 338.2 MB, free: 15.2 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.471e-05/0.4788, allocations: 8 kB / 338.2 MB, free: 15.2 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.4788, allocations: 0 / 338.2 MB, free: 15.2 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.4788, allocations: 0 / 338.2 MB, free: 15.2 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.764e-05/0.4789, allocations: 4 kB / 338.2 MB, free: 15.19 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.4789, allocations: 0 / 338.2 MB, free: 15.19 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.252e-05/0.479, allocations: 8 kB / 338.2 MB, free: 15.18 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.408e-05/0.479, allocations: 3.984 kB / 338.2 MB, free: 15.18 MB / 298.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 (1): * Single equations (assignments): 1 * 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.0001368/0.4792, allocations: 184.3 kB / 338.4 MB, free: 14.99 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001115/0.4793, allocations: 116.8 kB / 338.5 MB, free: 14.87 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.974e-05/0.4794, allocations: 108.6 kB / 338.6 MB, free: 14.76 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.577e-05/0.4795, allocations: 180.3 kB / 338.8 MB, free: 14.57 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001014/0.4796, allocations: 184.2 kB / 338.9 MB, free: 14.39 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.685e-05/0.4798, allocations: 184.3 kB / 339.1 MB, free: 14.2 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004091/0.4802, allocations: 409.2 kB / 339.5 MB, free: 13.74 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.746e-05/0.4803, allocations: 104.9 kB / 339.6 MB, free: 13.63 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.301e-05/0.4803, allocations: 105 kB / 339.7 MB, free: 13.52 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001055/0.4805, allocations: 188.1 kB / 339.9 MB, free: 13.33 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.36e-05/0.4806, allocations: 180.2 kB / 340.1 MB, free: 13.15 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001069/0.4807, allocations: 184.2 kB / 340.3 MB, free: 12.96 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.109e-05/0.4808, allocations: 180.3 kB / 340.4 MB, free: 12.78 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002216/0.481, allocations: 307.8 kB / 340.7 MB, free: 12.45 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001205/0.4812, allocations: 178.1 kB / 340.9 MB, free: 12.25 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001264/0.4813, allocations: 196.2 kB / 341.1 MB, free: 12.05 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002035/0.4815, allocations: 106.2 kB / 341.2 MB, free: 11.95 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.674e-05/0.4817, allocations: 180.2 kB / 341.4 MB, free: 11.76 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.758e-05/0.4817, allocations: 104.9 kB / 341.5 MB, free: 11.65 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001152/0.4819, allocations: 91.28 kB / 341.6 MB, free: 11.56 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.51e-07/0.4819, allocations: 0 / 341.6 MB, free: 11.56 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0007443/0.4826, allocations: 59.92 kB / 341.6 MB, free: 11.5 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (0): * Single equations (assignments): 0 * 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.001285/0.4839, allocations: 0.8995 MB / 342.5 MB, free: 10.59 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.771e-05/0.4841, allocations: 0 / 342.5 MB, free: 10.59 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.4841, allocations: 4 kB / 342.5 MB, free: 10.59 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.158e-06/0.4841, allocations: 0 / 342.5 MB, free: 10.59 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005438/0.4847, allocations: 0.5312 MB / 343.1 MB, free: 10.05 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006845/0.4854, allocations: 211.5 kB / 343.3 MB, free: 9.805 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003873/0.4858, allocations: 0.677 MB / 343.9 MB, free: 9.102 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.38e-05/0.4859, allocations: 19.42 kB / 344 MB, free: 9.086 MB / 298.7 MB Notification: Performance of SimCode: time 1.092e-06/0.4859, allocations: 0 / 344 MB, free: 9.086 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.698/3.184, allocations: 1.382 MB / 345.3 MB, free: 7.703 MB / 298.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine_res.mat does not exist to compare? outputFormat=mat