Running command: "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.347/2.347, allocations: 205.8 MB / 218.9 MB, free: 9.27 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.773e-05/3.789e-05, allocations: 4 kB / 269.4 MB, free: 6.316 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1075/0.1076, allocations: 47.58 MB / 317 MB, free: 6.652 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.981/2.089, allocations: 0.5934 GB / 0.903 GB, free: 84.55 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002863/2.09, allocations: 76.89 kB / 0.9031 GB, free: 84.51 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1646/2.254, allocations: 41.69 MB / 0.9438 GB, free: 48.58 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.714e-06/2.254, allocations: 0 / 0.9438 GB, free: 48.58 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.945e-06/2.254, allocations: 0 / 0.9438 GB, free: 48.58 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.0006936/2.255, allocations: 446.1 kB / 0.9442 GB, free: 48.1 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/2.255, allocations: 8.031 kB / 0.9442 GB, free: 48.09 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.414e-05/2.255, allocations: 34.56 kB / 0.9443 GB, free: 48.05 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001323/2.256, allocations: 91.88 kB / 0.9444 GB, free: 47.96 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000205/2.257, allocations: 191 kB / 0.9445 GB, free: 47.73 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.061e-05/2.257, allocations: 7.953 kB / 0.9445 GB, free: 47.73 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.898e-05/2.257, allocations: 3.906 kB / 0.9445 GB, free: 47.72 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001624/2.257, allocations: 75.31 kB / 0.9446 GB, free: 47.64 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/2.257, allocations: 0 / 0.9446 GB, free: 47.64 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.531e-05/2.257, allocations: 7.938 kB / 0.9446 GB, free: 47.63 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/2.257, allocations: 0 / 0.9446 GB, free: 47.63 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001045/2.257, allocations: 31.98 kB / 0.9447 GB, free: 47.6 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002329/2.257, allocations: 190.5 kB / 0.9448 GB, free: 47.36 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004446/2.258, allocations: 101.2 kB / 0.9449 GB, free: 47.24 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.175e-05/2.258, allocations: 25.78 kB / 0.945 GB, free: 47.21 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008999/2.259, allocations: 1.38 MB / 0.9463 GB, free: 45.54 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.954e-05/2.259, allocations: 34.56 kB / 0.9463 GB, free: 45.49 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.914e-06/2.259, allocations: 0 / 0.9463 GB, free: 45.49 MB / 426.7 MB Notification: Performance of matching and sorting (n=6): time 0.000289/2.259, allocations: 69.61 kB / 0.9464 GB, free: 45.42 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.335e-05/2.259, allocations: 81.09 kB / 0.9465 GB, free: 45.32 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001579/2.259, allocations: 125 kB / 0.9466 GB, free: 45.19 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.624e-05/2.259, allocations: 25.7 kB / 0.9466 GB, free: 45.16 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.797e-05/2.259, allocations: 88.14 kB / 0.9467 GB, free: 45.07 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.533e-05/2.259, allocations: 23.66 kB / 0.9467 GB, free: 45.05 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.978e-06/2.259, allocations: 0 / 0.9467 GB, free: 45.05 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.213e-05/2.26, allocations: 318.8 kB / 0.947 GB, free: 44.73 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.151e-05/2.26, allocations: 20 kB / 0.9471 GB, free: 44.71 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.37e-05/2.26, allocations: 47.34 kB / 0.9471 GB, free: 44.65 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.823e-05/2.26, allocations: 36 kB / 0.9471 GB, free: 44.61 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/2.26, allocations: 0 / 0.9471 GB, free: 44.61 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002319/2.26, allocations: 85.52 kB / 0.9472 GB, free: 44.52 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/2.26, allocations: 8 kB / 0.9472 GB, free: 44.52 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/2.26, allocations: 480 / 0.9472 GB, free: 44.52 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/2.26, allocations: 0 / 0.9472 GB, free: 44.52 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002217/2.26, allocations: 23.97 kB / 0.9472 GB, free: 44.49 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/2.26, allocations: 0 / 0.9472 GB, free: 44.49 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002606/2.261, allocations: 4 kB / 0.9473 GB, free: 44.49 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.314e-05/2.261, allocations: 8.062 kB / 0.9473 GB, free: 44.48 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.433e-05/2.261, allocations: 112.9 kB / 0.9474 GB, free: 44.36 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.406e-05/2.261, allocations: 11.89 kB / 0.9474 GB, free: 44.35 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003321/2.261, allocations: 105.5 kB / 0.9475 GB, free: 44.24 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/2.261, allocations: 0 / 0.9475 GB, free: 44.24 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/2.261, allocations: 0 / 0.9475 GB, free: 44.24 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/2.261, allocations: 7.984 kB / 0.9475 GB, free: 44.23 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001527/2.261, allocations: 181.5 kB / 0.9477 GB, free: 44.01 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/2.261, allocations: 3.984 kB / 0.9477 GB, free: 44 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002146/2.262, allocations: 15.98 kB / 0.9477 GB, free: 43.99 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.576e-06/2.262, allocations: 0 / 0.9477 GB, free: 43.99 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.705e-05/2.262, allocations: 0 / 0.9477 GB, free: 43.99 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/2.262, allocations: 4 kB / 0.9477 GB, free: 43.98 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/2.262, allocations: 3.984 kB / 0.9477 GB, free: 43.98 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003187/2.262, allocations: 147.6 kB / 0.9478 GB, free: 43.81 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.18e-05/2.262, allocations: 93.03 kB / 0.9479 GB, free: 43.7 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.308e-05/2.262, allocations: 3.984 kB / 0.9479 GB, free: 43.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002638/2.262, allocations: 4.062 kB / 0.9479 GB, free: 43.69 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.005e-05/2.262, allocations: 11.98 kB / 0.9479 GB, free: 43.68 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.478e-05/2.262, allocations: 4 kB / 0.9479 GB, free: 43.68 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001074/2.263, allocations: 107.3 kB / 0.948 GB, free: 43.57 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.51e-07/2.263, allocations: 4.344 kB / 0.948 GB, free: 43.57 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0009726/2.264, allocations: 211.7 kB / 0.9482 GB, free: 43.36 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 (6): * Single equations (assignments): 6 * 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 Backend phase and start with SimCode phase: time 0.002334/2.266, allocations: 1.475 MB / 0.9497 GB, free: 41.86 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002255/2.266, allocations: 51.91 kB / 0.9497 GB, free: 41.8 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/2.266, allocations: 0 / 0.9497 GB, free: 41.8 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.683e-05/2.266, allocations: 23.94 kB / 0.9498 GB, free: 41.78 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000245/2.267, allocations: 11.98 kB / 0.9498 GB, free: 41.77 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001053/2.268, allocations: 356.1 kB / 0.9501 GB, free: 41.38 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001331/2.268, allocations: 0.6926 MB / 0.9508 GB, free: 40.66 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003334/2.268, allocations: 35.95 kB / 0.9508 GB, free: 40.62 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001779/2.268, allocations: 39.41 kB / 0.9509 GB, free: 40.59 MB / 426.7 MB Notification: Performance of SimCode: time 1.583e-06/2.268, allocations: 3.938 kB / 0.9509 GB, free: 40.58 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04341/2.312, allocations: 15.72 MB / 0.9662 GB, free: 24.89 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002065/2.312, allocations: 215.6 kB / 0.9664 GB, free: 24.66 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.21/5.522, allocations: 0 / 0.9664 GB, free: 24.66 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_res.mat does not exist to compare? outputFormat=mat