Running command: "" <> buildModelFMU(Modelica.Media.Examples.MoistAir,fileNamePrefix="Modelica_3_2_1_Modelica_Media_Examples_MoistAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.743/1.743, allocations: 171.2 MB / 183.3 MB, free: 12.02 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.386e-05/3.417e-05, allocations: 4 kB / 225.1 MB, free: 2.215 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2652/0.2653, allocations: 38.77 MB / 263.8 MB, free: 9.797 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.71/10.98, allocations: 3.693 GB / 3.951 GB, free: 60.83 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002618/10.98, allocations: 66.16 kB / 3.951 GB, free: 60.8 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1774/11.16, allocations: 48.32 MB / 3.998 GB, free: 17.42 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.482e-06/11.16, allocations: 0 / 3.998 GB, free: 17.42 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.513e-05/11.16, allocations: 4 kB / 3.998 GB, free: 17.41 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.002388/11.16, allocations: 0.6268 MB / 3.999 GB, free: 16.74 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.257e-05/11.16, allocations: 12.03 kB / 3.999 GB, free: 16.73 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.831e-05/11.16, allocations: 50.48 kB / 3.999 GB, free: 16.67 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000192/11.16, allocations: 19.81 kB / 3.999 GB, free: 16.65 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002781/11.16, allocations: 210.9 kB / 3.999 GB, free: 16.4 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.216e-05/11.16, allocations: 16.31 kB / 3.999 GB, free: 16.39 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.853e-05/11.16, allocations: 15.91 kB / 3.999 GB, free: 16.37 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005864/11.16, allocations: 245.4 kB / 3.999 GB, free: 16.12 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.782e-05/11.16, allocations: 0 / 3.999 GB, free: 16.12 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.517e-05/11.16, allocations: 12 kB / 3.999 GB, free: 16.11 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.647e-05/11.16, allocations: 4 kB / 3.999 GB, free: 16.11 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005902/11.16, allocations: 228.6 kB / 4 GB, free: 15.88 MB / 362.7 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001976/11.16, allocations: 0.6871 MB / 4 GB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007549/11.17, allocations: 209.2 kB / 4.001 GB, free: 14.9 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002691/11.17, allocations: 109.7 kB / 4.001 GB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003928/11.17, allocations: 364.4 kB / 4.001 GB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/11.17, allocations: 34.56 kB / 4.001 GB, free: 14.32 MB / 362.7 MB Notification: Performance of pre-optimization done (n=29): time 3.597e-06/11.17, allocations: 0 / 4.001 GB, free: 14.32 MB / 362.7 MB Notification: Performance of matching and sorting (n=36): time 0.002486/11.17, allocations: 0.5054 MB / 4.002 GB, free: 13.81 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.879e-05/11.17, allocations: 81.3 kB / 4.002 GB, free: 13.71 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000121/11.17, allocations: 117.1 kB / 4.002 GB, free: 13.59 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.593e-05/11.17, allocations: 33.7 kB / 4.002 GB, free: 13.55 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.134e-05/11.17, allocations: 108.6 kB / 4.002 GB, free: 13.44 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001145/11.17, allocations: 126.1 kB / 4.002 GB, free: 13.32 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.73e-05/11.17, allocations: 8 kB / 4.002 GB, free: 13.31 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.998e-05/11.17, allocations: 330.8 kB / 4.002 GB, free: 12.98 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003031/11.17, allocations: 104 kB / 4.002 GB, free: 12.88 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003453/11.17, allocations: 187.7 kB / 4.003 GB, free: 12.66 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003537/11.17, allocations: 128.9 kB / 4.003 GB, free: 12.54 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/11.17, allocations: 0 / 4.003 GB, free: 12.54 MB / 362.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009176/11.17, allocations: 361.5 kB / 4.003 GB, free: 12.18 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/11.17, allocations: 8.219 kB / 4.003 GB, free: 12.17 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/11.17, allocations: 4 kB / 4.003 GB, free: 12.17 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.602e-05/11.17, allocations: 4 kB / 4.003 GB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009198/11.17, allocations: 91.81 kB / 4.003 GB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.39e-05/11.17, allocations: 4 kB / 4.003 GB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005661/11.17, allocations: 23.97 kB / 4.003 GB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.575e-05/11.17, allocations: 20 kB / 4.003 GB, free: 12.03 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * 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 0.0001431/11.17, allocations: 124.9 kB / 4.003 GB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.738e-05/11.17, allocations: 27.75 kB / 4.003 GB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005735/11.17, allocations: 178.2 kB / 4.003 GB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.516e-06/11.17, allocations: 4 kB / 4.003 GB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.427e-06/11.17, allocations: 4 kB / 4.003 GB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.606e-06/11.17, allocations: 3.984 kB / 4.004 GB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001792/11.18, allocations: 0.6985 MB / 4.004 GB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.532e-06/11.18, allocations: 0 / 4.004 GB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007946/11.18, allocations: 75.89 kB / 4.004 GB, free: 10.83 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.34e-05/11.18, allocations: 12.14 kB / 4.004 GB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.679e-05/11.18, allocations: 8 kB / 4.004 GB, free: 10.81 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.626e-06/11.18, allocations: 7.938 kB / 4.004 GB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.119e-06/11.18, allocations: 7.953 kB / 4.004 GB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00127/11.18, allocations: 0.7051 MB / 4.005 GB, free: 10.02 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001849/11.18, allocations: 120.9 kB / 4.005 GB, free: 9.883 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.321e-05/11.18, allocations: 16.05 kB / 4.005 GB, free: 9.867 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006068/11.18, allocations: 19.89 kB / 4.005 GB, free: 9.848 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.569e-05/11.18, allocations: 27.92 kB / 4.005 GB, free: 9.82 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.331e-05/11.18, allocations: 19.98 kB / 4.005 GB, free: 9.801 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.849e-05/11.18, allocations: 99.53 kB / 4.005 GB, free: 9.703 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.91e-07/11.18, allocations: 0 / 4.005 GB, free: 9.703 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001021/11.18, allocations: 183.8 kB / 4.005 GB, free: 9.523 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (medium.p,medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 38 * 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.002762/11.18, allocations: 2.208 MB / 4.008 GB, free: 7.246 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008332/11.18, allocations: 287.5 kB / 4.008 GB, free: 6.969 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/11.18, allocations: 0 / 4.008 GB, free: 6.969 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003459/11.18, allocations: 160.2 kB / 4.008 GB, free: 6.816 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009665/11.18, allocations: 87.97 kB / 4.008 GB, free: 6.73 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002605/11.19, allocations: 0.5955 MB / 4.009 GB, free: 6.082 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002459/11.19, allocations: 0.7413 MB / 4.009 GB, free: 5.316 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0007192/11.19, allocations: 74.02 kB / 4.009 GB, free: 5.246 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002718/11.19, allocations: 67.41 kB / 4.01 GB, free: 5.18 MB / 362.7 MB Notification: Performance of SimCode: time 1.403e-06/11.19, allocations: 0 / 4.01 GB, free: 5.18 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2906/11.48, allocations: 17.59 MB / 4.027 GB, free: 102.2 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000262/11.48, allocations: 131.1 kB / 4.027 GB, free: 102 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.146/14.63, allocations: 0 / 4.027 GB, free: 102 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Media.Examples.MoistAir_res.mat does not exist to compare? outputFormat=mat