Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir1,fileNamePrefix="Modelica_3_2_1_Modelica_Media_Examples_ReferenceAir_DryAir1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.87/1.87, allocations: 171.2 MB / 183.3 MB, free: 12.02 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.993e-05/4.012e-05, allocations: 11.98 kB / 225.1 MB, free: 2.199 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2898/0.2898, allocations: 38.76 MB / 263.8 MB, free: 9.793 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.806/2.096, allocations: 0.6308 GB / 0.8884 GB, free: 19.14 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002699/2.097, allocations: 75.95 kB / 0.8885 GB, free: 19.1 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.127/4.224, allocations: 473 MB / 1.35 GB, free: 83.39 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.607e-06/4.224, allocations: 3.469 kB / 1.35 GB, free: 83.39 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.502e-05/4.224, allocations: 6.906 kB / 1.35 GB, free: 83.39 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.001604/4.225, allocations: 0.7047 MB / 1.351 GB, free: 82.96 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.909e-05/4.225, allocations: 10.5 kB / 1.351 GB, free: 82.96 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.56e-05/4.225, allocations: 64.42 kB / 1.351 GB, free: 82.92 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006039/4.226, allocations: 52.44 kB / 1.351 GB, free: 82.9 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004559/4.226, allocations: 291.5 kB / 1.351 GB, free: 82.68 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.737e-05/4.227, allocations: 22.91 kB / 1.352 GB, free: 82.68 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.616e-05/4.227, allocations: 28.59 kB / 1.352 GB, free: 82.68 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006466/4.227, allocations: 329.1 kB / 1.352 GB, free: 82.56 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.19e-05/4.227, allocations: 0 / 1.352 GB, free: 82.56 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.925e-05/4.227, allocations: 10.75 kB / 1.352 GB, free: 82.56 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.198e-05/4.227, allocations: 10.17 kB / 1.352 GB, free: 82.56 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004495/4.228, allocations: 205.8 kB / 1.352 GB, free: 82.56 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01645/4.244, allocations: 5.522 MB / 1.357 GB, free: 79.39 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004117/4.245, allocations: 174 kB / 1.358 GB, free: 79.36 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001887/4.245, allocations: 91.39 kB / 1.358 GB, free: 79.36 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01379/4.259, allocations: 3.484 MB / 1.361 GB, free: 77.85 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.502e-05/4.259, allocations: 32.69 kB / 1.361 GB, free: 77.81 MB / 362.7 MB Notification: Performance of pre-optimization done (n=21): time 5.3e-06/4.259, allocations: 3.562 kB / 1.361 GB, free: 77.81 MB / 362.7 MB Notification: Performance of matching and sorting (n=26): time 0.008154/4.267, allocations: 1.263 MB / 1.362 GB, free: 77.48 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.164e-05/4.267, allocations: 54 kB / 1.362 GB, free: 77.42 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003391/4.267, allocations: 233.3 kB / 1.363 GB, free: 77.32 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.691e-05/4.268, allocations: 29.39 kB / 1.363 GB, free: 77.29 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001125/4.268, allocations: 191.8 kB / 1.363 GB, free: 77.15 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.942e-05/4.268, allocations: 91.31 kB / 1.363 GB, free: 77.09 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.425e-05/4.268, allocations: 15.25 kB / 1.363 GB, free: 77.09 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.734e-05/4.268, allocations: 337.3 kB / 1.363 GB, free: 76.78 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002267/4.268, allocations: 85.97 kB / 1.363 GB, free: 76.78 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002835/4.268, allocations: 187.9 kB / 1.364 GB, free: 76.67 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002863/4.269, allocations: 118.1 kB / 1.364 GB, free: 76.66 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/4.269, allocations: 0 / 1.364 GB, free: 76.66 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009748/4.27, allocations: 383.9 kB / 1.364 GB, free: 76.6 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.22e-05/4.27, allocations: 4.719 kB / 1.364 GB, free: 76.6 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/4.27, allocations: 6.406 kB / 1.364 GB, free: 76.6 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007442/4.277, allocations: 456.2 kB / 1.364 GB, free: 76.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005154/4.278, allocations: 75 kB / 1.365 GB, free: 76.59 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00163/4.279, allocations: 1.877 MB / 1.366 GB, free: 74.81 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004545/4.28, allocations: 17.8 kB / 1.366 GB, free: 74.81 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.42e-05/4.28, allocations: 17.06 kB / 1.366 GB, free: 74.81 MB / 362.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.0001348/4.28, allocations: 124.9 kB / 1.367 GB, free: 74.71 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.663e-05/4.28, allocations: 29.73 kB / 1.367 GB, free: 74.69 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001026/4.281, allocations: 0.4892 MB / 1.367 GB, free: 74.61 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.044e-05/4.281, allocations: 3.969 kB / 1.367 GB, free: 74.61 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/4.281, allocations: 0 / 1.367 GB, free: 74.61 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007962/4.282, allocations: 0.7182 MB / 1.368 GB, free: 74.15 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001665/4.284, allocations: 0.9401 MB / 1.369 GB, free: 73.82 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.573e-06/4.284, allocations: 0 / 1.369 GB, free: 73.82 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003506/4.284, allocations: 50.5 kB / 1.369 GB, free: 73.82 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002563/4.287, allocations: 299 kB / 1.369 GB, free: 73.8 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.544e-05/4.287, allocations: 12.97 kB / 1.369 GB, free: 73.8 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005466/4.287, allocations: 0.6382 MB / 1.37 GB, free: 73.29 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/4.287, allocations: 6.562 kB / 1.37 GB, free: 73.29 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001207/4.289, allocations: 0.7162 MB / 1.37 GB, free: 73.1 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001311/4.289, allocations: 108 kB / 1.37 GB, free: 72.98 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.419e-05/4.289, allocations: 7.625 kB / 1.37 GB, free: 72.98 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003522/4.289, allocations: 21.27 kB / 1.37 GB, free: 72.98 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.558e-05/4.289, allocations: 18.8 kB / 1.37 GB, free: 72.98 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.167e-05/4.289, allocations: 7.719 kB / 1.37 GB, free: 72.98 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002383/4.29, allocations: 183.9 kB / 1.371 GB, free: 72.9 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.914e-06/4.29, allocations: 1.641 kB / 1.371 GB, free: 72.9 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001206/4.291, allocations: 214.8 kB / 1.371 GB, free: 72.88 MB / 362.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 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.003075/4.294, allocations: 1.712 MB / 1.373 GB, free: 72.05 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001101/4.295, allocations: 440.1 kB / 1.373 GB, free: 71.94 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/4.295, allocations: 0 / 1.373 GB, free: 71.94 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008712/4.296, allocations: 233.1 kB / 1.373 GB, free: 71.93 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001551/4.297, allocations: 167.7 kB / 1.373 GB, free: 71.93 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002092/4.3, allocations: 0.704 MB / 1.374 GB, free: 71.69 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000282/4.3, allocations: 0.7887 MB / 1.375 GB, free: 70.99 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003786/4.3, allocations: 52.78 kB / 1.375 GB, free: 70.98 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000188/4.301, allocations: 99.62 kB / 1.375 GB, free: 70.98 MB / 362.7 MB Notification: Performance of SimCode: time 1.303e-06/4.301, allocations: 0 / 1.375 GB, free: 70.98 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04888/4.349, allocations: 14.96 MB / 1.39 GB, free: 70.01 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003271/4.35, allocations: 168.6 kB / 1.39 GB, free: 69.79 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.279/7.628, allocations: 0 / 1.39 GB, free: 69.79 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat does not exist to compare? outputFormat=mat