Running command: "" <> buildModelFMU(Modelica.Media.Examples.MoistAir,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Media_Examples_MoistAir",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.385/2.385, allocations: 195 MB / 202.9 MB, free: 6.719 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.74e-05/2.756e-05, allocations: 3.156 kB / 249.8 MB, free: 5.254 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1068, allocations: 44.5 MB / 294.3 MB, free: 10.65 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 12.68/12.79, allocations: 3.698 GB / 3.986 GB, free: 51.35 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002629/12.79, allocations: 65.53 kB / 3.986 GB, free: 51.32 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2142/13, allocations: 47.9 MB / 4.033 GB, free: 7.496 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.214e-06/13, allocations: 224 / 4.033 GB, free: 7.496 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.711e-05/13, allocations: 4 kB / 4.033 GB, free: 7.492 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.002708/13.01, allocations: 0.6346 MB / 4.033 GB, free: 6.809 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.642e-05/13.01, allocations: 12.03 kB / 4.033 GB, free: 6.797 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002044/13.01, allocations: 15.89 kB / 4.033 GB, free: 6.781 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003195/13.01, allocations: 214.8 kB / 4.033 GB, free: 6.531 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.322e-05/13.01, allocations: 4 kB / 4.033 GB, free: 6.527 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.202e-05/13.01, allocations: 8 kB / 4.033 GB, free: 6.52 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006293/13.01, allocations: 204.5 kB / 4.034 GB, free: 6.32 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005617/13.01, allocations: 221.1 kB / 4.034 GB, free: 6.094 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.098e-05/13.01, allocations: 0 / 4.034 GB, free: 6.094 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.932e-05/13.01, allocations: 7.984 kB / 4.034 GB, free: 6.086 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.74e-05/13.01, allocations: 4 kB / 4.034 GB, free: 6.082 MB / 410.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.002172/13.01, allocations: 0.6408 MB / 4.035 GB, free: 5.383 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008283/13.01, allocations: 185.3 kB / 4.035 GB, free: 5.184 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000281/13.01, allocations: 117.9 kB / 4.035 GB, free: 5.062 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004328/13.01, allocations: 356.4 kB / 4.035 GB, free: 4.641 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.851e-05/13.01, allocations: 50.45 kB / 4.035 GB, free: 4.582 MB / 410.7 MB Notification: Performance of pre-optimization done (n=29): time 3.296e-06/13.01, allocations: 4 kB / 4.035 GB, free: 4.578 MB / 410.7 MB Notification: Performance of matching and sorting (n=36): time 0.00294/13.01, allocations: 491.3 kB / 4.036 GB, free: 4.09 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.919e-05/13.01, allocations: 85.28 kB / 4.036 GB, free: 3.988 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001138/13.01, allocations: 109.1 kB / 4.036 GB, free: 3.875 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.452e-05/13.01, allocations: 25.7 kB / 4.036 GB, free: 3.844 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.423e-05/13.01, allocations: 108.6 kB / 4.036 GB, free: 3.734 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001225/13.01, allocations: 126.1 kB / 4.036 GB, free: 3.609 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.551e-05/13.01, allocations: 3.938 kB / 4.036 GB, free: 3.605 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.102e-05/13.01, allocations: 326.8 kB / 4.036 GB, free: 3.277 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003109/13.01, allocations: 107.9 kB / 4.037 GB, free: 3.172 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003583/13.02, allocations: 171.8 kB / 4.037 GB, free: 2.977 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005604/13.02, allocations: 136.8 kB / 4.037 GB, free: 2.844 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.96e-06/13.02, allocations: 7.953 kB / 4.037 GB, free: 2.836 MB / 410.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001141/13.02, allocations: 356.6 kB / 4.037 GB, free: 2.484 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.594e-05/13.02, allocations: 7.984 kB / 4.037 GB, free: 2.477 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/13.02, allocations: 4 kB / 4.037 GB, free: 2.473 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.581e-05/13.02, allocations: 4 kB / 4.037 GB, free: 2.469 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001055/13.02, allocations: 83.88 kB / 4.037 GB, free: 2.387 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.076e-05/13.02, allocations: 4 kB / 4.037 GB, free: 2.383 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006749/13.02, allocations: 24.02 kB / 4.037 GB, free: 2.359 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.64e-05/13.02, allocations: 19.98 kB / 4.037 GB, free: 2.34 MB / 410.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.0001558/13.02, allocations: 116.6 kB / 4.037 GB, free: 2.219 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001082/13.02, allocations: 309.3 kB / 4.038 GB, free: 1.91 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.856e-05/13.02, allocations: 19.8 kB / 4.038 GB, free: 1.891 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007977/13.02, allocations: 183.1 kB / 4.038 GB, free: 1.703 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.546e-06/13.02, allocations: 4 kB / 4.038 GB, free: 1.699 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/13.02, allocations: 0 / 4.038 GB, free: 1.699 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.024e-05/13.02, allocations: 3.984 kB / 4.038 GB, free: 1.695 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001986/13.02, allocations: 0.6535 MB / 4.039 GB, free: 0.9844 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/13.02, allocations: 0 / 4.039 GB, free: 0.9844 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009667/13.02, allocations: 80.03 kB / 4.039 GB, free: 0.9062 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.422e-05/13.02, allocations: 7.953 kB / 4.039 GB, free: 0.8984 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.001e-05/13.02, allocations: 8 kB / 4.039 GB, free: 0.8906 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.526e-06/13.02, allocations: 7.984 kB / 4.039 GB, free: 0.8828 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/13.02, allocations: 0 / 4.039 GB, free: 0.8828 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001476/13.03, allocations: 0.6942 MB / 4.039 GB, free: 120 kB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.314/13.34, allocations: 120.9 kB / 4.039 GB, free: 125.4 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000128/13.34, allocations: 6.812 kB / 4.039 GB, free: 125.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007995/13.34, allocations: 16 kB / 4.039 GB, free: 125.4 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.287e-05/13.34, allocations: 23.11 kB / 4.039 GB, free: 125.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.148e-05/13.34, allocations: 17.73 kB / 4.039 GB, free: 125.4 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.901e-05/13.34, allocations: 93.98 kB / 4.04 GB, free: 125.3 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.51e-07/13.34, allocations: 0 / 4.04 GB, free: 125.3 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001256/13.34, allocations: 164.5 kB / 4.04 GB, free: 125.3 MB / 410.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.003948/13.35, allocations: 2.273 MB / 4.042 GB, free: 124 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001028/13.35, allocations: 276.5 kB / 4.042 GB, free: 124 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.643e-06/13.35, allocations: 1.062 kB / 4.042 GB, free: 124 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004527/13.35, allocations: 145.8 kB / 4.042 GB, free: 124 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001354/13.35, allocations: 84.91 kB / 4.042 GB, free: 124 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002804/13.35, allocations: 0.5349 MB / 4.043 GB, free: 123.8 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003401/13.35, allocations: 0.7381 MB / 4.044 GB, free: 123.2 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001013/13.35, allocations: 81.12 kB / 4.044 GB, free: 123.2 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003623/13.35, allocations: 63 kB / 4.044 GB, free: 123.1 MB / 410.7 MB Notification: Performance of SimCode: time 2.304e-06/13.35, allocations: 0 / 4.044 GB, free: 123.1 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07865/13.43, allocations: 11.09 MB / 4.055 GB, free: 122.6 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003045/13.43, allocations: 125.3 kB / 4.055 GB, free: 122.4 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.741/17.17, allocations: 3.172 kB / 4.055 GB, free: 122.4 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Media.Examples.MoistAir_res.mat does not exist to compare? outputFormat=mat