Running command: "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.817/1.817, allocations: 171.2 MB / 183.8 MB, free: 12.02 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 5.599e-05/5.613e-05, allocations: 8 kB / 225.1 MB, free: 2.695 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2745/0.2746, allocations: 38.77 MB / 263.8 MB, free: 9.859 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1259/0.4005, allocations: 66.82 MB / 330.7 MB, free: 6.945 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003035/0.4009, allocations: 71.95 kB / 330.7 MB, free: 6.875 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02683/0.4278, allocations: 5.176 MB / 335.9 MB, free: 1.691 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.4278, allocations: 0 / 335.9 MB, free: 1.691 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.037e-06/0.4279, allocations: 4 kB / 335.9 MB, free: 1.688 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.0004689/0.4283, allocations: 358.3 kB / 336.3 MB, free: 1.293 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.363e-05/0.4284, allocations: 8.031 kB / 336.3 MB, free: 1.285 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.08e-05/0.4284, allocations: 30.56 kB / 336.3 MB, free: 1.246 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.884e-05/0.4285, allocations: 0 / 336.3 MB, free: 1.246 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001577/0.4287, allocations: 163.1 kB / 336.5 MB, free: 1.047 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.4287, allocations: 0 / 336.5 MB, free: 1.047 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.49e-05/0.4287, allocations: 4 kB / 336.5 MB, free: 1.043 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001065/0.4288, allocations: 45.64 kB / 336.5 MB, free: 0.9922 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.4288, allocations: 3.938 kB / 336.5 MB, free: 0.9883 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.335e-05/0.4289, allocations: 3.938 kB / 336.5 MB, free: 0.9844 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.209e-06/0.4289, allocations: 3.938 kB / 336.5 MB, free: 0.9805 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.868e-05/0.4289, allocations: 4 kB / 336.5 MB, free: 0.9766 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000417/0.4294, allocations: 396 kB / 336.9 MB, free: 0.5352 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.756e-05/0.4295, allocations: 173.1 kB / 337.1 MB, free: 364 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.776e-05/0.4295, allocations: 80.14 kB / 337.2 MB, free: 280 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.221e-05/0.4296, allocations: 75.28 kB / 337.2 MB, free: 204 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.916e-05/0.4296, allocations: 114.2 kB / 337.3 MB, free: 80 kB / 282.7 MB Notification: Performance of pre-optimization done (n=0): time 2.184e-06/0.4296, allocations: 0 / 337.3 MB, free: 80 kB / 282.7 MB Notification: Performance of matching and sorting (n=0): time 8.782e-05/0.4297, allocations: 33.61 kB / 337.4 MB, free: 40 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001055/0.4299, allocations: 160.4 kB / 337.5 MB, free: 15.86 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001273/0.43, allocations: 101 kB / 337.6 MB, free: 15.76 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.093e-05/0.43, allocations: 25.7 kB / 337.7 MB, free: 15.73 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.993e-05/0.4301, allocations: 162.5 kB / 337.8 MB, free: 15.57 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.88e-06/0.4301, allocations: 3.984 kB / 337.8 MB, free: 15.56 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.006e-06/0.4302, allocations: 0 / 337.8 MB, free: 15.56 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001235/0.4303, allocations: 310.8 kB / 338.1 MB, free: 15.25 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.475e-05/0.4303, allocations: 0 / 338.1 MB, free: 15.25 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.206e-05/0.4304, allocations: 15.98 kB / 338.1 MB, free: 15.23 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.664e-05/0.4304, allocations: 4 kB / 338.1 MB, free: 15.23 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.4304, allocations: 0 / 338.1 MB, free: 15.23 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001284/0.4305, allocations: 41.59 kB / 338.2 MB, free: 15.18 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.4306, allocations: 4 kB / 338.2 MB, free: 15.18 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.4306, allocations: 4.297 kB / 338.2 MB, free: 15.18 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.4306, allocations: 0 / 338.2 MB, free: 15.18 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.132e-05/0.4307, allocations: 8 kB / 338.2 MB, free: 15.17 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.4307, allocations: 128 / 338.2 MB, free: 15.17 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.545e-05/0.4308, allocations: 4 kB / 338.2 MB, free: 15.16 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.118e-05/0.4308, allocations: 3.984 kB / 338.2 MB, free: 15.16 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.0001209/0.4309, allocations: 188.3 kB / 338.4 MB, free: 14.97 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.611e-05/0.431, allocations: 108.8 kB / 338.5 MB, free: 14.86 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.661e-05/0.4311, allocations: 116.6 kB / 338.6 MB, free: 14.73 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.949e-05/0.4312, allocations: 176.3 kB / 338.8 MB, free: 14.55 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-05/0.4313, allocations: 180.3 kB / 339 MB, free: 14.37 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.195e-05/0.4313, allocations: 180.2 kB / 339.1 MB, free: 14.19 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002788/0.4316, allocations: 405.2 kB / 339.5 MB, free: 13.73 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.653e-05/0.4317, allocations: 108.9 kB / 339.6 MB, free: 13.62 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.527e-05/0.4318, allocations: 108.9 kB / 339.7 MB, free: 13.51 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.421e-05/0.4318, allocations: 184.2 kB / 339.9 MB, free: 13.32 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.233e-05/0.4319, allocations: 176.3 kB / 340.1 MB, free: 13.14 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001157/0.432, allocations: 184.2 kB / 340.3 MB, free: 12.95 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.451e-05/0.4321, allocations: 184.2 kB / 340.5 MB, free: 12.77 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001683/0.4323, allocations: 303.8 kB / 340.8 MB, free: 12.45 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.265e-05/0.4324, allocations: 182.1 kB / 340.9 MB, free: 12.24 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.668e-05/0.4325, allocations: 188.2 kB / 341.1 MB, free: 12.05 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001439/0.4327, allocations: 114.2 kB / 341.2 MB, free: 11.93 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.914e-05/0.4328, allocations: 180.2 kB / 341.4 MB, free: 11.75 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.999e-05/0.4328, allocations: 101 kB / 341.5 MB, free: 11.64 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.929e-05/0.4329, allocations: 95.27 kB / 341.6 MB, free: 11.55 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.4329, allocations: 4 kB / 341.6 MB, free: 11.55 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004727/0.4334, allocations: 51.94 kB / 341.6 MB, free: 11.5 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.0009837/0.4344, allocations: 0.9014 MB / 342.6 MB, free: 10.58 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.632e-05/0.4345, allocations: 4 kB / 342.6 MB, free: 10.58 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.4345, allocations: 0 / 342.6 MB, free: 10.58 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.645e-06/0.4346, allocations: 0 / 342.6 MB, free: 10.58 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003671/0.4349, allocations: 0.5359 MB / 343.1 MB, free: 10.04 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004764/0.4354, allocations: 207.5 kB / 343.3 MB, free: 9.793 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000284/0.4357, allocations: 0.6809 MB / 344 MB, free: 9.086 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.846e-05/0.4358, allocations: 15.44 kB / 344 MB, free: 9.07 MB / 298.7 MB Notification: Performance of SimCode: time 1.012e-06/0.4358, allocations: 4 kB / 344 MB, free: 9.066 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.445/2.88, allocations: 1.37 MB / 345.4 MB, free: 7.695 MB / 298.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine_res.mat does not exist to compare? outputFormat=mat