Running command: "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.007/2.007, allocations: 225.8 MB / 239.3 MB, free: 11.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.277e-05/3.289e-05, allocations: 1.562 kB / 292.7 MB, free: 8.258 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.118/0.1181, allocations: 50.41 MB / 343.2 MB, free: 5.828 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4837/0.6018, allocations: 76.37 MB / 419.5 MB, free: 1.5 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002646/0.6022, allocations: 69.66 kB / 419.6 MB, free: 1.465 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02712/0.6293, allocations: 5.206 MB / 424.8 MB, free: 13.05 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.6294, allocations: 0 / 424.8 MB, free: 13.05 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.817e-06/0.6294, allocations: 0 / 424.8 MB, free: 13.05 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.0004523/0.6298, allocations: 353.7 kB / 425.1 MB, free: 12.66 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.436e-05/0.6299, allocations: 8.031 kB / 425.2 MB, free: 12.65 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.468e-05/0.63, allocations: 34.56 kB / 425.2 MB, free: 12.61 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.808e-05/0.63, allocations: 7.953 kB / 425.2 MB, free: 12.6 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001479/0.6302, allocations: 170.3 kB / 425.4 MB, free: 12.4 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.212e-05/0.6302, allocations: 0 / 425.4 MB, free: 12.4 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.376e-05/0.6302, allocations: 0 / 425.4 MB, free: 12.4 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001236/0.6304, allocations: 33.69 kB / 425.4 MB, free: 12.36 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.6304, allocations: 0 / 425.4 MB, free: 12.36 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.431e-05/0.6304, allocations: 4 kB / 425.4 MB, free: 12.36 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.588e-06/0.6304, allocations: 7.938 kB / 425.4 MB, free: 12.35 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.725e-05/0.6305, allocations: 0 / 425.4 MB, free: 12.35 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005603/0.631, allocations: 476.2 kB / 425.9 MB, free: 11.82 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.542e-05/0.6312, allocations: 169.1 kB / 426 MB, free: 11.64 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.99e-05/0.6312, allocations: 84.14 kB / 426.1 MB, free: 11.56 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.099e-05/0.6312, allocations: 75.28 kB / 426.2 MB, free: 11.48 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.712e-05/0.6313, allocations: 109.8 kB / 426.3 MB, free: 11.37 MB / 346.7 MB Notification: Performance of pre-optimization done (n=0): time 1.553e-06/0.6313, allocations: 0 / 426.3 MB, free: 11.37 MB / 346.7 MB Notification: Performance of matching and sorting (n=0): time 8.79e-05/0.6314, allocations: 29.66 kB / 426.3 MB, free: 11.33 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.708e-05/0.6315, allocations: 160.3 kB / 426.5 MB, free: 11.16 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001247/0.6317, allocations: 106.3 kB / 426.6 MB, free: 11.05 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.192e-05/0.6317, allocations: 25.7 kB / 426.6 MB, free: 11.02 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.369e-05/0.6318, allocations: 83.39 kB / 426.7 MB, free: 10.94 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.555e-06/0.6318, allocations: 7.938 kB / 426.7 MB, free: 10.93 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.667e-06/0.6318, allocations: 0 / 426.7 MB, free: 10.93 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001371/0.632, allocations: 314.8 kB / 427 MB, free: 10.61 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.563e-05/0.632, allocations: 7.125 kB / 427 MB, free: 10.61 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.745e-05/0.632, allocations: 4 kB / 427 MB, free: 10.61 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.754e-05/0.6321, allocations: 3.984 kB / 427 MB, free: 10.6 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.6321, allocations: 0 / 427 MB, free: 10.6 MB / 346.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001232/0.6322, allocations: 37.61 kB / 427.1 MB, free: 10.56 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.257e-05/0.6323, allocations: 12.12 kB / 427.1 MB, free: 10.55 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.6323, allocations: 0 / 427.1 MB, free: 10.55 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.843e-05/0.6323, allocations: 3.953 kB / 427.1 MB, free: 10.54 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.651e-05/0.6324, allocations: 0 / 427.1 MB, free: 10.54 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.6324, allocations: 0 / 427.1 MB, free: 10.54 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.052e-05/0.6325, allocations: 4 kB / 427.1 MB, free: 10.54 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.845e-05/0.6325, allocations: 3.984 kB / 427.1 MB, free: 10.54 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.0001195/0.6326, allocations: 179.5 kB / 427.3 MB, free: 10.36 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.139e-05/0.6327, allocations: 112.9 kB / 427.4 MB, free: 10.24 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.461e-05/0.6328, allocations: 104.6 kB / 427.5 MB, free: 10.13 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.838e-05/0.6329, allocations: 176.3 kB / 427.6 MB, free: 9.949 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.639e-05/0.633, allocations: 188.2 kB / 427.8 MB, free: 9.758 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.272e-05/0.6331, allocations: 184.2 kB / 428 MB, free: 9.57 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002893/0.6334, allocations: 404.7 kB / 428.4 MB, free: 9.121 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-05/0.6334, allocations: 108.9 kB / 428.5 MB, free: 9.008 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.804e-05/0.6335, allocations: 101 kB / 428.6 MB, free: 8.902 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.703e-05/0.6336, allocations: 176.3 kB / 428.8 MB, free: 8.723 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.752e-05/0.6337, allocations: 189 kB / 429 MB, free: 8.535 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.529e-05/0.6338, allocations: 180.2 kB / 429.1 MB, free: 8.352 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.046e-05/0.6339, allocations: 180.3 kB / 429.3 MB, free: 8.168 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001801/0.6341, allocations: 307 kB / 429.6 MB, free: 7.848 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001068/0.6342, allocations: 182.1 kB / 429.8 MB, free: 7.645 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001002/0.6343, allocations: 184.2 kB / 430 MB, free: 7.457 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001423/0.6344, allocations: 101 kB / 430.1 MB, free: 7.352 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.926e-05/0.6345, allocations: 180.3 kB / 430.2 MB, free: 7.168 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.763e-05/0.6346, allocations: 112 kB / 430.4 MB, free: 7.055 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.263e-05/0.6347, allocations: 94.91 kB / 430.4 MB, free: 6.965 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6347, allocations: 0 / 430.4 MB, free: 6.965 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004672/0.6352, allocations: 43.94 kB / 430.5 MB, free: 6.922 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.001003/0.6362, allocations: 0.898 MB / 431.4 MB, free: 6.012 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001031/0.6363, allocations: 7.938 kB / 431.4 MB, free: 6.004 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.6364, allocations: 8 kB / 431.4 MB, free: 5.996 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.495e-06/0.6364, allocations: 0 / 431.4 MB, free: 5.996 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004034/0.6368, allocations: 0.5224 MB / 431.9 MB, free: 5.469 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004493/0.6373, allocations: 180.5 kB / 432.1 MB, free: 5.258 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000281/0.6375, allocations: 0.677 MB / 432.8 MB, free: 4.555 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 9.618e-05/0.6377, allocations: 11.98 kB / 432.8 MB, free: 4.543 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.425e-05/0.6377, allocations: 14.75 kB / 432.8 MB, free: 4.531 MB / 346.7 MB Notification: Performance of SimCode: time 8.91e-07/0.6377, allocations: 0 / 432.8 MB, free: 4.531 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0213/0.659, allocations: 1.542 MB / 434.4 MB, free: 3.066 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003004/0.6594, allocations: 207.3 kB / 434.6 MB, free: 2.844 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.58/3.239, allocations: 4 kB / 434.6 MB, free: 2.84 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine_res.mat does not exist to compare? outputFormat=mat