Running command: "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T,fileNamePrefix="Modelica_3_2_1_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.91/1.91, allocations: 171.3 MB / 178.4 MB, free: 160 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 3.007e-05/3.015e-05, allocations: 4 kB / 219.6 MB, free: 6.945 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2743/0.2744, allocations: 38.77 MB / 258.3 MB, free: 12.18 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5611/0.8355, allocations: 181 MB / 439.4 MB, free: 22.45 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002839/0.8359, allocations: 75.08 kB / 439.5 MB, free: 22.41 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1591/0.995, allocations: 36.03 MB / 475.5 MB, free: 7.285 MB / 330.7 MB Notification: Performance of FrontEnd: time 5.07e-06/0.995, allocations: 0 / 475.5 MB, free: 7.285 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.875e-06/0.995, allocations: 3.938 kB / 475.5 MB, free: 7.281 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.001147/0.9962, allocations: 494.4 kB / 476 MB, free: 6.754 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.388e-05/0.9963, allocations: 15.97 kB / 476 MB, free: 6.738 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.281e-05/0.9963, allocations: 7.906 kB / 476 MB, free: 6.73 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002988/0.9966, allocations: 191 kB / 476.2 MB, free: 6.504 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.752e-05/0.9967, allocations: 0 / 476.2 MB, free: 6.504 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.923e-05/0.9967, allocations: 7.953 kB / 476.2 MB, free: 6.496 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.327e-05/0.9968, allocations: 15.98 kB / 476.2 MB, free: 6.48 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001225/0.9969, allocations: 51.41 kB / 476.3 MB, free: 6.418 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.997, allocations: 0 / 476.3 MB, free: 6.418 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.28e-05/0.997, allocations: 7.938 kB / 476.3 MB, free: 6.41 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.997, allocations: 4 kB / 476.3 MB, free: 6.406 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002325/0.9973, allocations: 151.2 kB / 476.4 MB, free: 6.219 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003257/0.9976, allocations: 65.3 kB / 476.5 MB, free: 6.137 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.2e-05/0.9977, allocations: 21.78 kB / 476.5 MB, free: 6.109 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001819/0.9995, allocations: 1.813 MB / 478.3 MB, free: 3.891 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.954e-05/0.9996, allocations: 46.45 kB / 478.4 MB, free: 3.836 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 2.845e-06/0.9996, allocations: 0 / 478.4 MB, free: 3.836 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.0009755/1.001, allocations: 121.5 kB / 478.5 MB, free: 3.711 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.819e-05/1.001, allocations: 77.11 kB / 478.6 MB, free: 3.617 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001227/1.001, allocations: 105 kB / 478.7 MB, free: 3.508 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.37e-05/1.001, allocations: 29.7 kB / 478.7 MB, free: 3.473 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.219e-05/1.001, allocations: 84.14 kB / 478.8 MB, free: 3.387 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.701e-05/1.001, allocations: 31.58 kB / 478.8 MB, free: 3.355 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.492e-06/1.001, allocations: 0 / 478.8 MB, free: 3.355 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001411/1.001, allocations: 310.8 kB / 479.1 MB, free: 3.043 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.123e-05/1.001, allocations: 19.92 kB / 479.1 MB, free: 3.023 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.839e-05/1.001, allocations: 35.42 kB / 479.2 MB, free: 2.977 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006851/1.002, allocations: 71.92 kB / 479.2 MB, free: 2.906 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/1.002, allocations: 0 / 479.2 MB, free: 2.906 MB / 330.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0008113/1.003, allocations: 133.5 kB / 479.4 MB, free: 2.77 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.339e-05/1.003, allocations: 4 kB / 479.4 MB, free: 2.766 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/1.003, allocations: 0 / 479.4 MB, free: 2.766 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.561e-05/1.003, allocations: 7.953 kB / 479.4 MB, free: 2.758 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001515/1.003, allocations: 15.98 kB / 479.4 MB, free: 2.742 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/1.003, allocations: 7.875 kB / 479.4 MB, free: 2.734 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.522e-05/1.003, allocations: 11.97 kB / 479.4 MB, free: 2.723 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.053e-05/1.003, allocations: 3.984 kB / 479.4 MB, free: 2.719 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.0001339/1.003, allocations: 105 kB / 479.5 MB, free: 2.609 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007571/1.004, allocations: 117.5 kB / 479.6 MB, free: 2.488 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.445e-05/1.004, allocations: 15.84 kB / 479.6 MB, free: 2.473 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009571/1.005, allocations: 165.8 kB / 479.8 MB, free: 2.305 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.003e-05/1.005, allocations: 4 kB / 479.8 MB, free: 2.301 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.388e-06/1.005, allocations: 3.984 kB / 479.8 MB, free: 2.297 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/1.005, allocations: 0 / 479.8 MB, free: 2.297 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001806/1.005, allocations: 150.2 kB / 480 MB, free: 2.113 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.668e-06/1.005, allocations: 0 / 480 MB, free: 2.113 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001583/1.006, allocations: 11.98 kB / 480 MB, free: 2.102 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.342e-06/1.006, allocations: 0 / 480 MB, free: 2.102 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.74e-05/1.006, allocations: 4 kB / 480 MB, free: 2.098 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.43e-06/1.006, allocations: 3.953 kB / 480 MB, free: 2.094 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/1.006, allocations: 0 / 480 MB, free: 2.094 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008921/1.007, allocations: 206.7 kB / 480.2 MB, free: 1.867 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.862e-05/1.007, allocations: 93.41 kB / 480.3 MB, free: 1.758 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.767e-05/1.007, allocations: 3.953 kB / 480.3 MB, free: 1.754 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.71e-05/1.007, allocations: 0 / 480.3 MB, free: 1.754 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.633e-05/1.007, allocations: 7.984 kB / 480.3 MB, free: 1.746 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.954e-05/1.007, allocations: 16.06 kB / 480.3 MB, free: 1.73 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.293e-05/1.007, allocations: 91.27 kB / 480.4 MB, free: 1.641 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.1e-07/1.007, allocations: 0 / 480.4 MB, free: 1.641 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008963/1.008, allocations: 191.6 kB / 480.6 MB, free: 1.453 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (s1,h1) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.002503/1.01, allocations: 1.081 MB / 481.7 MB, free: 352 kB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001723/1.011, allocations: 31.98 kB / 481.7 MB, free: 320 kB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/1.011, allocations: 3.938 kB / 481.7 MB, free: 316 kB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.398e-05/1.011, allocations: 23.94 kB / 481.7 MB, free: 292 kB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002265/1.011, allocations: 12.11 kB / 481.7 MB, free: 280 kB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001053/1.012, allocations: 350.8 kB / 482.1 MB, free: 15.89 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002971/1.012, allocations: 0.6963 MB / 482.8 MB, free: 15.16 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001303/1.012, allocations: 23.97 kB / 482.8 MB, free: 15.14 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.513e-05/1.013, allocations: 23.42 kB / 482.8 MB, free: 15.12 MB / 346.7 MB Notification: Performance of SimCode: time 1.162e-06/1.013, allocations: 7.938 kB / 482.8 MB, free: 15.11 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04497/1.058, allocations: 4.202 MB / 487 MB, free: 10.9 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004155/1.058, allocations: 207.1 kB / 487.2 MB, free: 10.63 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.748/3.806, allocations: 0 / 487.2 MB, free: 10.63 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T_res.mat does not exist to compare? outputFormat=mat