Running command: "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.024/2.024, allocations: 205.8 MB / 218.9 MB, free: 9.27 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.063e-05/4.082e-05, allocations: 0 / 269.4 MB, free: 6.316 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1133, allocations: 47.57 MB / 317 MB, free: 6.656 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4337/0.5471, allocations: 76.45 MB / 393.5 MB, free: 11.23 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003074/0.5475, allocations: 72.08 kB / 393.5 MB, free: 11.2 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02832/0.5759, allocations: 5.211 MB / 398.7 MB, free: 6.754 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.5759, allocations: 0 / 398.7 MB, free: 6.754 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.006e-06/0.5759, allocations: 0 / 398.7 MB, free: 6.754 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.0005171/0.5765, allocations: 353.7 kB / 399.1 MB, free: 6.367 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.864e-05/0.5765, allocations: 8.031 kB / 399.1 MB, free: 6.359 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.053e-05/0.5766, allocations: 35.06 kB / 399.1 MB, free: 6.316 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.93e-05/0.5766, allocations: 7.906 kB / 399.1 MB, free: 6.309 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001853/0.5768, allocations: 167.8 kB / 399.3 MB, free: 6.105 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.314e-05/0.5769, allocations: 4 kB / 399.3 MB, free: 6.102 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.438e-05/0.5769, allocations: 7.953 kB / 399.3 MB, free: 6.094 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001128/0.577, allocations: 39.31 kB / 399.4 MB, free: 6.051 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.577, allocations: 0 / 399.4 MB, free: 6.051 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.5771, allocations: 0 / 399.4 MB, free: 6.051 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.697e-06/0.5771, allocations: 0 / 399.4 MB, free: 6.051 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.522e-05/0.5771, allocations: 13.42 kB / 399.4 MB, free: 6.039 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004756/0.5776, allocations: 402.9 kB / 399.8 MB, free: 5.602 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001005/0.5777, allocations: 165.6 kB / 399.9 MB, free: 5.43 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.807e-05/0.5778, allocations: 85.27 kB / 400 MB, free: 5.344 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.562e-05/0.5778, allocations: 76.03 kB / 400.1 MB, free: 5.27 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.021e-05/0.5779, allocations: 106.6 kB / 400.2 MB, free: 5.156 MB / 314.7 MB Notification: Performance of pre-optimization done (n=0): time 2.645e-06/0.5779, allocations: 0 / 400.2 MB, free: 5.156 MB / 314.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001025/0.578, allocations: 37.3 kB / 400.2 MB, free: 5.117 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.64e-05/0.5781, allocations: 153.2 kB / 400.4 MB, free: 4.949 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001509/0.5783, allocations: 107.3 kB / 400.5 MB, free: 4.844 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.562e-05/0.5783, allocations: 25.7 kB / 400.5 MB, free: 4.812 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.337e-05/0.5784, allocations: 90.92 kB / 400.6 MB, free: 4.723 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.965e-06/0.5784, allocations: 0 / 400.6 MB, free: 4.723 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.647e-06/0.5784, allocations: 0 / 400.6 MB, free: 4.723 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001431/0.5786, allocations: 312.7 kB / 400.9 MB, free: 4.41 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.131e-05/0.5786, allocations: 9.188 kB / 400.9 MB, free: 4.402 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.275e-05/0.5787, allocations: 12.67 kB / 400.9 MB, free: 4.391 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.735e-05/0.5787, allocations: 0.75 kB / 400.9 MB, free: 4.391 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.069e-06/0.5787, allocations: 3.953 kB / 400.9 MB, free: 4.387 MB / 314.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001415/0.5789, allocations: 35.45 kB / 401 MB, free: 4.348 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.214e-05/0.5789, allocations: 8 kB / 401 MB, free: 4.34 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.782e-06/0.5789, allocations: 0 / 401 MB, free: 4.34 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.579, allocations: 0 / 401 MB, free: 4.34 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.855e-05/0.579, allocations: 4.109 kB / 401 MB, free: 4.336 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.816e-06/0.5791, allocations: 4.547 kB / 401 MB, free: 4.332 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.977e-05/0.5791, allocations: 4 kB / 401 MB, free: 4.328 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.964e-05/0.5792, allocations: 0 / 401 MB, free: 4.328 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.0001284/0.5793, allocations: 177.1 kB / 401.1 MB, free: 4.148 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.746e-05/0.5794, allocations: 118.2 kB / 401.3 MB, free: 4.027 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.033e-05/0.5795, allocations: 113 kB / 401.4 MB, free: 3.906 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.725e-05/0.5796, allocations: 192.1 kB / 401.6 MB, free: 3.715 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.821e-05/0.5797, allocations: 180.2 kB / 401.7 MB, free: 3.531 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.726e-05/0.5798, allocations: 176.3 kB / 401.9 MB, free: 3.352 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003078/0.5801, allocations: 409.1 kB / 402.3 MB, free: 2.898 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.893e-05/0.5802, allocations: 104.9 kB / 402.4 MB, free: 2.789 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.659e-05/0.5802, allocations: 108.9 kB / 402.5 MB, free: 2.676 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.88e-05/0.5803, allocations: 188.2 kB / 402.7 MB, free: 2.484 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001155/0.5805, allocations: 180.2 kB / 402.9 MB, free: 2.301 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.954e-05/0.5806, allocations: 180.3 kB / 403.1 MB, free: 2.117 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-05/0.5806, allocations: 176.3 kB / 403.2 MB, free: 1.938 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002144/0.5809, allocations: 311.7 kB / 403.5 MB, free: 1.613 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001184/0.581, allocations: 182.1 kB / 403.7 MB, free: 1.41 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001138/0.5811, allocations: 188.1 kB / 403.9 MB, free: 1.219 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001624/0.5813, allocations: 101 kB / 404 MB, free: 1.113 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.988e-05/0.5814, allocations: 180.3 kB / 404.2 MB, free: 0.9297 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.8e-05/0.5815, allocations: 112.7 kB / 404.3 MB, free: 0.8164 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001096/0.5816, allocations: 95.45 kB / 404.4 MB, free: 0.7266 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.5816, allocations: 0 / 404.4 MB, free: 0.7266 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005228/0.5821, allocations: 55.92 kB / 404.4 MB, free: 0.6719 MB / 314.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.001196/0.5834, allocations: 0.9037 MB / 405.3 MB, free: 15.76 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001194/0.5835, allocations: 7.938 kB / 405.3 MB, free: 15.75 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.5835, allocations: 0 / 405.3 MB, free: 15.75 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.717e-06/0.5835, allocations: 4.062 kB / 405.3 MB, free: 15.75 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004091/0.584, allocations: 0.5262 MB / 405.9 MB, free: 15.22 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005724/0.5846, allocations: 182.5 kB / 406 MB, free: 15.01 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003383/0.5849, allocations: 0.677 MB / 406.7 MB, free: 14.3 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 7.304e-05/0.585, allocations: 11.91 kB / 406.7 MB, free: 14.29 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.143e-05/0.5851, allocations: 19.36 kB / 406.7 MB, free: 14.28 MB / 330.7 MB Notification: Performance of SimCode: time 1.513e-06/0.5851, allocations: 0 / 406.7 MB, free: 14.28 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02403/0.6091, allocations: 1.792 MB / 408.5 MB, free: 12.54 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003236/0.6095, allocations: 207.6 kB / 408.7 MB, free: 12.32 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.353/2.962, allocations: 4 kB / 408.7 MB, free: 12.31 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine_res.mat does not exist to compare? outputFormat=mat