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.063/2.063, allocations: 195 MB / 202.8 MB, free: 13.77 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.72e-05/2.718e-05, allocations: 4 kB / 249.7 MB, free: 14.82 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3131/0.3132, allocations: 44.5 MB / 294.2 MB, free: 14.34 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1351/0.4483, allocations: 71.51 MB / 365.7 MB, free: 10.32 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002903/0.4487, allocations: 71.95 kB / 365.8 MB, free: 10.25 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02645/0.4751, allocations: 5.16 MB / 371 MB, free: 5.09 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.314e-06/0.4752, allocations: 3.938 kB / 371 MB, free: 5.086 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.664e-06/0.4752, allocations: 0 / 371 MB, free: 5.086 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.0004394/0.4757, allocations: 346.4 kB / 371.3 MB, free: 4.703 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.299e-05/0.4758, allocations: 12.03 kB / 371.3 MB, free: 4.691 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.92e-05/0.4758, allocations: 4 kB / 371.3 MB, free: 4.688 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001757/0.476, allocations: 178.9 kB / 371.5 MB, free: 4.473 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.616e-05/0.476, allocations: 4 kB / 371.5 MB, free: 4.469 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.208e-05/0.476, allocations: 0 / 371.5 MB, free: 4.469 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.428e-05/0.4761, allocations: 7.938 kB / 371.5 MB, free: 4.461 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.595e-05/0.4762, allocations: 29.7 kB / 371.5 MB, free: 4.426 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.4762, allocations: 0 / 371.5 MB, free: 4.426 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/0.4762, allocations: 0 / 371.5 MB, free: 4.426 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.618e-06/0.4762, allocations: 0 / 371.5 MB, free: 4.426 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003913/0.4766, allocations: 380.6 kB / 371.9 MB, free: 4.016 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.343e-05/0.4767, allocations: 169.1 kB / 372.1 MB, free: 3.84 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.878e-05/0.4768, allocations: 80.14 kB / 372.1 MB, free: 3.758 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.505e-05/0.4768, allocations: 75.28 kB / 372.2 MB, free: 3.684 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.053e-05/0.4769, allocations: 118.5 kB / 372.3 MB, free: 3.559 MB / 314.7 MB Notification: Performance of pre-optimization done (n=0): time 1.713e-06/0.4769, allocations: 0 / 372.3 MB, free: 3.559 MB / 314.7 MB Notification: Performance of matching and sorting (n=0): time 8.9e-05/0.477, allocations: 29.7 kB / 372.4 MB, free: 3.523 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.645e-05/0.4771, allocations: 85.09 kB / 372.4 MB, free: 3.422 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001196/0.4772, allocations: 104.9 kB / 372.6 MB, free: 3.312 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.753e-05/0.4772, allocations: 25.7 kB / 372.6 MB, free: 3.281 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.881e-05/0.4773, allocations: 91.98 kB / 372.7 MB, free: 3.188 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.164e-06/0.4773, allocations: 0 / 372.7 MB, free: 3.188 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.336e-06/0.4774, allocations: 8 kB / 372.7 MB, free: 3.18 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001262/0.4775, allocations: 318.8 kB / 373 MB, free: 2.859 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.55e-05/0.4775, allocations: 4 kB / 373 MB, free: 2.855 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.369e-05/0.4775, allocations: 4 kB / 373 MB, free: 2.852 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001201/0.4777, allocations: 11.98 kB / 373 MB, free: 2.84 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.4777, allocations: 0 / 373 MB, free: 2.84 MB / 314.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001845/0.4779, allocations: 45.62 kB / 373 MB, free: 2.789 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.4779, allocations: 4 kB / 373.1 MB, free: 2.785 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.4779, allocations: 4.125 kB / 373.1 MB, free: 2.781 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.478, allocations: 0 / 373.1 MB, free: 2.781 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.663e-05/0.478, allocations: 4 kB / 373.1 MB, free: 2.777 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.379e-06/0.478, allocations: 0 / 373.1 MB, free: 2.777 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.518e-05/0.4781, allocations: 3.984 kB / 373.1 MB, free: 2.773 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.518e-05/0.4781, allocations: 4 kB / 373.1 MB, free: 2.77 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.0001155/0.4783, allocations: 188 kB / 373.3 MB, free: 2.578 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.496e-05/0.4784, allocations: 138.4 kB / 373.4 MB, free: 2.434 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.286e-05/0.4785, allocations: 108.9 kB / 373.5 MB, free: 2.32 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.652e-05/0.4785, allocations: 120.9 kB / 373.6 MB, free: 2.195 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.136e-05/0.4786, allocations: 180.2 kB / 373.8 MB, free: 2.012 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.831e-05/0.4787, allocations: 176.3 kB / 374 MB, free: 1.832 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.229e-05/0.4788, allocations: 180.3 kB / 374.1 MB, free: 1.648 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002858/0.4791, allocations: 393.7 kB / 374.5 MB, free: 1.219 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.061e-05/0.4791, allocations: 109 kB / 374.6 MB, free: 1.105 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.374e-05/0.4792, allocations: 101 kB / 374.7 MB, free: 1 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.269e-05/0.4793, allocations: 180.2 kB / 374.9 MB, free: 0.8164 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.369e-05/0.4794, allocations: 176.3 kB / 375.1 MB, free: 0.6367 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.274e-05/0.4794, allocations: 184.3 kB / 375.3 MB, free: 460 kB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-05/0.4795, allocations: 184.2 kB / 375.4 MB, free: 268 kB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001981/0.4797, allocations: 303.8 kB / 375.7 MB, free: 15.94 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001046/0.4799, allocations: 186 kB / 375.9 MB, free: 15.73 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.725e-05/0.48, allocations: 184.2 kB / 376.1 MB, free: 15.55 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001556/0.4801, allocations: 101 kB / 376.2 MB, free: 15.44 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.115e-05/0.4802, allocations: 192.1 kB / 376.4 MB, free: 15.25 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.244e-05/0.4803, allocations: 101 kB / 376.5 MB, free: 15.14 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.912e-05/0.4804, allocations: 95.27 kB / 376.6 MB, free: 15.05 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.4804, allocations: 0 / 376.6 MB, free: 15.05 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000518/0.4809, allocations: 51.94 kB / 376.6 MB, free: 15 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.001101/0.482, allocations: 0.91 MB / 377.5 MB, free: 14.07 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001009/0.4822, allocations: 4 kB / 377.5 MB, free: 14.06 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.4822, allocations: 3.938 kB / 377.5 MB, free: 14.06 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.566e-06/0.4822, allocations: 0 / 377.5 MB, free: 14.06 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003916/0.4826, allocations: 0.5224 MB / 378.1 MB, free: 13.53 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000527/0.4831, allocations: 198.8 kB / 378.3 MB, free: 13.3 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002929/0.4835, allocations: 0.6768 MB / 378.9 MB, free: 12.6 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.85e-05/0.4835, allocations: 4 kB / 378.9 MB, free: 12.59 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.987e-05/0.4836, allocations: 19.42 kB / 379 MB, free: 12.58 MB / 330.7 MB Notification: Performance of SimCode: time 1.122e-06/0.4836, allocations: 0 / 379 MB, free: 12.58 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03512/0.5187, allocations: 1.445 MB / 380.4 MB, free: 11.13 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003815/0.5192, allocations: 182.3 kB / 380.6 MB, free: 10.94 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.386/2.905, allocations: 0 / 380.6 MB, free: 10.94 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