Running command: "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.356/2.356, allocations: 195 MB / 202.9 MB, free: 6.723 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.704e-05/2.694e-05, allocations: 2.75 kB / 249.8 MB, free: 5.223 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1128/0.1128, allocations: 44.5 MB / 294.3 MB, free: 10.66 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6772/0.7901, allocations: 186.4 MB / 480.7 MB, free: 3.969 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003281/0.7905, allocations: 75.83 kB / 480.8 MB, free: 3.93 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5014/1.292, allocations: 36.49 MB / 0.5052 GB, free: 136.6 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.026e-06/1.292, allocations: 0 / 0.5052 GB, free: 136.6 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.105e-05/1.292, allocations: 3.938 kB / 0.5052 GB, free: 136.6 MB / 394.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.001037/1.293, allocations: 491.5 kB / 0.5057 GB, free: 136.2 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.646e-05/1.293, allocations: 11.44 kB / 0.5057 GB, free: 136.2 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.628e-05/1.293, allocations: 7.781 kB / 0.5057 GB, free: 136.2 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002643/1.293, allocations: 182.1 kB / 0.5058 GB, free: 136 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.764e-05/1.294, allocations: 0 / 0.5058 GB, free: 136 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.517e-05/1.294, allocations: 3.812 kB / 0.5058 GB, free: 136 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.531e-05/1.294, allocations: 19.25 kB / 0.5059 GB, free: 136 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001261/1.294, allocations: 57.95 kB / 0.5059 GB, free: 135.9 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/1.294, allocations: 1.875 kB / 0.5059 GB, free: 135.9 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.46e-05/1.294, allocations: 3.984 kB / 0.5059 GB, free: 135.9 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/1.294, allocations: 3.781 kB / 0.5059 GB, free: 135.9 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002151/1.294, allocations: 157.4 kB / 0.5061 GB, free: 135.7 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003471/1.294, allocations: 79.81 kB / 0.5062 GB, free: 135.7 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.747e-05/1.295, allocations: 21.16 kB / 0.5062 GB, free: 135.7 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001415/1.296, allocations: 1.815 MB / 0.508 GB, free: 133.6 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.092e-05/1.296, allocations: 40.12 kB / 0.508 GB, free: 133.6 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 3.587e-06/1.296, allocations: 0 / 0.508 GB, free: 133.6 MB / 394.7 MB Notification: Performance of matching and sorting (n=6): time 0.001037/1.297, allocations: 113.7 kB / 0.5081 GB, free: 133.5 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.707e-05/1.297, allocations: 77.11 kB / 0.5082 GB, free: 133.4 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001096/1.297, allocations: 107.5 kB / 0.5083 GB, free: 133.4 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.658e-05/1.297, allocations: 29.36 kB / 0.5083 GB, free: 133.3 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.173e-05/1.297, allocations: 82.89 kB / 0.5084 GB, free: 133.2 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.35e-05/1.297, allocations: 18.59 kB / 0.5084 GB, free: 133.2 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.124e-06/1.297, allocations: 0 / 0.5084 GB, free: 133.2 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.347e-05/1.297, allocations: 318.7 kB / 0.5087 GB, free: 132.9 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.532e-05/1.298, allocations: 7.875 kB / 0.5087 GB, free: 132.9 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.375e-05/1.298, allocations: 36.78 kB / 0.5087 GB, free: 132.9 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007375/1.298, allocations: 74.64 kB / 0.5088 GB, free: 132.9 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/1.298, allocations: 0 / 0.5088 GB, free: 132.9 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0008576/1.299, allocations: 136.9 kB / 0.5089 GB, free: 132.8 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.34e-05/1.299, allocations: 7.219 kB / 0.509 GB, free: 132.8 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-06/1.299, allocations: 3.938 kB / 0.509 GB, free: 132.8 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.242e-05/1.299, allocations: 7.781 kB / 0.509 GB, free: 132.8 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001546/1.3, allocations: 18.06 kB / 0.509 GB, free: 132.8 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/1.3, allocations: 2.812 kB / 0.509 GB, free: 132.8 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.257e-05/1.3, allocations: 11.77 kB / 0.509 GB, free: 132.8 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.968e-05/1.3, allocations: 0 / 0.509 GB, free: 132.8 MB / 394.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 7.821e-05/1.3, allocations: 112.5 kB / 0.5091 GB, free: 132.7 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008737/1.301, allocations: 125.4 kB / 0.5092 GB, free: 132.7 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.125e-05/1.301, allocations: 7.531 kB / 0.5092 GB, free: 132.7 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001068/1.302, allocations: 182.6 kB / 0.5094 GB, free: 132.6 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.717e-06/1.302, allocations: 0 / 0.5094 GB, free: 132.6 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/1.302, allocations: 0 / 0.5094 GB, free: 132.6 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.804e-06/1.302, allocations: 10.69 kB / 0.5094 GB, free: 132.6 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001526/1.302, allocations: 145 kB / 0.5096 GB, free: 132.5 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/1.302, allocations: 0 / 0.5096 GB, free: 132.5 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001789/1.302, allocations: 17.14 kB / 0.5096 GB, free: 132.5 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.456e-06/1.302, allocations: 3.953 kB / 0.5096 GB, free: 132.5 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.63e-05/1.302, allocations: 3.938 kB / 0.5096 GB, free: 132.5 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/1.302, allocations: 0 / 0.5096 GB, free: 132.5 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/1.302, allocations: 0 / 0.5096 GB, free: 132.5 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000964/1.303, allocations: 195.7 kB / 0.5098 GB, free: 132.4 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.324e-05/1.303, allocations: 96.05 kB / 0.5099 GB, free: 132.3 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.121e-05/1.303, allocations: 3.938 kB / 0.5099 GB, free: 132.3 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.106e-05/1.303, allocations: 0 / 0.5099 GB, free: 132.3 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.193e-05/1.304, allocations: 9.203 kB / 0.5099 GB, free: 132.3 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.708e-05/1.304, allocations: 7.781 kB / 0.5099 GB, free: 132.3 MB / 394.7 MB Notification: Performance of sorting global known variables: time 5.166e-05/1.304, allocations: 86.81 kB / 0.51 GB, free: 132.2 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.71e-07/1.304, allocations: 0 / 0.51 GB, free: 132.2 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009629/1.305, allocations: 200.1 kB / 0.5101 GB, free: 132.1 MB / 394.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.002601/1.307, allocations: 1.065 MB / 0.5112 GB, free: 131.4 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002107/1.308, allocations: 38.42 kB / 0.5112 GB, free: 131.4 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.207e-06/1.308, allocations: 0 / 0.5112 GB, free: 131.4 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 8.108e-05/1.308, allocations: 23.59 kB / 0.5112 GB, free: 131.4 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003047/1.308, allocations: 14.59 kB / 0.5113 GB, free: 131.4 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001172/1.309, allocations: 345.3 kB / 0.5116 GB, free: 131.2 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001694/1.309, allocations: 0.6911 MB / 0.5123 GB, free: 130.5 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001512/1.309, allocations: 37.83 kB / 0.5123 GB, free: 130.4 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.323e-05/1.31, allocations: 22.95 kB / 0.5123 GB, free: 130.4 MB / 394.7 MB Notification: Performance of SimCode: time 1.313e-06/1.31, allocations: 0 / 0.5123 GB, free: 130.4 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05451/1.364, allocations: 4.208 MB / 0.5164 GB, free: 129.9 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.000305/1.364, allocations: 207.9 kB / 0.5166 GB, free: 129.6 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.161/4.525, allocations: 4 kB / 0.5166 GB, free: 129.6 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T_res.mat does not exist to compare? outputFormat=mat