Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T,fileNamePrefix="Modelica_3_2_2_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.909/1.909, allocations: 194.9 MB / 208 MB, free: 3.27 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.37e-05/3.39e-05, allocations: 4 kB / 255.5 MB, free: 2.641 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1026/0.1027, allocations: 44.5 MB / 300 MB, free: 6.082 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.067/2.17, allocations: 0.6414 GB / 0.9344 GB, free: 57.02 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002922/2.17, allocations: 75.95 kB / 0.9344 GB, free: 56.98 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6064/2.777, allocations: 117 MB / 1.049 GB, free: 115.8 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.034e-06/2.777, allocations: 0 / 1.049 GB, free: 115.8 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.749e-06/2.777, allocations: 4 kB / 1.049 GB, free: 115.8 MB / 410.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.001692/2.778, allocations: 0.5622 MB / 1.049 GB, free: 115.2 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.286e-05/2.778, allocations: 12.03 kB / 1.049 GB, free: 115.2 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.144e-05/2.778, allocations: 34.56 kB / 1.049 GB, free: 115.1 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002103/2.779, allocations: 7.234 kB / 1.049 GB, free: 115.1 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001887/2.779, allocations: 190.7 kB / 1.05 GB, free: 114.9 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.056e-05/2.779, allocations: 3.938 kB / 1.05 GB, free: 114.9 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.168e-05/2.779, allocations: 4 kB / 1.05 GB, free: 114.9 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001868/2.779, allocations: 65.98 kB / 1.05 GB, free: 114.8 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/2.779, allocations: 0 / 1.05 GB, free: 114.8 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.004e-05/2.779, allocations: 0 / 1.05 GB, free: 114.8 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/2.779, allocations: 0 / 1.05 GB, free: 114.8 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000112/2.779, allocations: 15.14 kB / 1.05 GB, free: 114.8 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002469/2.78, allocations: 177.4 kB / 1.05 GB, free: 114.6 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000379/2.78, allocations: 79.81 kB / 1.05 GB, free: 114.5 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.264e-05/2.78, allocations: 21.78 kB / 1.05 GB, free: 114.5 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1448/2.925, allocations: 35.87 MB / 1.085 GB, free: 77.85 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.523e-05/2.925, allocations: 34.56 kB / 1.085 GB, free: 77.81 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 3.176e-06/2.925, allocations: 3.938 kB / 1.085 GB, free: 77.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002935/2.925, allocations: 61.67 kB / 1.085 GB, free: 77.74 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.386e-05/2.925, allocations: 81.05 kB / 1.085 GB, free: 77.64 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001004/2.926, allocations: 109 kB / 1.085 GB, free: 77.53 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.728e-05/2.926, allocations: 25.7 kB / 1.085 GB, free: 77.5 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.916e-05/2.926, allocations: 88.14 kB / 1.085 GB, free: 77.41 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.681e-05/2.926, allocations: 19.47 kB / 1.085 GB, free: 77.39 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.033e-06/2.926, allocations: 4 kB / 1.085 GB, free: 77.39 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.653e-05/2.926, allocations: 322.8 kB / 1.086 GB, free: 77.06 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.866e-05/2.926, allocations: 4 kB / 1.086 GB, free: 77.06 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.839e-05/2.926, allocations: 24.53 kB / 1.086 GB, free: 77.03 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.609e-05/2.926, allocations: 11.98 kB / 1.086 GB, free: 77.02 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/2.926, allocations: 3.953 kB / 1.086 GB, free: 77.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001515/2.926, allocations: 65.62 kB / 1.086 GB, free: 76.95 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/2.926, allocations: 4 kB / 1.086 GB, free: 76.94 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/2.926, allocations: 0 / 1.086 GB, free: 76.94 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/2.926, allocations: 4 kB / 1.086 GB, free: 76.94 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001428/2.926, allocations: 15.98 kB / 1.086 GB, free: 76.92 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/2.926, allocations: 0 / 1.086 GB, free: 76.92 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.148e-05/2.926, allocations: 7.906 kB / 1.086 GB, free: 76.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.885e-05/2.926, allocations: 3.984 kB / 1.086 GB, free: 76.91 MB / 410.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 6.509e-05/2.927, allocations: 112.1 kB / 1.086 GB, free: 76.8 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.334e-05/2.927, allocations: 11.75 kB / 1.086 GB, free: 76.79 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002932/2.927, allocations: 97.86 kB / 1.086 GB, free: 76.68 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/2.927, allocations: 0 / 1.086 GB, free: 76.68 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.401e-06/2.927, allocations: 0 / 1.086 GB, free: 76.68 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/2.927, allocations: 3.984 kB / 1.086 GB, free: 76.68 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001398/2.927, allocations: 177.5 kB / 1.086 GB, free: 76.46 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/2.927, allocations: 0 / 1.086 GB, free: 76.46 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001216/2.927, allocations: 11.95 kB / 1.086 GB, free: 76.45 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.217e-06/2.927, allocations: 8 kB / 1.086 GB, free: 76.44 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.317e-05/2.927, allocations: 3.984 kB / 1.086 GB, free: 76.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/2.927, allocations: 0 / 1.086 GB, free: 76.43 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/2.927, allocations: 3.984 kB / 1.086 GB, free: 76.43 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001704/2.927, allocations: 111.5 kB / 1.086 GB, free: 76.3 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.175e-05/2.928, allocations: 92.94 kB / 1.086 GB, free: 76.19 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.51e-05/2.928, allocations: 11.92 kB / 1.086 GB, free: 76.18 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001423/2.928, allocations: 8 kB / 1.086 GB, free: 76.17 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.639e-05/2.928, allocations: 7.984 kB / 1.086 GB, free: 76.16 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.395e-05/2.928, allocations: 4 kB / 1.086 GB, free: 76.16 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.195e-05/2.928, allocations: 87.28 kB / 1.086 GB, free: 76.07 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.41e-07/2.928, allocations: 0 / 1.086 GB, free: 76.07 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001461/2.929, allocations: 339.5 kB / 1.087 GB, free: 75.74 MB / 410.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.002764/2.932, allocations: 1.324 MB / 1.088 GB, free: 74.39 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001788/2.932, allocations: 35.92 kB / 1.088 GB, free: 74.36 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.89e-06/2.932, allocations: 0 / 1.088 GB, free: 74.36 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.658e-05/2.932, allocations: 15.94 kB / 1.088 GB, free: 74.34 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002557/2.933, allocations: 12 kB / 1.088 GB, free: 74.33 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001088/2.934, allocations: 298.8 kB / 1.088 GB, free: 74 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001338/2.934, allocations: 0.6848 MB / 1.089 GB, free: 73.29 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001716/2.934, allocations: 52.28 kB / 1.089 GB, free: 73.23 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.851e-05/2.934, allocations: 23.42 kB / 1.089 GB, free: 73.21 MB / 410.7 MB Notification: Performance of SimCode: time 1.232e-06/2.934, allocations: 0 / 1.089 GB, free: 73.21 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04463/2.979, allocations: 11.18 MB / 1.1 GB, free: 62.09 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002934/2.979, allocations: 150.5 kB / 1.1 GB, free: 61.86 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.216/6.196, allocations: 0 / 1.1 GB, free: 61.86 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_res.mat does not exist to compare? outputFormat=mat