Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir1,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_DryAir1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.101/2.101, allocations: 205.8 MB / 218.9 MB, free: 9.266 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.161e-05/4.171e-05, allocations: 4 kB / 269.4 MB, free: 6.309 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1175/0.1176, allocations: 47.57 MB / 317 MB, free: 6.648 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.109/2.226, allocations: 0.6385 GB / 0.9481 GB, free: 34 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002761/2.227, allocations: 72.22 kB / 0.9481 GB, free: 33.96 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.055/4.281, allocations: 471.2 MB / 1.408 GB, free: 83.34 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.024e-06/4.282, allocations: 0 / 1.408 GB, free: 83.34 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.674e-05/4.282, allocations: 4 kB / 1.408 GB, free: 83.34 MB / 426.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.001797/4.283, allocations: 0.7212 MB / 1.409 GB, free: 82.65 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.572e-05/4.283, allocations: 9.672 kB / 1.409 GB, free: 82.64 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001008/4.284, allocations: 66.62 kB / 1.409 GB, free: 82.58 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006834/4.284, allocations: 51.28 kB / 1.409 GB, free: 82.53 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005584/4.285, allocations: 284.5 kB / 1.409 GB, free: 82.25 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.075e-05/4.285, allocations: 20.56 kB / 1.409 GB, free: 82.23 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.908e-05/4.285, allocations: 31.95 kB / 1.409 GB, free: 82.2 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007206/4.286, allocations: 322.9 kB / 1.41 GB, free: 81.88 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.584e-05/4.286, allocations: 6.344 kB / 1.41 GB, free: 81.88 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.333e-05/4.286, allocations: 16 kB / 1.41 GB, free: 81.86 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.318e-05/4.286, allocations: 4 kB / 1.41 GB, free: 81.86 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004697/4.286, allocations: 195.1 kB / 1.41 GB, free: 81.69 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01741/4.304, allocations: 5.527 MB / 1.415 GB, free: 76.49 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004173/4.304, allocations: 168.8 kB / 1.416 GB, free: 76.33 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001879/4.304, allocations: 87.64 kB / 1.416 GB, free: 76.24 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01498/4.319, allocations: 3.487 MB / 1.419 GB, free: 72.7 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.309e-05/4.32, allocations: 34.73 kB / 1.419 GB, free: 72.66 MB / 426.7 MB Notification: Performance of pre-optimization done (n=21): time 3.126e-06/4.32, allocations: 0 / 1.419 GB, free: 72.66 MB / 426.7 MB Notification: Performance of matching and sorting (n=26): time 0.008303/4.328, allocations: 1.257 MB / 1.42 GB, free: 71.37 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.172e-05/4.328, allocations: 59.41 kB / 1.42 GB, free: 71.3 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003337/4.328, allocations: 238.8 kB / 1.421 GB, free: 71.05 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.562e-05/4.328, allocations: 29.7 kB / 1.421 GB, free: 71.02 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001023/4.328, allocations: 179.9 kB / 1.421 GB, free: 70.84 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.346e-05/4.329, allocations: 99.05 kB / 1.421 GB, free: 70.75 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.274e-05/4.329, allocations: 4 kB / 1.421 GB, free: 70.74 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.429e-05/4.329, allocations: 342.8 kB / 1.421 GB, free: 70.4 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002209/4.329, allocations: 88 kB / 1.421 GB, free: 70.31 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003015/4.329, allocations: 190.5 kB / 1.421 GB, free: 70.09 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002862/4.329, allocations: 112 kB / 1.422 GB, free: 69.98 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/4.33, allocations: 0 / 1.422 GB, free: 69.98 MB / 426.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009811/4.33, allocations: 383.6 kB / 1.422 GB, free: 69.6 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.412e-05/4.331, allocations: 6.094 kB / 1.422 GB, free: 69.6 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/4.331, allocations: 4 kB / 1.422 GB, free: 69.59 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007582/4.338, allocations: 457.6 kB / 1.422 GB, free: 69.14 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005117/4.339, allocations: 71.91 kB / 1.422 GB, free: 69.07 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001591/4.34, allocations: 1.867 MB / 1.424 GB, free: 67.05 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004685/4.341, allocations: 23.84 kB / 1.424 GB, free: 67.02 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.54e-05/4.341, allocations: 16 kB / 1.424 GB, free: 67.01 MB / 426.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.0001627/4.341, allocations: 132.9 kB / 1.424 GB, free: 66.87 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.785e-05/4.341, allocations: 27.72 kB / 1.424 GB, free: 66.84 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009974/4.342, allocations: 481.2 kB / 1.425 GB, free: 66.36 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.417e-05/4.342, allocations: 11.89 kB / 1.425 GB, free: 66.35 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/4.342, allocations: 7.984 kB / 1.425 GB, free: 66.34 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007452/4.343, allocations: 0.7129 MB / 1.426 GB, free: 65.54 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001673/4.345, allocations: 0.9453 MB / 1.427 GB, free: 64.54 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.244e-06/4.345, allocations: 0 / 1.427 GB, free: 64.54 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003595/4.345, allocations: 46.92 kB / 1.427 GB, free: 64.49 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002567/4.348, allocations: 292.5 kB / 1.427 GB, free: 64.2 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.05e-05/4.348, allocations: 8 kB / 1.427 GB, free: 64.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005549/4.348, allocations: 0.6421 MB / 1.428 GB, free: 63.53 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.676e-06/4.348, allocations: 4.031 kB / 1.428 GB, free: 63.52 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001222/4.35, allocations: 0.7256 MB / 1.428 GB, free: 62.77 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001369/4.35, allocations: 108.7 kB / 1.428 GB, free: 62.64 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.58e-05/4.35, allocations: 4 kB / 1.428 GB, free: 62.64 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003617/4.35, allocations: 12 kB / 1.428 GB, free: 62.62 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.229e-05/4.35, allocations: 23.92 kB / 1.428 GB, free: 62.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.19e-05/4.35, allocations: 9.688 kB / 1.428 GB, free: 62.59 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002395/4.351, allocations: 191.2 kB / 1.429 GB, free: 62.41 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.01e-07/4.351, allocations: 0 / 1.429 GB, free: 62.41 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001178/4.352, allocations: 207.9 kB / 1.429 GB, free: 62.21 MB / 426.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.003242/4.355, allocations: 1.704 MB / 1.43 GB, free: 60.48 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001115/4.356, allocations: 425.7 kB / 1.431 GB, free: 60.06 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.192e-06/4.356, allocations: 4 kB / 1.431 GB, free: 60.05 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009333/4.357, allocations: 233.9 kB / 1.431 GB, free: 59.83 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001688/4.359, allocations: 164.4 kB / 1.431 GB, free: 59.67 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002239/4.361, allocations: 0.6857 MB / 1.432 GB, free: 58.96 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002617/4.361, allocations: 0.788 MB / 1.433 GB, free: 58.14 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0004084/4.362, allocations: 54.55 kB / 1.433 GB, free: 58.09 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001871/4.362, allocations: 103.4 kB / 1.433 GB, free: 57.99 MB / 426.7 MB Notification: Performance of SimCode: time 1.753e-06/4.362, allocations: 0 / 1.433 GB, free: 57.99 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04951/4.412, allocations: 14.9 MB / 1.447 GB, free: 43.25 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003019/4.412, allocations: 178.2 kB / 1.448 GB, free: 43.03 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.509/7.921, allocations: 0 / 1.448 GB, free: 43.03 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat does not exist to compare? outputFormat=mat