Running command: "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine,fileNamePrefix="Modelica_3_2_2_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.027/2.027, allocations: 194.9 MB / 208 MB, free: 3.238 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.99e-05/4.008e-05, allocations: 7.984 kB / 255.5 MB, free: 2.613 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1049, allocations: 44.51 MB / 300 MB, free: 6.039 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4337/0.5386, allocations: 72.18 MB / 372.2 MB, free: 22.13 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003012/0.539, allocations: 69.19 kB / 372.2 MB, free: 22.13 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02551/0.5645, allocations: 5.177 MB / 377.4 MB, free: 21.59 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.5646, allocations: 0 / 377.4 MB, free: 21.59 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.898e-06/0.5646, allocations: 1.344 kB / 377.4 MB, free: 21.59 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.0004114/0.565, allocations: 350.8 kB / 377.7 MB, free: 21.22 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.065e-05/0.5651, allocations: 10.19 kB / 377.8 MB, free: 21.22 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.476e-05/0.5651, allocations: 30.56 kB / 377.8 MB, free: 21.18 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.375e-05/0.5652, allocations: 1.062 kB / 377.8 MB, free: 21.18 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000148/0.5653, allocations: 180.2 kB / 378 MB, free: 20.98 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/0.5653, allocations: 4 kB / 378 MB, free: 20.97 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.367e-05/0.5654, allocations: 1.125 kB / 378 MB, free: 20.97 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001019/0.5655, allocations: 31.81 kB / 378 MB, free: 20.94 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.5655, allocations: 0 / 378 MB, free: 20.94 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.421e-05/0.5655, allocations: 1.5 kB / 378 MB, free: 20.94 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.5655, allocations: 0 / 378 MB, free: 20.94 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.91e-05/0.5656, allocations: 4.672 kB / 378 MB, free: 20.94 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003585/0.566, allocations: 400.5 kB / 378.4 MB, free: 20.52 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.16e-05/0.566, allocations: 170.5 kB / 378.6 MB, free: 20.35 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.515e-05/0.5661, allocations: 84.22 kB / 378.6 MB, free: 20.27 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.733e-05/0.5661, allocations: 76.83 kB / 378.7 MB, free: 20.19 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.396e-05/0.5661, allocations: 106.9 kB / 378.8 MB, free: 20.08 MB / 314.7 MB Notification: Performance of pre-optimization done (n=0): time 2.505e-06/0.5662, allocations: 9.078 kB / 378.8 MB, free: 20.07 MB / 314.7 MB Notification: Performance of matching and sorting (n=0): time 7.686e-05/0.5662, allocations: 26.83 kB / 378.9 MB, free: 20.04 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.179e-05/0.5663, allocations: 163.3 kB / 379 MB, free: 19.86 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001133/0.5664, allocations: 110.1 kB / 379.1 MB, free: 19.77 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.422e-05/0.5665, allocations: 26.89 kB / 379.2 MB, free: 19.74 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.248e-05/0.5665, allocations: 98.11 kB / 379.2 MB, free: 19.65 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.637e-06/0.5665, allocations: 1.156 kB / 379.2 MB, free: 19.65 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.016e-06/0.5665, allocations: 0 / 379.2 MB, free: 19.65 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.964e-05/0.5666, allocations: 319.9 kB / 379.6 MB, free: 19.33 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.691e-05/0.5667, allocations: 4.031 kB / 379.6 MB, free: 19.33 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.681e-05/0.5667, allocations: 6.906 kB / 379.6 MB, free: 19.33 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.492e-05/0.5667, allocations: 2.25 kB / 379.6 MB, free: 19.33 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.5667, allocations: 0 / 379.6 MB, free: 19.33 MB / 314.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001165/0.5669, allocations: 35.94 kB / 379.6 MB, free: 19.3 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/0.5669, allocations: 6.984 kB / 379.6 MB, free: 19.3 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.5669, allocations: 0 / 379.6 MB, free: 19.3 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.5669, allocations: 1.156 kB / 379.6 MB, free: 19.3 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.307e-05/0.567, allocations: 9.562 kB / 379.6 MB, free: 19.29 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.503e-06/0.567, allocations: 0 / 379.6 MB, free: 19.29 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.938e-05/0.5671, allocations: 1.094 kB / 379.6 MB, free: 19.29 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.914e-05/0.5671, allocations: 2.688 kB / 379.6 MB, free: 19.29 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 8.06e-05/0.5672, allocations: 189.5 kB / 379.8 MB, free: 19.11 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.701e-05/0.5673, allocations: 105.2 kB / 379.9 MB, free: 19 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.819e-05/0.5673, allocations: 105.7 kB / 380 MB, free: 18.89 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.928e-05/0.5674, allocations: 187 kB / 380.2 MB, free: 18.7 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.089e-05/0.5674, allocations: 181.5 kB / 380.4 MB, free: 18.52 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.971e-05/0.5675, allocations: 181.1 kB / 380.6 MB, free: 18.34 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001946/0.5677, allocations: 409.6 kB / 381 MB, free: 17.89 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.298e-05/0.5677, allocations: 106.2 kB / 381.1 MB, free: 17.79 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.561e-05/0.5678, allocations: 108.3 kB / 381.2 MB, free: 17.68 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.691e-05/0.5678, allocations: 176.3 kB / 381.3 MB, free: 17.5 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.301e-05/0.5679, allocations: 183.6 kB / 381.5 MB, free: 17.31 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-05/0.5679, allocations: 180.3 kB / 381.7 MB, free: 17.13 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006435/0.5685, allocations: 181.9 kB / 381.9 MB, free: 32.95 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001988/0.5688, allocations: 312.8 kB / 382.2 MB, free: 32.62 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001073/0.5689, allocations: 182.6 kB / 382.4 MB, free: 32.43 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001073/0.569, allocations: 184.1 kB / 382.5 MB, free: 32.24 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000138/0.5691, allocations: 102.2 kB / 382.6 MB, free: 32.14 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.102e-05/0.5693, allocations: 187.7 kB / 382.8 MB, free: 31.95 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.546e-05/0.5693, allocations: 112.4 kB / 382.9 MB, free: 31.84 MB / 330.7 MB Notification: Performance of sorting global known variables: time 9.016e-05/0.5694, allocations: 93.44 kB / 383 MB, free: 31.76 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.5694, allocations: 0 / 383 MB, free: 31.76 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005078/0.5699, allocations: 55.62 kB / 383.1 MB, free: 31.75 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.001061/0.571, allocations: 0.9105 MB / 384 MB, free: 30.9 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 9.14e-05/0.5711, allocations: 4.375 kB / 384 MB, free: 30.9 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.5712, allocations: 4.062 kB / 384 MB, free: 30.9 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.765e-06/0.5712, allocations: 0 / 384 MB, free: 30.9 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000425/0.5716, allocations: 0.5195 MB / 384.5 MB, free: 30.38 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004222/0.572, allocations: 189.4 kB / 384.7 MB, free: 30.18 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003168/0.5724, allocations: 0.6786 MB / 385.4 MB, free: 29.49 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.835e-05/0.5724, allocations: 14.42 kB / 385.4 MB, free: 29.48 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.659e-05/0.5725, allocations: 10.47 kB / 385.4 MB, free: 29.48 MB / 330.7 MB Notification: Performance of SimCode: time 7.42e-07/0.5725, allocations: 0 / 385.4 MB, free: 29.48 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02133/0.5938, allocations: 1.786 MB / 387.2 MB, free: 29.19 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002786/0.5942, allocations: 209.1 kB / 387.4 MB, free: 28.96 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.484/3.078, allocations: 0 / 387.4 MB, free: 28.96 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine_res.mat does not exist to compare? outputFormat=mat