Running command: "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.146/2.146, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.999e-05/4.017e-05, allocations: 7.797 kB / 292.2 MB, free: 8.227 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1193, allocations: 50.41 MB / 342.6 MB, free: 5.793 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4601/0.5794, allocations: 76.37 MB / 419 MB, free: 1.441 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002773/0.5797, allocations: 70.16 kB / 419.1 MB, free: 1.406 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02763/0.6074, allocations: 5.206 MB / 424.3 MB, free: 12.98 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.973e-06/0.6074, allocations: 0 / 424.3 MB, free: 12.98 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.195e-06/0.6075, allocations: 0 / 424.3 MB, free: 12.98 MB / 346.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.0004276/0.6079, allocations: 353.7 kB / 424.6 MB, free: 12.6 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.333e-05/0.608, allocations: 8.031 kB / 424.6 MB, free: 12.59 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.965e-05/0.608, allocations: 30.56 kB / 424.7 MB, free: 12.55 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.15e-05/0.6081, allocations: 7.953 kB / 424.7 MB, free: 12.54 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000137/0.6082, allocations: 167 kB / 424.8 MB, free: 12.34 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/0.6083, allocations: 0 / 424.8 MB, free: 12.34 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.356e-05/0.6083, allocations: 0 / 424.8 MB, free: 12.34 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000127/0.6084, allocations: 40.56 kB / 424.9 MB, free: 12.3 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.6084, allocations: 4 kB / 424.9 MB, free: 12.29 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.351e-05/0.6085, allocations: 0 / 424.9 MB, free: 12.29 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.6085, allocations: 3.953 kB / 424.9 MB, free: 12.29 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.991e-05/0.6085, allocations: 4 kB / 424.9 MB, free: 12.29 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005964/0.6091, allocations: 468.5 kB / 425.3 MB, free: 11.76 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.349e-05/0.6092, allocations: 168.3 kB / 425.5 MB, free: 11.59 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.358e-05/0.6093, allocations: 88.06 kB / 425.6 MB, free: 11.5 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.757e-05/0.6093, allocations: 75.28 kB / 425.7 MB, free: 11.43 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.304e-05/0.6094, allocations: 113.8 kB / 425.8 MB, free: 11.3 MB / 346.7 MB Notification: Performance of pre-optimization done (n=0): time 1.984e-06/0.6094, allocations: 0 / 425.8 MB, free: 11.3 MB / 346.7 MB Notification: Performance of matching and sorting (n=0): time 9.125e-05/0.6095, allocations: 29.66 kB / 425.8 MB, free: 11.27 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.419e-05/0.6096, allocations: 152.4 kB / 426 MB, free: 11.1 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001238/0.6097, allocations: 103.4 kB / 426.1 MB, free: 11 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.021e-05/0.6098, allocations: 25.7 kB / 426.1 MB, free: 10.97 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.029e-05/0.6098, allocations: 87.56 kB / 426.2 MB, free: 10.88 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.565e-06/0.6099, allocations: 0 / 426.2 MB, free: 10.88 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.516e-06/0.6099, allocations: 7.938 kB / 426.2 MB, free: 10.88 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001113/0.61, allocations: 310.8 kB / 426.5 MB, free: 10.56 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.673e-05/0.61, allocations: 4 kB / 426.5 MB, free: 10.56 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.343e-05/0.6101, allocations: 11.88 kB / 426.5 MB, free: 10.55 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.473e-05/0.6101, allocations: 0 / 426.5 MB, free: 10.55 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.6101, allocations: 0 / 426.5 MB, free: 10.55 MB / 346.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001311/0.6102, allocations: 44.97 kB / 426.5 MB, free: 10.5 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/0.6103, allocations: 4 kB / 426.5 MB, free: 10.5 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.6103, allocations: 4.125 kB / 426.6 MB, free: 10.49 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.908e-05/0.6103, allocations: 7.953 kB / 426.6 MB, free: 10.48 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.635e-05/0.6104, allocations: 0 / 426.6 MB, free: 10.48 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.6104, allocations: 0 / 426.6 MB, free: 10.48 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.77e-05/0.6105, allocations: 0 / 426.6 MB, free: 10.48 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.79e-05/0.6105, allocations: 4 kB / 426.6 MB, free: 10.48 MB / 346.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.0001084/0.6106, allocations: 176.3 kB / 426.7 MB, free: 10.3 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.543e-05/0.6107, allocations: 108.9 kB / 426.8 MB, free: 10.19 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.372e-05/0.6108, allocations: 112.6 kB / 427 MB, free: 10.07 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.257e-05/0.6109, allocations: 179.5 kB / 427.1 MB, free: 9.891 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.051e-05/0.611, allocations: 184.2 kB / 427.3 MB, free: 9.703 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-05/0.611, allocations: 184.3 kB / 427.5 MB, free: 9.516 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002601/0.6113, allocations: 399.6 kB / 427.9 MB, free: 9.07 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.692e-05/0.6114, allocations: 116.9 kB / 428 MB, free: 8.949 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.924e-05/0.6114, allocations: 101 kB / 428.1 MB, free: 8.844 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.643e-05/0.6115, allocations: 176.3 kB / 428.3 MB, free: 8.664 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.282e-05/0.6116, allocations: 182.5 kB / 428.4 MB, free: 8.48 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.981e-05/0.6117, allocations: 183.1 kB / 428.6 MB, free: 8.297 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.504e-05/0.6117, allocations: 176.3 kB / 428.8 MB, free: 8.117 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001665/0.6119, allocations: 315.5 kB / 429.1 MB, free: 7.789 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.985e-05/0.612, allocations: 178.1 kB / 429.3 MB, free: 7.59 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.995e-05/0.6121, allocations: 188.4 kB / 429.5 MB, free: 7.398 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001447/0.6123, allocations: 105 kB / 429.6 MB, free: 7.289 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.685e-05/0.6124, allocations: 184.2 kB / 429.7 MB, free: 7.102 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.836e-05/0.6124, allocations: 104.9 kB / 429.8 MB, free: 6.992 MB / 346.7 MB Notification: Performance of sorting global known variables: time 8.671e-05/0.6125, allocations: 90.73 kB / 429.9 MB, free: 6.906 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.6125, allocations: 0 / 429.9 MB, free: 6.906 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004485/0.613, allocations: 51.67 kB / 430 MB, free: 6.859 MB / 346.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.0009297/0.6139, allocations: 0.8887 MB / 430.9 MB, free: 5.957 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 9.867e-05/0.6141, allocations: 4 kB / 430.9 MB, free: 5.953 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.194e-06/0.6141, allocations: 3.938 kB / 430.9 MB, free: 5.949 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.462e-06/0.6141, allocations: 11.94 kB / 430.9 MB, free: 5.938 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003505/0.6145, allocations: 0.5219 MB / 431.4 MB, free: 5.414 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004682/0.6149, allocations: 173.9 kB / 431.6 MB, free: 5.207 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002569/0.6152, allocations: 0.6809 MB / 432.3 MB, free: 4.5 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001106/0.6153, allocations: 15.97 kB / 432.3 MB, free: 4.484 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.569e-05/0.6154, allocations: 11.12 kB / 432.3 MB, free: 4.477 MB / 346.7 MB Notification: Performance of SimCode: time 1.352e-06/0.6154, allocations: 4 kB / 432.3 MB, free: 4.473 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02578/0.6412, allocations: 1.541 MB / 433.8 MB, free: 3.012 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000405/0.6417, allocations: 208.1 kB / 434 MB, free: 2.789 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.489/3.13, allocations: 0 / 434 MB, free: 2.789 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine_res.mat does not exist to compare? outputFormat=mat