Running command: "" <> buildModelFMU(Modelica.Media.Examples.WaterIF97,fileNamePrefix="Modelica_3_2_1_Modelica_Media_Examples_WaterIF97",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.686/1.686, allocations: 171.2 MB / 183.3 MB, free: 12.08 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.323e-05/3.349e-05, allocations: 4 kB / 225.1 MB, free: 2.266 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2569/0.257, allocations: 38.77 MB / 263.8 MB, free: 9.809 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.065/7.322, allocations: 2.504 GB / 2.762 GB, free: 67.25 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002443/7.322, allocations: 68.33 kB / 2.762 GB, free: 67.21 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7543/8.076, allocations: 105.6 MB / 2.865 GB, free: 74.43 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.793e-06/8.076, allocations: 7.844 kB / 2.865 GB, free: 74.43 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.377e-05/8.076, allocations: 0 / 2.865 GB, free: 74.43 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.008207/8.085, allocations: 1.131 MB / 2.866 GB, free: 73.82 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.039e-05/8.085, allocations: 15.34 kB / 2.866 GB, free: 73.82 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.102e-05/8.085, allocations: 47.33 kB / 2.866 GB, free: 73.78 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006789/8.086, allocations: 53.69 kB / 2.866 GB, free: 73.77 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003146/8.086, allocations: 223.9 kB / 2.867 GB, free: 73.57 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.766e-05/8.086, allocations: 11.19 kB / 2.867 GB, free: 73.57 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.733e-05/8.086, allocations: 18.34 kB / 2.867 GB, free: 73.57 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001514/8.088, allocations: 378.2 kB / 2.867 GB, free: 73.46 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.556e-05/8.088, allocations: 0 / 2.867 GB, free: 73.46 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.298e-05/8.088, allocations: 11 kB / 2.867 GB, free: 73.46 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.217e-06/8.088, allocations: 3.094 kB / 2.867 GB, free: 73.46 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001431/8.089, allocations: 302.3 kB / 2.867 GB, free: 73.46 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.001874/8.091, allocations: 1.192 MB / 2.868 GB, free: 72.46 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009279/8.092, allocations: 268 kB / 2.869 GB, free: 72.38 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002279/8.092, allocations: 100.4 kB / 2.869 GB, free: 72.36 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1468/8.239, allocations: 47.27 MB / 2.915 GB, free: 42.55 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.071e-05/8.239, allocations: 40.44 kB / 2.915 GB, free: 42.5 MB / 362.7 MB Notification: Performance of pre-optimization done (n=23): time 2.485e-06/8.239, allocations: 0 / 2.915 GB, free: 42.5 MB / 362.7 MB Notification: Performance of matching and sorting (n=33): time 0.009017/8.248, allocations: 1.436 MB / 2.916 GB, free: 41.95 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.27e-05/8.248, allocations: 106.8 kB / 2.917 GB, free: 41.82 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001117/8.248, allocations: 115.5 kB / 2.917 GB, free: 41.71 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.489e-05/8.248, allocations: 28.83 kB / 2.917 GB, free: 41.68 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.078e-05/8.249, allocations: 103.2 kB / 2.917 GB, free: 41.59 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000111/8.249, allocations: 121.1 kB / 2.917 GB, free: 41.5 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.423e-05/8.249, allocations: 10.25 kB / 2.917 GB, free: 41.49 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.921e-05/8.249, allocations: 325.8 kB / 2.917 GB, free: 41.18 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002911/8.249, allocations: 100.2 kB / 2.917 GB, free: 41.12 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003358/8.249, allocations: 179.5 kB / 2.917 GB, free: 40.97 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003282/8.25, allocations: 131.6 kB / 2.918 GB, free: 40.9 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/8.25, allocations: 0 / 2.918 GB, free: 40.9 MB / 362.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0011/8.251, allocations: 370.8 kB / 2.918 GB, free: 40.65 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.525e-05/8.251, allocations: 4 kB / 2.918 GB, free: 40.65 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.167e-05/8.251, allocations: 4 kB / 2.918 GB, free: 40.64 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003371/8.251, allocations: 35.89 kB / 2.918 GB, free: 40.62 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008523/8.252, allocations: 94.38 kB / 2.918 GB, free: 40.55 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004051/8.253, allocations: 0.5476 MB / 2.919 GB, free: 40 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005242/8.253, allocations: 26.69 kB / 2.919 GB, free: 39.98 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.191e-05/8.253, allocations: 15.25 kB / 2.919 GB, free: 39.97 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 (medium.phase,state.phase,state2.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 39 * 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: 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 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001545/8.253, allocations: 125.8 kB / 2.919 GB, free: 39.85 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001233/8.253, allocations: 23.86 kB / 2.919 GB, free: 39.83 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002471/8.256, allocations: 1.431 MB / 2.92 GB, free: 38.79 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.483e-05/8.256, allocations: 23.62 kB / 2.92 GB, free: 38.77 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.837e-06/8.256, allocations: 0 / 2.92 GB, free: 38.77 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.098e-05/8.256, allocations: 0 / 2.92 GB, free: 38.77 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003543/8.26, allocations: 1.955 MB / 2.922 GB, free: 36.98 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-05/8.26, allocations: 0 / 2.922 GB, free: 36.98 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008351/8.261, allocations: 94 kB / 2.922 GB, free: 36.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004729/8.261, allocations: 67.62 kB / 2.922 GB, free: 36.85 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.861e-05/8.261, allocations: 19.5 kB / 2.922 GB, free: 36.84 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003836/8.262, allocations: 0.5908 MB / 2.923 GB, free: 36.23 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.566e-06/8.262, allocations: 0 / 2.923 GB, free: 36.23 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002276/8.264, allocations: 1.677 MB / 2.924 GB, free: 34.59 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001099/8.264, allocations: 136.1 kB / 2.925 GB, free: 34.44 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.002e-05/8.264, allocations: 12 kB / 2.925 GB, free: 34.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006218/8.265, allocations: 27.75 kB / 2.925 GB, free: 34.41 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001058/8.265, allocations: 31.28 kB / 2.925 GB, free: 34.39 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.647e-05/8.265, allocations: 23.77 kB / 2.925 GB, free: 34.37 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.874e-05/8.265, allocations: 95.06 kB / 2.925 GB, free: 34.28 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.51e-07/8.265, allocations: 0 / 2.925 GB, free: 34.28 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.004894/8.27, allocations: 0.96 MB / 2.926 GB, free: 33.34 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (medium.p,medium.h,V) * Number of discrete variables: 11 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.region3boundary,$cse6.region3boundary,medium.phase,$cse1.phase,$cse1.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01184/8.282, allocations: 3.767 MB / 2.929 GB, free: 29.82 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001545/8.283, allocations: 0.5547 MB / 2.93 GB, free: 29.3 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.602e-06/8.283, allocations: 0 / 2.93 GB, free: 29.3 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008727/8.284, allocations: 490.9 kB / 2.93 GB, free: 28.85 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009582/8.285, allocations: 72.38 kB / 2.93 GB, free: 28.8 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006284/8.292, allocations: 1.479 MB / 2.932 GB, free: 27.42 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002982/8.292, allocations: 0.8282 MB / 2.933 GB, free: 26.62 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0006705/8.293, allocations: 127.2 kB / 2.933 GB, free: 26.54 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000322/8.293, allocations: 126.5 kB / 2.933 GB, free: 26.43 MB / 362.7 MB Notification: Performance of SimCode: time 1.523e-06/8.293, allocations: 4 kB / 2.933 GB, free: 26.42 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08493/8.378, allocations: 31.94 MB / 2.964 GB, free: 5.152 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002745/8.378, allocations: 164.8 kB / 2.964 GB, free: 4.926 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.028/12.41, allocations: 0 / 2.964 GB, free: 4.926 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Media.Examples.WaterIF97_res.mat does not exist to compare? outputFormat=mat