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.944/1.944, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.424e-05/4.439e-05, allocations: 0 / 225.1 MB, free: 2.238 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3569/0.357, allocations: 38.77 MB / 263.9 MB, free: 9.699 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1246/0.4817, allocations: 66.82 MB / 330.7 MB, free: 6.781 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002774/0.482, allocations: 67.97 kB / 330.8 MB, free: 6.715 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02563/0.5077, allocations: 5.18 MB / 335.9 MB, free: 1.527 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.5077, allocations: 0 / 335.9 MB, free: 1.527 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.304e-06/0.5078, allocations: 0 / 335.9 MB, free: 1.527 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.0003965/0.5082, allocations: 354.3 kB / 336.3 MB, free: 1.137 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.357e-05/0.5082, allocations: 8.031 kB / 336.3 MB, free: 1.129 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.73e-05/0.5083, allocations: 38.56 kB / 336.3 MB, free: 1.082 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.287e-05/0.5083, allocations: 0 / 336.3 MB, free: 1.082 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001555/0.5085, allocations: 167.1 kB / 336.5 MB, free: 0.8789 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/0.5085, allocations: 0 / 336.5 MB, free: 0.8789 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.326e-06/0.5085, allocations: 0 / 336.5 MB, free: 0.8789 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001091/0.5087, allocations: 37.64 kB / 336.5 MB, free: 0.8359 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.5087, allocations: 0 / 336.5 MB, free: 0.8359 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.5087, allocations: 7.875 kB / 336.5 MB, free: 0.8281 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.5087, allocations: 0 / 336.5 MB, free: 0.8281 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.095e-05/0.5088, allocations: 11.94 kB / 336.6 MB, free: 0.8164 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004398/0.5092, allocations: 400 kB / 336.9 MB, free: 380 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.498e-05/0.5093, allocations: 165.1 kB / 337.1 MB, free: 204 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.371e-05/0.5094, allocations: 84.14 kB / 337.2 MB, free: 116 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.224e-05/0.5094, allocations: 75.84 kB / 337.3 MB, free: 40 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.069e-05/0.5095, allocations: 117.8 kB / 337.4 MB, free: 15.91 MB / 298.7 MB Notification: Performance of pre-optimization done (n=0): time 1.473e-06/0.5095, allocations: 0 / 337.4 MB, free: 15.91 MB / 298.7 MB Notification: Performance of matching and sorting (n=0): time 8.629e-05/0.5096, allocations: 29.61 kB / 337.4 MB, free: 15.88 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.034e-05/0.5097, allocations: 152.4 kB / 337.6 MB, free: 15.71 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001349/0.5099, allocations: 113 kB / 337.7 MB, free: 15.59 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.19e-05/0.5099, allocations: 25.7 kB / 337.7 MB, free: 15.56 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.749e-05/0.51, allocations: 84.08 kB / 337.8 MB, free: 15.48 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.226e-06/0.51, allocations: 0 / 337.8 MB, free: 15.48 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.346e-06/0.51, allocations: 0 / 337.8 MB, free: 15.48 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001335/0.5102, allocations: 326.8 kB / 338.1 MB, free: 15.15 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.445e-05/0.5102, allocations: 0 / 338.1 MB, free: 15.15 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.477e-05/0.5102, allocations: 4 kB / 338.1 MB, free: 15.14 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.736e-05/0.5103, allocations: 4 kB / 338.1 MB, free: 15.14 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.5103, allocations: 0 / 338.1 MB, free: 15.14 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001373/0.5104, allocations: 53.48 kB / 338.1 MB, free: 15.08 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.5104, allocations: 4 kB / 338.2 MB, free: 15.08 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.5105, allocations: 0 / 338.2 MB, free: 15.08 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.5105, allocations: 4.125 kB / 338.2 MB, free: 15.07 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.611e-05/0.5105, allocations: 4 kB / 338.2 MB, free: 15.07 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.5106, allocations: 0 / 338.2 MB, free: 15.07 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.493e-05/0.5106, allocations: 4 kB / 338.2 MB, free: 15.07 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.861e-05/0.5107, allocations: 0 / 338.2 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.0001066/0.5108, allocations: 180.3 kB / 338.3 MB, free: 14.88 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.814e-05/0.5109, allocations: 108.8 kB / 338.4 MB, free: 14.77 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.669e-05/0.5109, allocations: 120.6 kB / 338.6 MB, free: 14.65 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.667e-05/0.511, allocations: 184.3 kB / 338.7 MB, free: 14.46 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.941e-05/0.5111, allocations: 176.3 kB / 338.9 MB, free: 14.28 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.564e-05/0.5112, allocations: 184.2 kB / 339.1 MB, free: 14.09 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002825/0.5115, allocations: 409.2 kB / 339.5 MB, free: 13.64 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.645e-05/0.5116, allocations: 104.9 kB / 339.6 MB, free: 13.53 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.777e-05/0.5116, allocations: 112.9 kB / 339.7 MB, free: 13.41 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.026e-05/0.5117, allocations: 180.2 kB / 339.9 MB, free: 13.23 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.486e-05/0.5118, allocations: 176.3 kB / 340.1 MB, free: 13.05 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.45e-05/0.5119, allocations: 180.2 kB / 340.2 MB, free: 12.86 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.381e-05/0.512, allocations: 184.2 kB / 340.4 MB, free: 12.68 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001624/0.5122, allocations: 307.8 kB / 340.7 MB, free: 12.35 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.458e-05/0.5123, allocations: 186 kB / 340.9 MB, free: 12.14 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.474e-05/0.5124, allocations: 184.2 kB / 341.1 MB, free: 11.96 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001255/0.5125, allocations: 108.9 kB / 341.2 MB, free: 11.84 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.869e-05/0.5126, allocations: 180.3 kB / 341.4 MB, free: 11.66 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.155e-05/0.5127, allocations: 109 kB / 341.5 MB, free: 11.55 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.659e-05/0.5128, allocations: 95.58 kB / 341.6 MB, free: 11.45 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.5128, allocations: 0 / 341.6 MB, free: 11.45 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004981/0.5133, 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.0009876/0.5143, allocations: 0.9083 MB / 342.5 MB, free: 10.49 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8e-05/0.5144, allocations: 4 kB / 342.5 MB, free: 10.49 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.5144, allocations: 4.062 kB / 342.5 MB, free: 10.48 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.12e-06/0.5144, allocations: 4 kB / 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.0003593/0.5148, allocations: 0.5301 MB / 343.1 MB, free: 9.945 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000434/0.5152, allocations: 181.9 kB / 343.2 MB, free: 9.73 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002836/0.5155, allocations: 0.6809 MB / 343.9 MB, free: 9.023 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.603e-05/0.5156, allocations: 11.98 kB / 343.9 MB, free: 9.012 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.918e-05/0.5156, allocations: 11.44 kB / 343.9 MB, free: 9 MB / 298.7 MB Notification: Performance of SimCode: time 2.835e-06/0.5156, allocations: 0 / 343.9 MB, free: 9 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02121/0.5369, allocations: 1.797 MB / 345.7 MB, free: 7.246 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002808/0.5372, allocations: 207.2 kB / 345.9 MB, free: 7.02 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.352/2.889, allocations: 0 / 345.9 MB, free: 7.02 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