Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T,fileNamePrefix="Modelica_3_2_1_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.015/2.015, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.636e-05/3.64e-05, allocations: 4 kB / 225.1 MB, free: 2.242 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2616/0.2617, allocations: 38.76 MB / 263.9 MB, free: 9.82 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.881/2.143, allocations: 0.6362 GB / 0.8938 GB, free: 14.02 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002891/2.143, allocations: 75.78 kB / 0.8939 GB, free: 13.98 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5298/2.673, allocations: 117 MB / 1.008 GB, free: 51.57 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.984e-06/2.673, allocations: 4 kB / 1.008 GB, free: 51.56 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.406e-06/2.673, allocations: 0 / 1.008 GB, free: 51.56 MB / 362.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.001467/2.675, allocations: 0.5564 MB / 1.009 GB, free: 50.96 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.232e-05/2.675, allocations: 12.03 kB / 1.009 GB, free: 50.95 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.296e-05/2.675, allocations: 34.56 kB / 1.009 GB, free: 50.91 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001532/2.675, allocations: 15.91 kB / 1.009 GB, free: 50.89 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001594/2.675, allocations: 175 kB / 1.009 GB, free: 50.68 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.826e-05/2.675, allocations: 0 / 1.009 GB, free: 50.68 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.469e-05/2.675, allocations: 4 kB / 1.009 GB, free: 50.68 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00015/2.675, allocations: 71.33 kB / 1.009 GB, free: 50.59 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/2.675, allocations: 0 / 1.009 GB, free: 50.59 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.559e-05/2.675, allocations: 0 / 1.009 GB, free: 50.59 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.078e-05/2.675, allocations: 4 kB / 1.009 GB, free: 50.59 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.611e-05/2.675, allocations: 15.94 kB / 1.009 GB, free: 50.57 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001971/2.676, allocations: 178.5 kB / 1.009 GB, free: 50.35 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000304/2.676, allocations: 73.28 kB / 1.009 GB, free: 50.26 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.456e-05/2.676, allocations: 21.78 kB / 1.009 GB, free: 50.23 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1379/2.814, allocations: 35.88 MB / 1.044 GB, free: 10.89 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.406e-05/2.814, allocations: 34.52 kB / 1.044 GB, free: 10.85 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 3.016e-06/2.814, allocations: 4 kB / 1.044 GB, free: 10.85 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002903/2.814, allocations: 61.53 kB / 1.044 GB, free: 10.78 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.903e-05/2.814, allocations: 81.11 kB / 1.045 GB, free: 10.68 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.845e-05/2.815, allocations: 109 kB / 1.045 GB, free: 10.57 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.119e-05/2.815, allocations: 33.64 kB / 1.045 GB, free: 10.53 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.34e-05/2.815, allocations: 84.14 kB / 1.045 GB, free: 10.45 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.888e-05/2.815, allocations: 15.8 kB / 1.045 GB, free: 10.43 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.043e-06/2.815, allocations: 0 / 1.045 GB, free: 10.43 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.061e-05/2.815, allocations: 314.8 kB / 1.045 GB, free: 10.11 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.115e-05/2.815, allocations: 8 kB / 1.045 GB, free: 10.11 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.878e-05/2.815, allocations: 25.72 kB / 1.045 GB, free: 10.07 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.845e-05/2.815, allocations: 11.98 kB / 1.045 GB, free: 10.06 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/2.815, allocations: 0 / 1.045 GB, free: 10.06 MB / 362.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000163/2.815, allocations: 73.59 kB / 1.045 GB, free: 9.984 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/2.815, allocations: 4 kB / 1.045 GB, free: 9.98 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/2.815, allocations: 320 / 1.045 GB, free: 9.98 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.96e-05/2.815, allocations: 7.953 kB / 1.045 GB, free: 9.973 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001572/2.815, allocations: 8 kB / 1.045 GB, free: 9.965 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.061e-05/2.815, allocations: 3.984 kB / 1.045 GB, free: 9.961 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.77e-05/2.816, allocations: 11.94 kB / 1.045 GB, free: 9.949 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.897e-05/2.816, allocations: 3.984 kB / 1.045 GB, free: 9.945 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 7.003e-05/2.816, allocations: 109.7 kB / 1.045 GB, free: 9.832 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.463e-05/2.816, allocations: 11.84 kB / 1.045 GB, free: 9.82 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003023/2.816, allocations: 93.59 kB / 1.045 GB, free: 9.715 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/2.816, allocations: 7.953 kB / 1.045 GB, free: 9.707 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/2.816, allocations: 0 / 1.045 GB, free: 9.707 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/2.816, allocations: 4 kB / 1.045 GB, free: 9.703 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001391/2.816, allocations: 169.6 kB / 1.046 GB, free: 9.488 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/2.816, allocations: 3.875 kB / 1.046 GB, free: 9.488 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00013/2.816, allocations: 11.98 kB / 1.046 GB, free: 9.477 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/2.816, allocations: 4 kB / 1.046 GB, free: 9.473 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/2.816, allocations: 0 / 1.046 GB, free: 9.473 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/2.816, allocations: 0 / 1.046 GB, free: 9.473 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/2.816, allocations: 3.953 kB / 1.046 GB, free: 9.469 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001718/2.817, allocations: 115.5 kB / 1.046 GB, free: 9.328 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.997e-05/2.817, allocations: 85.08 kB / 1.046 GB, free: 9.227 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.278e-05/2.817, allocations: 7.938 kB / 1.046 GB, free: 9.219 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001459/2.817, allocations: 11.95 kB / 1.046 GB, free: 9.207 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.9e-05/2.817, allocations: 3.984 kB / 1.046 GB, free: 9.203 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.621e-05/2.817, allocations: 4 kB / 1.046 GB, free: 9.199 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.409e-05/2.817, allocations: 99.2 kB / 1.046 GB, free: 9.102 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.11e-07/2.817, allocations: 4 kB / 1.046 GB, free: 9.098 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001491/2.818, allocations: 335.5 kB / 1.046 GB, free: 8.77 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * 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.003169/2.822, allocations: 1.344 MB / 1.048 GB, free: 7.395 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001973/2.822, allocations: 24 kB / 1.048 GB, free: 7.371 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/2.822, allocations: 0 / 1.048 GB, free: 7.371 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.674e-05/2.822, allocations: 15.94 kB / 1.048 GB, free: 7.355 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002463/2.822, allocations: 12.69 kB / 1.048 GB, free: 7.344 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001353/2.824, allocations: 306.8 kB / 1.048 GB, free: 7.004 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000132/2.824, allocations: 0.6887 MB / 1.049 GB, free: 6.289 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001816/2.824, allocations: 48.3 kB / 1.049 GB, free: 6.238 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.244e-05/2.824, allocations: 27.36 kB / 1.049 GB, free: 6.211 MB / 362.7 MB Notification: Performance of SimCode: time 1.563e-06/2.824, allocations: 0 / 1.049 GB, free: 6.211 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.294/3.118, allocations: 11.18 MB / 1.06 GB, free: 103.4 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002573/3.118, allocations: 154 kB / 1.06 GB, free: 103.2 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.172/6.291, allocations: 3.938 kB / 1.06 GB, free: 103.2 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_res.mat does not exist to compare? outputFormat=mat