Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir2,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Media_Examples_ReferenceAir_DryAir2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.18/2.18, allocations: 194.9 MB / 208.4 MB, free: 3.25 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.141e-05/3.158e-05, allocations: 4 kB / 255.4 MB, free: 3.113 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09653/0.09659, allocations: 44.51 MB / 299.9 MB, free: 6.547 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.922/2.018, allocations: 0.636 GB / 0.9289 GB, free: 52.98 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002822/2.019, allocations: 75.27 kB / 0.9289 GB, free: 52.94 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7279/2.747, allocations: 149.5 MB / 1.075 GB, free: 80.37 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.874e-06/2.747, allocations: 3.938 kB / 1.075 GB, free: 80.36 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.886e-05/2.747, allocations: 8 kB / 1.075 GB, free: 80.36 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001464/2.748, allocations: 0.667 MB / 1.076 GB, free: 79.64 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.82e-05/2.748, allocations: 8.031 kB / 1.076 GB, free: 79.64 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.573e-05/2.748, allocations: 78.53 kB / 1.076 GB, free: 79.55 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007581/2.749, allocations: 71.5 kB / 1.076 GB, free: 79.48 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005887/2.75, allocations: 341.5 kB / 1.076 GB, free: 79.11 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.041e-05/2.75, allocations: 28.78 kB / 1.076 GB, free: 79.08 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.794e-05/2.75, allocations: 36 kB / 1.076 GB, free: 79.05 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000883/2.751, allocations: 460.4 kB / 1.077 GB, free: 78.55 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.695e-05/2.751, allocations: 3.938 kB / 1.077 GB, free: 78.55 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.303e-05/2.751, allocations: 16 kB / 1.077 GB, free: 78.53 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.458e-05/2.751, allocations: 12 kB / 1.077 GB, free: 78.52 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006416/2.751, allocations: 290.9 kB / 1.077 GB, free: 78.24 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01725/2.769, allocations: 6.334 MB / 1.083 GB, free: 71.35 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006304/2.769, allocations: 286.9 kB / 1.083 GB, free: 71.06 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002986/2.77, allocations: 148.8 kB / 1.083 GB, free: 70.91 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01393/2.784, allocations: 3.493 MB / 1.087 GB, free: 67.13 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.702e-05/2.784, allocations: 46.36 kB / 1.087 GB, free: 67.08 MB / 410.7 MB Notification: Performance of pre-optimization done (n=35): time 3.978e-06/2.784, allocations: 3.984 kB / 1.087 GB, free: 67.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=45): time 0.01584/2.8, allocations: 2.265 MB / 1.089 GB, free: 64.76 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.087e-05/2.8, allocations: 55.41 kB / 1.089 GB, free: 64.69 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003936/2.8, allocations: 271.2 kB / 1.089 GB, free: 64.42 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.711e-05/2.8, allocations: 29.7 kB / 1.089 GB, free: 64.38 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001242/2.8, allocations: 282.5 kB / 1.09 GB, free: 64.11 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001299/2.8, allocations: 157.7 kB / 1.09 GB, free: 63.95 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.584e-05/2.8, allocations: 12 kB / 1.09 GB, free: 63.94 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.335e-05/2.801, allocations: 330.8 kB / 1.09 GB, free: 63.61 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003582/2.801, allocations: 149 kB / 1.09 GB, free: 63.46 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004208/2.801, allocations: 267.7 kB / 1.091 GB, free: 63.16 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000444/2.802, allocations: 190.1 kB / 1.091 GB, free: 62.97 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/2.802, allocations: 4 kB / 1.091 GB, free: 62.97 MB / 410.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001474/2.803, allocations: 0.5683 MB / 1.091 GB, free: 62.38 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.219e-05/2.803, allocations: 5.719 kB / 1.091 GB, free: 62.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/2.803, allocations: 4 kB / 1.091 GB, free: 62.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01524/2.819, allocations: 0.8766 MB / 1.092 GB, free: 61.49 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008156/2.819, allocations: 107.8 kB / 1.092 GB, free: 61.38 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002066/2.822, allocations: 2.455 MB / 1.095 GB, free: 58.74 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006686/2.822, allocations: 39.95 kB / 1.095 GB, free: 58.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.083e-05/2.822, allocations: 20 kB / 1.095 GB, free: 58.68 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 58 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 1,2 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001621/2.822, allocations: 140.8 kB / 1.095 GB, free: 58.54 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.651e-05/2.823, allocations: 39.58 kB / 1.095 GB, free: 58.5 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001673/2.824, allocations: 0.8512 MB / 1.096 GB, free: 57.63 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.701e-05/2.824, allocations: 11.98 kB / 1.096 GB, free: 57.62 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.347e-06/2.824, allocations: 0 / 1.096 GB, free: 57.62 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001235/2.826, allocations: 0.9533 MB / 1.097 GB, free: 56.59 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002607/2.828, allocations: 1.481 MB / 1.098 GB, free: 55.06 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.203e-06/2.828, allocations: 4 kB / 1.098 GB, free: 55.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006012/2.829, allocations: 79.89 kB / 1.098 GB, free: 54.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005019/2.834, allocations: 0.5789 MB / 1.099 GB, free: 54.39 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.934e-05/2.834, allocations: 19.98 kB / 1.099 GB, free: 54.37 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001047/2.835, allocations: 1.273 MB / 1.1 GB, free: 53.05 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/2.835, allocations: 4.062 kB / 1.1 GB, free: 53.04 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002055/2.837, allocations: 1.219 MB / 1.101 GB, free: 51.79 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002043/2.837, allocations: 120.6 kB / 1.101 GB, free: 51.65 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.365e-05/2.838, allocations: 8 kB / 1.101 GB, free: 51.64 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005183/2.838, allocations: 31.89 kB / 1.101 GB, free: 51.61 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.694e-05/2.838, allocations: 23.97 kB / 1.101 GB, free: 51.59 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.889e-05/2.838, allocations: 19.98 kB / 1.101 GB, free: 51.57 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002963/2.838, allocations: 207.1 kB / 1.102 GB, free: 51.37 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.2e-07/2.838, allocations: 0 / 1.102 GB, free: 51.37 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001269/2.84, allocations: 259.8 kB / 1.102 GB, free: 51.11 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (volume.medium.p,volume.medium.T,volume1.medium.p,volume1.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.003929/2.844, allocations: 2.165 MB / 1.104 GB, free: 48.94 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001695/2.845, allocations: 0.675 MB / 1.105 GB, free: 48.25 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.202e-06/2.845, allocations: 4.188 kB / 1.105 GB, free: 48.25 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001576/2.847, allocations: 432.2 kB / 1.105 GB, free: 47.83 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002137/2.849, allocations: 225.1 kB / 1.105 GB, free: 47.61 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002949/2.852, allocations: 1.155 MB / 1.106 GB, free: 46.41 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003509/2.853, allocations: 0.8441 MB / 1.107 GB, free: 45.54 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003042/2.853, allocations: 167.4 kB / 1.107 GB, free: 45.38 MB / 410.7 MB Notification: Performance of SimCode: time 1.313e-06/2.853, allocations: 4 kB / 1.107 GB, free: 45.38 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.163/6.016, allocations: 15.26 MB / 1.122 GB, free: 30.1 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Media.Examples.ReferenceAir.DryAir2_res.mat does not exist to compare? outputFormat=mat