Running command: "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.258/2.258, allocations: 205.8 MB / 218.9 MB, free: 9.27 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.981e-05/3.999e-05, allocations: 8 kB / 269.4 MB, free: 6.305 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1085, allocations: 47.57 MB / 317 MB, free: 6.645 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5866/0.6952, allocations: 190 MB / 0.4951 GB, free: 15.22 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002854/0.6955, allocations: 72.64 kB / 0.4952 GB, free: 15.18 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4332/1.129, allocations: 36.91 MB / 0.5313 GB, free: 154.5 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.703e-06/1.129, allocations: 0 / 0.5313 GB, free: 154.5 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.045e-06/1.129, allocations: 0 / 0.5313 GB, free: 154.5 MB / 426.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.001051/1.13, allocations: 497.7 kB / 0.5317 GB, free: 154 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.154e-05/1.13, allocations: 7.656 kB / 0.5317 GB, free: 154 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.659e-05/1.13, allocations: 38.5 kB / 0.5318 GB, free: 153.9 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.444e-05/1.13, allocations: 11.25 kB / 0.5318 GB, free: 153.9 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002481/1.13, allocations: 185.6 kB / 0.532 GB, free: 153.7 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.736e-05/1.13, allocations: 7.969 kB / 0.532 GB, free: 153.7 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.019e-05/1.13, allocations: 7.844 kB / 0.532 GB, free: 153.7 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001254/1.131, allocations: 63.05 kB / 0.532 GB, free: 153.6 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/1.131, allocations: 0 / 0.532 GB, free: 153.6 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/1.131, allocations: 3.938 kB / 0.532 GB, free: 153.6 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/1.131, allocations: 0 / 0.532 GB, free: 153.6 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.693e-05/1.131, allocations: 19.64 kB / 0.5321 GB, free: 153.6 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001888/1.131, allocations: 171.8 kB / 0.5322 GB, free: 153.4 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003332/1.131, allocations: 77.19 kB / 0.5323 GB, free: 153.4 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.85e-05/1.131, allocations: 23.19 kB / 0.5323 GB, free: 153.3 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001345/1.133, allocations: 1.898 MB / 0.5342 GB, free: 151.1 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.031e-05/1.133, allocations: 42.06 kB / 0.5342 GB, free: 151.1 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 3.337e-06/1.133, allocations: 0 / 0.5342 GB, free: 151.1 MB / 426.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002546/1.133, allocations: 58.3 kB / 0.5343 GB, free: 151 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.525e-05/1.133, allocations: 81.05 kB / 0.5344 GB, free: 150.9 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.819e-05/1.133, allocations: 102.9 kB / 0.5345 GB, free: 150.8 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.398e-05/1.133, allocations: 25.7 kB / 0.5345 GB, free: 150.8 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.122e-05/1.133, allocations: 87.14 kB / 0.5346 GB, free: 150.7 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.264e-05/1.133, allocations: 23.56 kB / 0.5346 GB, free: 150.7 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.231e-06/1.133, allocations: 0 / 0.5346 GB, free: 150.7 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.752e-05/1.133, allocations: 318.8 kB / 0.5349 GB, free: 150.4 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.964e-05/1.133, allocations: 11 kB / 0.5349 GB, free: 150.4 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.159e-05/1.134, allocations: 34 kB / 0.5349 GB, free: 150.3 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.124e-05/1.134, allocations: 21.66 kB / 0.5349 GB, free: 150.3 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.085e-06/1.134, allocations: 0 / 0.5349 GB, free: 150.3 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001658/1.134, allocations: 75.23 kB / 0.535 GB, free: 150.3 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/1.134, allocations: 11.42 kB / 0.535 GB, free: 150.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/1.134, allocations: 0 / 0.535 GB, free: 150.3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-05/1.134, allocations: 3.938 kB / 0.535 GB, free: 150.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001379/1.134, allocations: 18.64 kB / 0.5351 GB, free: 150.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/1.134, allocations: 0 / 0.5351 GB, free: 150.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.897e-05/1.134, allocations: 7.594 kB / 0.5351 GB, free: 150.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.933e-05/1.134, allocations: 3.969 kB / 0.5351 GB, free: 150.2 MB / 426.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 6.553e-05/1.134, allocations: 107.8 kB / 0.5352 GB, free: 150.1 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.307e-05/1.134, allocations: 11.88 kB / 0.5352 GB, free: 150.1 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003554/1.135, allocations: 113.1 kB / 0.5353 GB, free: 150 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.068e-05/1.135, allocations: 0 / 0.5353 GB, free: 150 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/1.135, allocations: 0 / 0.5353 GB, free: 150 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.093e-06/1.135, allocations: 2.875 kB / 0.5353 GB, free: 150 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000148/1.135, allocations: 176.7 kB / 0.5355 GB, free: 149.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/1.135, allocations: 11.88 kB / 0.5355 GB, free: 149.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001492/1.135, allocations: 18.89 kB / 0.5355 GB, free: 149.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/1.135, allocations: 0 / 0.5355 GB, free: 149.8 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.357e-05/1.135, allocations: 3.938 kB / 0.5355 GB, free: 149.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.798e-06/1.135, allocations: 11.05 kB / 0.5355 GB, free: 149.8 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/1.135, allocations: 0 / 0.5355 GB, free: 149.8 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002677/1.135, allocations: 139.2 kB / 0.5356 GB, free: 149.7 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.478e-05/1.135, allocations: 96.17 kB / 0.5357 GB, free: 149.6 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.548e-05/1.136, allocations: 6.359 kB / 0.5357 GB, free: 149.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.896e-05/1.136, allocations: 0 / 0.5357 GB, free: 149.6 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.53e-05/1.136, allocations: 11.27 kB / 0.5357 GB, free: 149.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.54e-05/1.136, allocations: 6.531 kB / 0.5357 GB, free: 149.6 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.992e-05/1.136, allocations: 91.41 kB / 0.5358 GB, free: 149.5 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.01e-07/1.136, allocations: 0 / 0.5358 GB, free: 149.5 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0009861/1.137, allocations: 193.8 kB / 0.536 GB, free: 149.4 MB / 426.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.001681/1.138, allocations: 1.026 MB / 0.537 GB, free: 148.6 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001854/1.139, allocations: 46.64 kB / 0.5371 GB, free: 148.6 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/1.139, allocations: 0 / 0.5371 GB, free: 148.6 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.415e-05/1.139, allocations: 19.19 kB / 0.5371 GB, free: 148.6 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000228/1.139, allocations: 7.938 kB / 0.5371 GB, free: 148.5 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001116/1.14, allocations: 369.1 kB / 0.5374 GB, free: 148.2 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001406/1.14, allocations: 0.6885 MB / 0.5381 GB, free: 147.5 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001298/1.14, allocations: 34.84 kB / 0.5382 GB, free: 147.5 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.957e-05/1.141, allocations: 17.75 kB / 0.5382 GB, free: 147.5 MB / 426.7 MB Notification: Performance of SimCode: time 1.563e-06/1.141, allocations: 0 / 0.5382 GB, free: 147.5 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02862/1.169, allocations: 4.778 MB / 0.5428 GB, free: 144.7 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002959/1.17, allocations: 218.5 kB / 0.543 GB, free: 144.4 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.674/3.843, allocations: 4 kB / 0.543 GB, free: 144.4 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T_res.mat does not exist to compare? outputFormat=mat