Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir1,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Media_Examples_ReferenceAir_DryAir1",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.338/2.338, allocations: 195 MB / 202.9 MB, free: 6.715 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.87e-05/2.882e-05, allocations: 2.031 kB / 249.8 MB, free: 5.285 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1055/0.1056, allocations: 44.52 MB / 294.3 MB, free: 10.65 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.276/2.382, allocations: 0.6354 GB / 0.9228 GB, free: 43.21 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002957/2.382, allocations: 78.58 kB / 0.9228 GB, free: 43.18 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.42/4.802, allocations: 461.2 MB / 1.373 GB, free: 97.57 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.504e-06/4.802, allocations: 0 / 1.373 GB, free: 97.57 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.035e-05/4.802, allocations: 13.66 kB / 1.373 GB, free: 97.57 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.001888/4.804, allocations: 0.71 MB / 1.374 GB, free: 96.88 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.316e-05/4.804, allocations: 8.031 kB / 1.374 GB, free: 96.88 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008595/4.805, allocations: 60.98 kB / 1.374 GB, free: 96.83 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006157/4.806, allocations: 275.5 kB / 1.374 GB, free: 96.55 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.435e-05/4.806, allocations: 16 kB / 1.374 GB, free: 96.54 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.753e-05/4.806, allocations: 19.66 kB / 1.374 GB, free: 96.52 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005641/4.806, allocations: 176 kB / 1.374 GB, free: 96.36 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007065/4.807, allocations: 293.1 kB / 1.375 GB, free: 96.07 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.572e-05/4.807, allocations: 0 / 1.375 GB, free: 96.07 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.063e-05/4.807, allocations: 0 / 1.375 GB, free: 96.07 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.615e-05/4.807, allocations: 11.33 kB / 1.375 GB, free: 96.07 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02014/4.827, allocations: 5.452 MB / 1.38 GB, free: 90.98 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004237/4.828, allocations: 172.4 kB / 1.38 GB, free: 90.81 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002074/4.828, allocations: 77.23 kB / 1.38 GB, free: 90.73 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01767/4.846, allocations: 3.487 MB / 1.384 GB, free: 87.62 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.711e-05/4.846, allocations: 42.75 kB / 1.384 GB, free: 87.57 MB / 410.7 MB Notification: Performance of pre-optimization done (n=21): time 4.098e-06/4.846, allocations: 0 / 1.384 GB, free: 87.57 MB / 410.7 MB Notification: Performance of matching and sorting (n=26): time 0.006182/4.852, allocations: 0.9885 MB / 1.385 GB, free: 86.64 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.883e-05/4.852, allocations: 60.89 kB / 1.385 GB, free: 86.57 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003132/4.852, allocations: 197.2 kB / 1.385 GB, free: 86.39 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.699e-05/4.853, allocations: 25.7 kB / 1.385 GB, free: 86.36 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001221/4.853, allocations: 188.4 kB / 1.385 GB, free: 86.18 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.311e-05/4.853, allocations: 85.77 kB / 1.385 GB, free: 86.1 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.533e-05/4.853, allocations: 4 kB / 1.385 GB, free: 86.1 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.935e-05/4.853, allocations: 330.5 kB / 1.386 GB, free: 85.77 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002435/4.853, allocations: 92.23 kB / 1.386 GB, free: 85.69 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002947/4.853, allocations: 169.9 kB / 1.386 GB, free: 85.49 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001483/4.855, allocations: 191 kB / 1.386 GB, free: 85.33 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/4.855, allocations: 0 / 1.386 GB, free: 85.33 MB / 410.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.002258/4.857, allocations: 435.2 kB / 1.386 GB, free: 84.95 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.766e-05/4.857, allocations: 5.406 kB / 1.386 GB, free: 84.95 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.47e-05/4.857, allocations: 7.75 kB / 1.386 GB, free: 84.95 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004498/4.858, allocations: 70.73 kB / 1.386 GB, free: 84.88 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005826/4.858, allocations: 70.36 kB / 1.387 GB, free: 84.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0025/4.861, allocations: 1.881 MB / 1.388 GB, free: 82.86 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005019/4.861, allocations: 18.66 kB / 1.388 GB, free: 82.84 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.038e-05/4.861, allocations: 14.34 kB / 1.388 GB, free: 82.83 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001497/4.862, allocations: 112.9 kB / 1.389 GB, free: 82.71 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001768/4.863, allocations: 338.1 kB / 1.389 GB, free: 82.41 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.624e-05/4.864, allocations: 23.72 kB / 1.389 GB, free: 82.38 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001562/4.865, allocations: 475.7 kB / 1.389 GB, free: 81.98 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.325e-05/4.865, allocations: 4 kB / 1.389 GB, free: 81.97 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/4.865, allocations: 3.953 kB / 1.389 GB, free: 81.97 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001283/4.866, allocations: 0.6948 MB / 1.39 GB, free: 81.22 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002373/4.869, allocations: 0.8802 MB / 1.391 GB, free: 80.42 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.438e-06/4.869, allocations: 4 kB / 1.391 GB, free: 80.42 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004284/4.869, allocations: 46.83 kB / 1.391 GB, free: 80.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004977/4.87, allocations: 93.44 kB / 1.391 GB, free: 80.3 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.435e-05/4.87, allocations: 2.438 kB / 1.391 GB, free: 80.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000848/4.871, allocations: 0.6808 MB / 1.392 GB, free: 79.62 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/4.871, allocations: 0 / 1.392 GB, free: 79.62 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001784/4.873, allocations: 0.7031 MB / 1.392 GB, free: 78.95 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001273/4.873, allocations: 110.9 kB / 1.392 GB, free: 78.82 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.562e-05/4.873, allocations: 4 kB / 1.392 GB, free: 78.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004109/4.873, allocations: 6.906 kB / 1.392 GB, free: 78.82 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.678e-05/4.873, allocations: 17.34 kB / 1.393 GB, free: 78.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.119e-05/4.873, allocations: 15.27 kB / 1.393 GB, free: 78.79 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002045/4.874, allocations: 156.1 kB / 1.393 GB, free: 78.65 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.61e-07/4.874, allocations: 0 / 1.393 GB, free: 78.65 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001388/4.875, allocations: 202.6 kB / 1.393 GB, free: 78.46 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 23 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.00403/4.879, allocations: 1.695 MB / 1.395 GB, free: 76.87 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0012/4.88, allocations: 417.9 kB / 1.395 GB, free: 76.48 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/4.88, allocations: 0 / 1.395 GB, free: 76.48 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000588/4.881, allocations: 202.4 kB / 1.395 GB, free: 76.29 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001678/4.883, allocations: 137.5 kB / 1.395 GB, free: 76.2 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002306/4.885, allocations: 0.6669 MB / 1.396 GB, free: 75.57 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003011/4.885, allocations: 0.7907 MB / 1.397 GB, free: 74.8 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004438/4.886, allocations: 49.17 kB / 1.397 GB, free: 74.77 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002232/4.886, allocations: 94.84 kB / 1.397 GB, free: 74.68 MB / 410.7 MB Notification: Performance of SimCode: time 1.393e-06/4.886, allocations: 0 / 1.397 GB, free: 74.68 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07409/4.96, allocations: 11.9 MB / 1.408 GB, free: 66.06 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002593/4.96, allocations: 138.9 kB / 1.409 GB, free: 65.86 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.905/8.865, allocations: 8.031 kB / 1.409 GB, free: 65.86 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat does not exist to compare? outputFormat=mat