Running command: "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.123/2.123, allocations: 225.8 MB / 239.3 MB, free: 11.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.657e-05/3.665e-05, allocations: 0 / 292.7 MB, free: 8.258 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1225/0.1226, allocations: 50.42 MB / 343.2 MB, free: 5.824 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6342/0.7568, allocations: 186.8 MB / 0.5175 GB, free: 7.738 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002865/0.7572, allocations: 67.97 kB / 0.5176 GB, free: 7.672 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4042/1.161, allocations: 27.33 MB / 0.5443 GB, free: 155.7 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.542e-06/1.161, allocations: 0 / 0.5443 GB, free: 155.7 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.997e-06/1.161, allocations: 1.375 kB / 0.5443 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.0009031/1.162, allocations: 475.4 kB / 0.5447 GB, free: 155.2 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.139e-05/1.162, allocations: 9.844 kB / 0.5447 GB, free: 155.2 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.442e-05/1.162, allocations: 30.56 kB / 0.5448 GB, free: 155.2 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.162e-05/1.163, allocations: 6.562 kB / 0.5448 GB, free: 155.2 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002291/1.163, allocations: 190.6 kB / 0.545 GB, free: 154.9 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.633e-05/1.163, allocations: 2.25 kB / 0.545 GB, free: 154.9 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.277e-05/1.163, allocations: 1.375 kB / 0.545 GB, free: 154.9 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001261/1.163, allocations: 66.09 kB / 0.545 GB, free: 154.9 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/1.163, allocations: 0 / 0.545 GB, free: 154.9 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.338e-05/1.163, allocations: 4 kB / 0.545 GB, free: 154.9 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/1.163, allocations: 1.156 kB / 0.545 GB, free: 154.9 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.871e-05/1.163, allocations: 10.62 kB / 0.545 GB, free: 154.9 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001888/1.163, allocations: 179.4 kB / 0.5452 GB, free: 154.7 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002967/1.164, allocations: 71.92 kB / 0.5453 GB, free: 154.6 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.923e-05/1.164, allocations: 29.52 kB / 0.5453 GB, free: 154.6 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001317/1.165, allocations: 2.19 MB / 0.5474 GB, free: 152 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.12e-05/1.165, allocations: 34.56 kB / 0.5475 GB, free: 151.9 MB / 442.7 MB Notification: Performance of pre-optimization done (n=6): time 2.615e-06/1.165, allocations: 0 / 0.5475 GB, free: 151.9 MB / 442.7 MB Notification: Performance of matching and sorting (n=6): time 0.000227/1.165, allocations: 65.08 kB / 0.5475 GB, free: 151.9 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.655e-05/1.165, allocations: 84.89 kB / 0.5476 GB, free: 151.8 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.647e-05/1.165, allocations: 96.72 kB / 0.5477 GB, free: 151.7 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.279e-05/1.165, allocations: 25.7 kB / 0.5477 GB, free: 151.6 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.844e-05/1.166, allocations: 87.88 kB / 0.5478 GB, free: 151.6 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.098e-05/1.166, allocations: 27.56 kB / 0.5478 GB, free: 151.5 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.951e-06/1.166, allocations: 0 / 0.5478 GB, free: 151.5 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.03e-05/1.166, allocations: 322.8 kB / 0.5482 GB, free: 151.2 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.834e-05/1.166, allocations: 11.75 kB / 0.5482 GB, free: 151.2 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.062e-05/1.166, allocations: 31.25 kB / 0.5482 GB, free: 151.2 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.131e-05/1.166, allocations: 19.7 kB / 0.5482 GB, free: 151.2 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/1.166, allocations: 3.938 kB / 0.5482 GB, free: 151.2 MB / 442.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001643/1.166, allocations: 80.48 kB / 0.5483 GB, free: 151.1 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/1.166, allocations: 3.875 kB / 0.5483 GB, free: 151.1 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.573e-06/1.166, allocations: 0 / 0.5483 GB, free: 151.1 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/1.166, allocations: 3.875 kB / 0.5483 GB, free: 151.1 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001298/1.166, allocations: 15.55 kB / 0.5483 GB, free: 151.1 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.837e-06/1.166, allocations: 0 / 0.5483 GB, free: 151.1 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.709e-05/1.166, allocations: 3.938 kB / 0.5483 GB, free: 151.1 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.838e-05/1.166, allocations: 8.453 kB / 0.5483 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 6.058e-05/1.166, allocations: 116.9 kB / 0.5484 GB, free: 151 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.761e-05/1.166, allocations: 3.688 kB / 0.5484 GB, free: 151 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003233/1.167, allocations: 123.5 kB / 0.5486 GB, free: 150.9 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.067e-05/1.167, allocations: 7.781 kB / 0.5486 GB, free: 150.9 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/1.167, allocations: 0 / 0.5486 GB, free: 150.9 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.521e-06/1.167, allocations: 4 kB / 0.5486 GB, free: 150.9 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001409/1.167, allocations: 176.8 kB / 0.5487 GB, free: 150.7 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/1.167, allocations: 0 / 0.5487 GB, free: 150.7 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001416/1.167, allocations: 11.72 kB / 0.5488 GB, free: 150.7 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.149e-06/1.167, allocations: 3.984 kB / 0.5488 GB, free: 150.7 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.321e-05/1.167, allocations: 0 / 0.5488 GB, free: 150.7 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/1.167, allocations: 3.906 kB / 0.5488 GB, free: 150.7 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/1.167, allocations: 0 / 0.5488 GB, free: 150.7 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002495/1.168, allocations: 149.7 kB / 0.5489 GB, free: 150.5 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.376e-05/1.168, allocations: 85.03 kB / 0.549 GB, free: 150.4 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.558e-05/1.168, allocations: 11.86 kB / 0.549 GB, free: 150.4 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.949e-05/1.168, allocations: 0 / 0.549 GB, free: 150.4 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.238e-05/1.168, allocations: 7.797 kB / 0.549 GB, free: 150.4 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.025e-05/1.168, allocations: 0 / 0.549 GB, free: 150.4 MB / 442.7 MB Notification: Performance of sorting global known variables: time 4.78e-05/1.168, allocations: 95.09 kB / 0.5491 GB, free: 150.3 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.21e-07/1.168, allocations: 0 / 0.5491 GB, free: 150.3 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0007265/1.169, allocations: 145.1 kB / 0.5492 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.001169/1.17, allocations: 0.9439 MB / 0.5502 GB, free: 149.5 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001644/1.17, allocations: 43.34 kB / 0.5502 GB, free: 149.5 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.634e-06/1.17, allocations: 0 / 0.5502 GB, free: 149.5 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 7.51e-05/1.17, allocations: 31.45 kB / 0.5502 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.0002108/1.17, allocations: 6.344 kB / 0.5502 GB, free: 149.5 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007713/1.171, allocations: 327.1 kB / 0.5505 GB, free: 149.2 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001486/1.171, allocations: 0.6925 MB / 0.5512 GB, free: 148.5 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001164/1.171, allocations: 31.62 kB / 0.5513 GB, free: 148.4 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.852e-05/1.171, allocations: 27.27 kB / 0.5513 GB, free: 148.4 MB / 442.7 MB Notification: Performance of SimCode: time 7.82e-07/1.171, allocations: 0 / 0.5513 GB, free: 148.4 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02533/1.197, allocations: 3.967 MB / 0.5552 GB, free: 146.3 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003168/1.197, allocations: 234.1 kB / 0.5554 GB, free: 146.1 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.727/3.925, allocations: 0 / 0.5554 GB, free: 146.1 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T_res.mat does not exist to compare? outputFormat=mat