Running command: "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.182/2.182, allocations: 225.8 MB / 238.8 MB, free: 11.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.603e-05/4.607e-05, allocations: 4 kB / 292.2 MB, free: 8.281 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.1235, allocations: 50.41 MB / 342.6 MB, free: 5.848 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6261/0.7496, allocations: 186.8 MB / 0.517 GB, free: 7.777 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003283/0.75, allocations: 71.95 kB / 0.5171 GB, free: 7.707 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4253/1.175, allocations: 27.33 MB / 0.5438 GB, free: 155.7 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.014e-06/1.175, allocations: 0 / 0.5438 GB, free: 155.7 MB / 442.7 MB Notification: Performance of Transformations before backend: time 9.558e-06/1.175, allocations: 0 / 0.5438 GB, free: 155.7 MB / 442.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.0009911/1.176, allocations: 471.5 kB / 0.5442 GB, free: 155.2 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.004e-05/1.176, allocations: 9.625 kB / 0.5442 GB, free: 155.2 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.098e-05/1.177, allocations: 39.94 kB / 0.5443 GB, free: 155.2 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.111e-05/1.177, allocations: 6.656 kB / 0.5443 GB, free: 155.2 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002681/1.177, allocations: 187.2 kB / 0.5444 GB, free: 154.9 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.741e-05/1.177, allocations: 1.375 kB / 0.5445 GB, free: 154.9 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.737e-05/1.177, allocations: 5.375 kB / 0.5445 GB, free: 154.9 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001509/1.177, allocations: 53.03 kB / 0.5445 GB, free: 154.9 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/1.177, allocations: 1.375 kB / 0.5445 GB, free: 154.9 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/1.177, allocations: 0 / 0.5445 GB, free: 154.9 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/1.177, allocations: 5.375 kB / 0.5445 GB, free: 154.9 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.346e-05/1.177, allocations: 21.55 kB / 0.5445 GB, free: 154.9 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002099/1.177, allocations: 174.8 kB / 0.5447 GB, free: 154.7 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003322/1.178, allocations: 72.78 kB / 0.5448 GB, free: 154.6 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.351e-05/1.178, allocations: 25.66 kB / 0.5448 GB, free: 154.6 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001462/1.179, allocations: 2.201 MB / 0.5469 GB, free: 152 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.379e-05/1.179, allocations: 30.56 kB / 0.547 GB, free: 151.9 MB / 442.7 MB Notification: Performance of pre-optimization done (n=6): time 4.268e-06/1.179, allocations: 0 / 0.547 GB, free: 151.9 MB / 442.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002956/1.18, allocations: 56.69 kB / 0.547 GB, free: 151.9 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.351e-05/1.18, allocations: 84.66 kB / 0.5471 GB, free: 151.8 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001069/1.18, allocations: 104.3 kB / 0.5472 GB, free: 151.7 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.565e-05/1.18, allocations: 33.7 kB / 0.5472 GB, free: 151.6 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.022e-05/1.18, allocations: 80.14 kB / 0.5473 GB, free: 151.6 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.84e-05/1.18, allocations: 27.55 kB / 0.5473 GB, free: 151.5 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.811e-06/1.18, allocations: 0 / 0.5473 GB, free: 151.5 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.565e-05/1.18, allocations: 318.8 kB / 0.5476 GB, free: 151.2 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.755e-05/1.18, allocations: 7.688 kB / 0.5477 GB, free: 151.2 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.236e-05/1.18, allocations: 38.98 kB / 0.5477 GB, free: 151.2 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.173e-05/1.18, allocations: 15.69 kB / 0.5477 GB, free: 151.2 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/1.18, allocations: 3.938 kB / 0.5477 GB, free: 151.2 MB / 442.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001812/1.181, allocations: 76.33 kB / 0.5478 GB, free: 151.1 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.16e-05/1.181, allocations: 7.781 kB / 0.5478 GB, free: 151.1 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/1.181, allocations: 0 / 0.5478 GB, free: 151.1 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.093e-05/1.181, allocations: 0 / 0.5478 GB, free: 151.1 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001598/1.181, allocations: 23.55 kB / 0.5478 GB, free: 151.1 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/1.181, allocations: 8 kB / 0.5478 GB, free: 151.1 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.47e-05/1.181, allocations: 0 / 0.5478 GB, free: 151.1 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.017e-05/1.181, allocations: 7.828 kB / 0.5478 GB, free: 151.1 MB / 442.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.0001089/1.181, allocations: 112.8 kB / 0.5479 GB, free: 151 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.234e-05/1.181, allocations: 3.906 kB / 0.5479 GB, free: 151 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003719/1.181, allocations: 112.5 kB / 0.548 GB, free: 150.9 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.143e-05/1.181, allocations: 7.906 kB / 0.5481 GB, free: 150.9 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/1.182, allocations: 0 / 0.5481 GB, free: 150.9 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-06/1.182, allocations: 3.984 kB / 0.5481 GB, free: 150.9 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001553/1.182, allocations: 173.5 kB / 0.5482 GB, free: 150.7 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/1.182, allocations: 0 / 0.5482 GB, free: 150.7 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001677/1.182, allocations: 19.58 kB / 0.5482 GB, free: 150.7 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.773e-06/1.182, allocations: 0 / 0.5482 GB, free: 150.7 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.683e-05/1.182, allocations: 4 kB / 0.5482 GB, free: 150.7 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.546e-06/1.182, allocations: 3.844 kB / 0.5482 GB, free: 150.7 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/1.182, allocations: 3.984 kB / 0.5483 GB, free: 150.7 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002768/1.182, allocations: 146.2 kB / 0.5484 GB, free: 150.5 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.579e-05/1.182, allocations: 89.06 kB / 0.5485 GB, free: 150.4 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.374e-05/1.182, allocations: 0 / 0.5485 GB, free: 150.4 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.281e-05/1.182, allocations: 7.875 kB / 0.5485 GB, free: 150.4 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.617e-05/1.183, allocations: 7.672 kB / 0.5485 GB, free: 150.4 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.57e-05/1.183, allocations: 0 / 0.5485 GB, free: 150.4 MB / 442.7 MB Notification: Performance of sorting global known variables: time 5.255e-05/1.183, allocations: 106 kB / 0.5486 GB, free: 150.3 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.61e-07/1.183, allocations: 0 / 0.5486 GB, free: 150.3 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0007881/1.183, allocations: 138.5 kB / 0.5487 GB, free: 150.3 MB / 442.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.001396/1.185, allocations: 0.9403 MB / 0.5496 GB, free: 149.5 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002095/1.185, allocations: 46.95 kB / 0.5497 GB, free: 149.5 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/1.185, allocations: 0 / 0.5497 GB, free: 149.5 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 7.518e-05/1.185, allocations: 23.61 kB / 0.5497 GB, free: 149.5 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002432/1.185, allocations: 7.938 kB / 0.5497 GB, free: 149.5 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001003/1.186, allocations: 330.7 kB / 0.55 GB, free: 149.2 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001414/1.187, allocations: 0.6885 MB / 0.5507 GB, free: 148.5 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001363/1.187, allocations: 39.44 kB / 0.5507 GB, free: 148.4 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.456e-05/1.187, allocations: 23.14 kB / 0.5508 GB, free: 148.4 MB / 442.7 MB Notification: Performance of SimCode: time 1.302e-06/1.187, allocations: 0 / 0.5508 GB, free: 148.4 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02553/1.212, allocations: 3.97 MB / 0.5546 GB, free: 146.3 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002727/1.213, allocations: 234 kB / 0.5549 GB, free: 146.1 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.603/3.816, allocations: 0 / 0.5549 GB, free: 146.1 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T_res.mat does not exist to compare? outputFormat=mat