Running command: "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.122/2.122, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.478e-05/3.499e-05, allocations: 0 / 249.7 MB, free: 15.21 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3376/0.3376, allocations: 44.49 MB / 294.2 MB, free: 14.16 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1342/0.4719, allocations: 71.51 MB / 365.7 MB, free: 10.39 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002987/0.4723, allocations: 63.97 kB / 365.8 MB, free: 10.32 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02598/0.4983, allocations: 5.155 MB / 370.9 MB, free: 5.164 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.524e-06/0.4983, allocations: 0 / 370.9 MB, free: 5.164 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.456e-06/0.4984, allocations: 3.938 kB / 370.9 MB, free: 5.16 MB / 314.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.0004576/0.4988, allocations: 354.4 kB / 371.3 MB, free: 4.77 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.675e-05/0.4989, allocations: 12.03 kB / 371.3 MB, free: 4.758 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.151e-05/0.4989, allocations: 4 kB / 371.3 MB, free: 4.754 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001807/0.4991, allocations: 170.9 kB / 371.5 MB, free: 4.547 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.704e-05/0.4992, allocations: 4 kB / 371.5 MB, free: 4.543 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.492e-05/0.4992, allocations: 7.984 kB / 371.5 MB, free: 4.535 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.149e-05/0.4992, allocations: 0 / 371.5 MB, free: 4.535 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.198e-05/0.4993, allocations: 41.62 kB / 371.5 MB, free: 4.488 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.4994, allocations: 0 / 371.5 MB, free: 4.488 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.291e-05/0.4994, allocations: 4 kB / 371.5 MB, free: 4.484 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.4994, allocations: 0 / 371.5 MB, free: 4.484 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004109/0.4998, allocations: 376.6 kB / 371.9 MB, free: 4.078 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001006/0.4999, allocations: 173.1 kB / 372 MB, free: 3.898 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.999e-05/0.5, allocations: 80.14 kB / 372.1 MB, free: 3.816 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.383e-05/0.5, allocations: 75.28 kB / 372.2 MB, free: 3.742 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.95e-05/0.5001, allocations: 113.8 kB / 372.3 MB, free: 3.621 MB / 314.7 MB Notification: Performance of pre-optimization done (n=0): time 1.623e-06/0.5001, allocations: 0 / 372.3 MB, free: 3.621 MB / 314.7 MB Notification: Performance of matching and sorting (n=0): time 8.906e-05/0.5002, allocations: 30.28 kB / 372.3 MB, free: 3.586 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.352e-05/0.5003, allocations: 77.11 kB / 372.4 MB, free: 3.492 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001322/0.5004, allocations: 109 kB / 372.5 MB, free: 3.379 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.5005, allocations: 29.64 kB / 372.6 MB, free: 3.344 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.056e-05/0.5006, allocations: 158.4 kB / 372.7 MB, free: 3.188 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.455e-06/0.5006, allocations: 4 kB / 372.7 MB, free: 3.184 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.256e-06/0.5006, allocations: 0 / 372.7 MB, free: 3.184 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001285/0.5007, allocations: 318.8 kB / 373 MB, free: 2.863 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.472e-05/0.5007, allocations: 4 kB / 373 MB, free: 2.859 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.126e-05/0.5008, allocations: 4 kB / 373 MB, free: 2.855 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001264/0.5009, allocations: 7.984 kB / 373 MB, free: 2.848 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.5009, allocations: 0 / 373 MB, free: 2.848 MB / 314.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001733/0.5011, allocations: 49.62 kB / 373.1 MB, free: 2.793 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/0.5011, allocations: 8.125 kB / 373.1 MB, free: 2.785 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.5012, allocations: 4 kB / 373.1 MB, free: 2.781 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/0.5012, allocations: 3.984 kB / 373.1 MB, free: 2.777 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.32e-05/0.5012, allocations: 0 / 373.1 MB, free: 2.777 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.5013, allocations: 0 / 373.1 MB, free: 2.777 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.086e-05/0.5013, allocations: 4 kB / 373.1 MB, free: 2.773 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.782e-05/0.5014, allocations: 320 / 373.1 MB, free: 2.773 MB / 314.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.0001351/0.5015, allocations: 184 kB / 373.3 MB, free: 2.586 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.79e-05/0.5016, allocations: 135.1 kB / 373.4 MB, free: 2.441 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.875e-05/0.5017, allocations: 113 kB / 373.5 MB, free: 2.324 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.349e-05/0.5018, allocations: 109 kB / 373.6 MB, free: 2.211 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.24e-05/0.5019, allocations: 184.1 kB / 373.8 MB, free: 2.023 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.582e-05/0.5019, allocations: 180.3 kB / 374 MB, free: 1.84 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.83e-05/0.502, allocations: 184.2 kB / 374.2 MB, free: 1.652 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002632/0.5023, allocations: 393.7 kB / 374.6 MB, free: 1.223 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-05/0.5024, allocations: 101 kB / 374.7 MB, free: 1.117 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.531e-05/0.5024, allocations: 101 kB / 374.8 MB, free: 1.012 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.903e-05/0.5025, allocations: 188.2 kB / 374.9 MB, free: 0.8203 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.198e-05/0.5026, allocations: 176.3 kB / 375.1 MB, free: 0.6406 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.353e-05/0.5027, allocations: 180.2 kB / 375.3 MB, free: 468 kB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.041e-05/0.5028, allocations: 184.2 kB / 375.5 MB, free: 276 kB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001991/0.503, allocations: 307.7 kB / 375.8 MB, free: 15.95 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001025/0.5031, allocations: 190 kB / 375.9 MB, free: 15.73 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.887e-05/0.5032, allocations: 177.5 kB / 376.1 MB, free: 15.55 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001514/0.5034, allocations: 109 kB / 376.2 MB, free: 15.44 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.785e-05/0.5035, allocations: 184.2 kB / 376.4 MB, free: 15.25 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.148e-05/0.5035, allocations: 108.9 kB / 376.5 MB, free: 15.14 MB / 330.7 MB Notification: Performance of sorting global known variables: time 9.108e-05/0.5036, allocations: 99.25 kB / 376.6 MB, free: 15.04 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.5036, allocations: 0 / 376.6 MB, free: 15.04 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004964/0.5041, allocations: 51.94 kB / 376.7 MB, free: 14.99 MB / 330.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.001009/0.5051, allocations: 0.9033 MB / 377.6 MB, free: 14.07 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 9.522e-05/0.5053, allocations: 4 kB / 377.6 MB, free: 14.07 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.5053, allocations: 0 / 377.6 MB, free: 14.07 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.655e-06/0.5053, allocations: 3.938 kB / 377.6 MB, free: 14.07 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004128/0.5057, allocations: 0.5341 MB / 378.1 MB, free: 13.53 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004868/0.5062, allocations: 208.5 kB / 378.3 MB, free: 13.28 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002829/0.5065, allocations: 0.6845 MB / 379 MB, free: 12.57 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.125e-05/0.5066, allocations: 15.42 kB / 379 MB, free: 12.56 MB / 330.7 MB Notification: Performance of SimCode: time 6.62e-07/0.5066, allocations: 0 / 379 MB, free: 12.56 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.417/2.923, allocations: 1.397 MB / 380.4 MB, free: 11.16 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine_res.mat does not exist to compare? outputFormat=mat