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.004/2.004, allocations: 194.9 MB / 208.4 MB, free: 3.25 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.103e-05/4.065e-05, allocations: 7.094 kB / 255.4 MB, free: 3.09 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1013/0.1014, allocations: 44.51 MB / 300 MB, free: 6.527 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3979/0.4993, allocations: 72.17 MB / 372.1 MB, free: 21.66 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002919/0.4997, allocations: 69 kB / 372.2 MB, free: 21.66 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03141/0.5311, allocations: 5.178 MB / 377.4 MB, free: 21.12 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.5312, allocations: 1.25 kB / 377.4 MB, free: 21.12 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.815e-06/0.5312, allocations: 0 / 377.4 MB, free: 21.12 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.0003111/0.5315, allocations: 351.9 kB / 377.7 MB, free: 20.76 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.935e-05/0.5316, allocations: 9.312 kB / 377.7 MB, free: 20.76 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.553e-05/0.5316, allocations: 34.5 kB / 377.8 MB, free: 20.71 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.835e-05/0.5316, allocations: 6.656 kB / 377.8 MB, free: 20.71 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001145/0.5318, allocations: 171.2 kB / 377.9 MB, free: 20.51 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.189e-05/0.5318, allocations: 0 / 377.9 MB, free: 20.51 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.688e-06/0.5318, allocations: 5.203 kB / 377.9 MB, free: 20.5 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.648e-05/0.5319, allocations: 35.39 kB / 378 MB, free: 20.47 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.5319, allocations: 0 / 378 MB, free: 20.47 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.532, allocations: 1.062 kB / 378 MB, free: 20.47 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.532, allocations: 0 / 378 MB, free: 20.47 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.692e-05/0.532, allocations: 3.219 kB / 378 MB, free: 20.47 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000291/0.5323, allocations: 401.5 kB / 378.4 MB, free: 20.05 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.216e-05/0.5324, allocations: 172.3 kB / 378.5 MB, free: 19.88 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.099e-05/0.5324, allocations: 84.14 kB / 378.6 MB, free: 19.79 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.457e-05/0.5324, allocations: 76.62 kB / 378.7 MB, free: 19.72 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.469e-05/0.5325, allocations: 114.6 kB / 378.8 MB, free: 19.6 MB / 314.7 MB Notification: Performance of pre-optimization done (n=0): time 1.453e-06/0.5325, allocations: 0 / 378.8 MB, free: 19.6 MB / 314.7 MB Notification: Performance of matching and sorting (n=0): time 7.062e-05/0.5326, allocations: 26.8 kB / 378.8 MB, free: 19.57 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.935e-05/0.5326, allocations: 159.3 kB / 379 MB, free: 19.4 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.622e-05/0.5327, allocations: 106.9 kB / 379.1 MB, free: 19.31 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.298e-05/0.5328, allocations: 30.73 kB / 379.1 MB, free: 19.27 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.307e-05/0.5328, allocations: 160.1 kB / 379.3 MB, free: 19.12 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.394e-06/0.5328, allocations: 0 / 379.3 MB, free: 19.12 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.316e-06/0.5328, allocations: 4 kB / 379.3 MB, free: 19.11 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.759e-05/0.5329, allocations: 316.4 kB / 379.6 MB, free: 18.8 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.492e-05/0.5329, allocations: 6.281 kB / 379.6 MB, free: 18.8 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.319e-05/0.533, allocations: 3 kB / 379.6 MB, free: 18.8 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.348e-05/0.533, allocations: 4.453 kB / 379.6 MB, free: 18.8 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.533, allocations: 0 / 379.6 MB, free: 18.8 MB / 314.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001058/0.5331, allocations: 37.66 kB / 379.6 MB, free: 18.77 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.5332, allocations: 5.531 kB / 379.6 MB, free: 18.77 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.5332, allocations: 4.125 kB / 379.7 MB, free: 18.76 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.5332, allocations: 1.281 kB / 379.7 MB, free: 18.76 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.601e-05/0.5332, allocations: 3.656 kB / 379.7 MB, free: 18.76 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.5333, allocations: 3.938 kB / 379.7 MB, free: 18.76 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.633e-05/0.5333, allocations: 1.094 kB / 379.7 MB, free: 18.76 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.748e-05/0.5334, allocations: 6.219 kB / 379.7 MB, free: 18.75 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 6.931e-05/0.5334, allocations: 181.3 kB / 379.8 MB, free: 18.57 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.147e-05/0.5335, allocations: 104.9 kB / 379.9 MB, free: 18.46 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.687e-05/0.5335, allocations: 112.8 kB / 380.1 MB, free: 18.35 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.529e-05/0.5336, allocations: 188.8 kB / 380.2 MB, free: 18.16 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.275e-05/0.5336, allocations: 176.3 kB / 380.4 MB, free: 17.98 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-05/0.5337, allocations: 179 kB / 380.6 MB, free: 17.8 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001767/0.5339, allocations: 411.8 kB / 381 MB, free: 17.36 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.09e-05/0.5339, allocations: 108.4 kB / 381.1 MB, free: 17.25 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.961e-05/0.5339, allocations: 102.5 kB / 381.2 MB, free: 17.14 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.199e-05/0.534, allocations: 180.2 kB / 381.4 MB, free: 16.96 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.569e-05/0.534, allocations: 179.5 kB / 381.5 MB, free: 16.78 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005589/0.5346, allocations: 177.8 kB / 381.7 MB, free: 32.6 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.661e-05/0.5347, allocations: 184.2 kB / 381.9 MB, free: 32.41 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001401/0.5348, allocations: 309.6 kB / 382.2 MB, free: 32.1 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.117e-05/0.5349, allocations: 189.5 kB / 382.4 MB, free: 31.89 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.271e-05/0.535, allocations: 177.7 kB / 382.6 MB, free: 31.71 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001186/0.5351, allocations: 106.1 kB / 382.7 MB, free: 31.61 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.769e-05/0.5352, allocations: 187.6 kB / 382.8 MB, free: 31.42 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.905e-05/0.5353, allocations: 105 kB / 383 MB, free: 31.31 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.536e-05/0.5354, allocations: 94.39 kB / 383 MB, free: 31.23 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.5354, allocations: 1.219 kB / 383 MB, free: 31.23 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005021/0.5359, allocations: 55.55 kB / 383.1 MB, free: 31.21 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.0009009/0.5368, allocations: 0.9173 MB / 384 MB, free: 30.37 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 7.5e-05/0.5369, allocations: 8.125 kB / 384 MB, free: 30.37 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.125e-06/0.5369, allocations: 0 / 384 MB, free: 30.37 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.006e-06/0.5369, allocations: 1.375 kB / 384 MB, free: 30.37 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003393/0.5373, allocations: 0.5215 MB / 384.5 MB, free: 29.85 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004364/0.5377, allocations: 213 kB / 384.8 MB, free: 29.62 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002484/0.538, allocations: 0.6863 MB / 385.4 MB, free: 28.92 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.22e-05/0.538, allocations: 12.86 kB / 385.5 MB, free: 28.91 MB / 330.7 MB Notification: Performance of SimCode: time 6.92e-07/0.538, allocations: 0 / 385.5 MB, free: 28.91 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.51/3.048, allocations: 1.379 MB / 386.8 MB, free: 28.77 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