Running command: "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine,fileNamePrefix="Modelica_3_2_1_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.973/1.973, allocations: 171.2 MB / 183.3 MB, free: 12.03 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 5.115e-05/5.094e-05, allocations: 4 kB / 225.1 MB, free: 2.215 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3288/0.3289, allocations: 38.77 MB / 263.9 MB, free: 9.703 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1316/0.4605, allocations: 66.81 MB / 330.7 MB, free: 6.797 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002861/0.4609, allocations: 67.97 kB / 330.7 MB, free: 6.73 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02564/0.4865, allocations: 5.176 MB / 335.9 MB, free: 1.547 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.245e-06/0.4866, allocations: 0 / 335.9 MB, free: 1.547 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.335e-06/0.4866, allocations: 0 / 335.9 MB, free: 1.547 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.0004427/0.4871, allocations: 362.3 kB / 336.3 MB, free: 1.148 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.169e-05/0.4872, allocations: 16.03 kB / 336.3 MB, free: 1.133 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.613e-05/0.4872, allocations: 30.56 kB / 336.3 MB, free: 1.094 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.208e-05/0.4873, allocations: 0 / 336.3 MB, free: 1.094 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001655/0.4874, allocations: 163.1 kB / 336.5 MB, free: 0.8945 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.4875, allocations: 0 / 336.5 MB, free: 0.8945 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.456e-06/0.4875, allocations: 0 / 336.5 MB, free: 0.8945 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001118/0.4876, allocations: 41.64 kB / 336.5 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.4876, allocations: 3.938 kB / 336.5 MB, free: 0.8438 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.518e-05/0.4876, allocations: 4 kB / 336.5 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.4877, allocations: 4 kB / 336.5 MB, free: 0.8359 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.757e-05/0.4877, allocations: 0 / 336.5 MB, free: 0.8359 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004392/0.4881, allocations: 404 kB / 336.9 MB, free: 396 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001041/0.4883, allocations: 169.1 kB / 337.1 MB, free: 216 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.752e-05/0.4883, allocations: 84.69 kB / 337.2 MB, free: 128 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.716e-05/0.4884, allocations: 79.28 kB / 337.2 MB, free: 48 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.527e-05/0.4885, allocations: 105.8 kB / 337.3 MB, free: 15.93 MB / 298.7 MB Notification: Performance of pre-optimization done (n=0): time 1.593e-06/0.4885, allocations: 0 / 337.3 MB, free: 15.93 MB / 298.7 MB Notification: Performance of matching and sorting (n=0): time 8.857e-05/0.4886, allocations: 37.55 kB / 337.4 MB, free: 15.89 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.879e-05/0.4887, allocations: 156.4 kB / 337.5 MB, free: 15.72 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001345/0.4889, allocations: 105 kB / 337.6 MB, free: 15.61 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.344e-05/0.4889, allocations: 25.7 kB / 337.7 MB, free: 15.58 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.596e-05/0.489, allocations: 96.08 kB / 337.7 MB, free: 15.48 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.825e-06/0.489, allocations: 0 / 337.7 MB, free: 15.48 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.006e-06/0.489, allocations: 3.938 kB / 337.8 MB, free: 15.48 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001476/0.4892, allocations: 310.8 kB / 338.1 MB, free: 15.16 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.966e-05/0.4892, allocations: 7.984 kB / 338.1 MB, free: 15.16 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.251e-05/0.4892, allocations: 4 kB / 338.1 MB, free: 15.15 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.421e-05/0.4893, allocations: 4 kB / 338.1 MB, free: 15.15 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.4893, allocations: 0 / 338.1 MB, free: 15.15 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001358/0.4894, allocations: 53.59 kB / 338.1 MB, free: 15.09 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.4895, allocations: 4 kB / 338.1 MB, free: 15.09 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.4895, allocations: 3.984 kB / 338.1 MB, free: 15.08 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.4895, allocations: 4 kB / 338.1 MB, free: 15.08 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.252e-05/0.4896, allocations: 0 / 338.1 MB, free: 15.08 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/0.4896, allocations: 0 / 338.1 MB, free: 15.08 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.129e-05/0.4896, allocations: 0 / 338.1 MB, free: 15.08 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.171e-05/0.4897, allocations: 4 kB / 338.1 MB, free: 15.07 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.0001237/0.4898, allocations: 180.7 kB / 338.3 MB, free: 14.89 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.075e-05/0.4899, allocations: 108.9 kB / 338.4 MB, free: 14.78 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.2e-05/0.49, allocations: 119.8 kB / 338.5 MB, free: 14.66 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.922e-05/0.4901, allocations: 176.3 kB / 338.7 MB, free: 14.48 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.363e-05/0.4902, allocations: 188.2 kB / 338.9 MB, free: 14.29 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.286e-05/0.4903, allocations: 176.3 kB / 339.1 MB, free: 14.11 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003211/0.4906, allocations: 413.2 kB / 339.5 MB, free: 13.64 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.371e-05/0.4907, allocations: 108.9 kB / 339.6 MB, free: 13.53 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.205e-05/0.4908, allocations: 101 kB / 339.7 MB, free: 13.43 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.265e-05/0.4909, allocations: 188.2 kB / 339.9 MB, free: 13.23 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.844e-05/0.491, allocations: 176.3 kB / 340 MB, free: 13.05 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.475e-05/0.4911, allocations: 176.3 kB / 340.2 MB, free: 12.88 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.369e-05/0.4912, allocations: 188.2 kB / 340.4 MB, free: 12.68 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001875/0.4914, allocations: 303.8 kB / 340.7 MB, free: 12.36 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001166/0.4915, allocations: 190 kB / 340.9 MB, free: 12.15 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001065/0.4916, allocations: 188.2 kB / 341.1 MB, free: 11.96 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001357/0.4918, allocations: 112.9 kB / 341.2 MB, free: 11.84 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.834e-05/0.4919, allocations: 176.3 kB / 341.3 MB, free: 11.66 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.314e-05/0.4919, allocations: 108.9 kB / 341.4 MB, free: 11.55 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.41e-05/0.492, allocations: 99.58 kB / 341.5 MB, free: 11.45 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.492, allocations: 0 / 341.5 MB, free: 11.45 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004549/0.4925, allocations: 47.94 kB / 341.6 MB, free: 11.41 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.001065/0.4936, allocations: 0.9095 MB / 342.5 MB, free: 10.49 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.018e-05/0.4937, allocations: 7.938 kB / 342.5 MB, free: 10.48 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.4937, allocations: 3.938 kB / 342.5 MB, free: 10.48 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.965e-06/0.4937, allocations: 0 / 342.5 MB, free: 10.48 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003952/0.4941, allocations: 0.5264 MB / 343 MB, free: 9.945 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004603/0.4946, allocations: 189.8 kB / 343.2 MB, free: 9.723 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003602/0.495, allocations: 0.6809 MB / 343.9 MB, free: 9.016 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.618e-05/0.495, allocations: 7.938 kB / 343.9 MB, free: 9.008 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.399e-05/0.4951, allocations: 11.42 kB / 343.9 MB, free: 8.996 MB / 298.7 MB Notification: Performance of SimCode: time 7.62e-07/0.4951, allocations: 3.938 kB / 343.9 MB, free: 8.992 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02253/0.5176, allocations: 1.809 MB / 345.7 MB, free: 7.238 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004403/0.5182, allocations: 204.5 kB / 345.9 MB, free: 7.016 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.545/3.063, allocations: 0 / 345.9 MB, free: 7.016 MB / 298.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine_res.mat does not exist to compare? outputFormat=mat