Running command: "" <> buildModelFMU(Modelica.Media.Examples.WaterIF97,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Media_Examples_WaterIF97",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 3.083/3.083, allocations: 195 MB / 202.9 MB, free: 6.73 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.469e-05/3.492e-05, allocations: 2.75 kB / 249.7 MB, free: 5.262 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1333/0.1334, allocations: 44.51 MB / 294.3 MB, free: 10.67 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.35/10.48, allocations: 2.614 GB / 2.901 GB, free: 94.01 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003255/10.48, allocations: 66.48 kB / 2.901 GB, free: 94.01 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6464/11.13, allocations: 105.3 MB / 3.004 GB, free: 44.18 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.075e-06/11.13, allocations: 0 / 3.004 GB, free: 44.18 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.585e-05/11.13, allocations: 7.938 kB / 3.004 GB, free: 44.17 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.01093/11.14, allocations: 1.153 MB / 3.005 GB, free: 42.96 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.254e-05/11.14, allocations: 8.031 kB / 3.005 GB, free: 42.96 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.34e-05/11.14, allocations: 42.89 kB / 3.005 GB, free: 42.91 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009579/11.14, allocations: 63.81 kB / 3.005 GB, free: 42.84 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003662/11.14, allocations: 218.8 kB / 3.005 GB, free: 42.59 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.074e-05/11.14, allocations: 8.281 kB / 3.005 GB, free: 42.58 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.42e-05/11.14, allocations: 8 kB / 3.005 GB, free: 42.57 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008091/11.14, allocations: 200.5 kB / 3.006 GB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005128/11.14, allocations: 208.9 kB / 3.006 GB, free: 42.15 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.464e-05/11.14, allocations: 0 / 3.006 GB, free: 42.15 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.667e-05/11.14, allocations: 4 kB / 3.006 GB, free: 42.14 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.164e-05/11.14, allocations: 7.953 kB / 3.006 GB, free: 42.14 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.002239/11.14, allocations: 1.153 MB / 3.007 GB, free: 40.89 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000422/11.14, allocations: 168.2 kB / 3.007 GB, free: 40.7 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002442/11.14, allocations: 86.92 kB / 3.007 GB, free: 40.61 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.5728/11.72, allocations: 47.33 MB / 3.053 GB, free: 76.95 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.386e-05/11.72, allocations: 41.84 kB / 3.053 GB, free: 76.91 MB / 410.7 MB Notification: Performance of pre-optimization done (n=23): time 3.907e-06/11.72, allocations: 0 / 3.053 GB, free: 76.91 MB / 410.7 MB Notification: Performance of matching and sorting (n=33): time 0.01051/11.73, allocations: 1.242 MB / 3.055 GB, free: 76.61 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.565e-05/11.73, allocations: 107.1 kB / 3.055 GB, free: 76.49 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001202/11.73, allocations: 106.8 kB / 3.055 GB, free: 76.4 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.015e-05/11.73, allocations: 30.89 kB / 3.055 GB, free: 76.37 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.138e-05/11.73, allocations: 106.5 kB / 3.055 GB, free: 76.27 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001453/11.73, allocations: 114.3 kB / 3.055 GB, free: 76.21 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.71e-05/11.73, allocations: 0 / 3.055 GB, free: 76.21 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.534e-05/11.73, allocations: 335 kB / 3.055 GB, free: 75.9 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000397/11.73, allocations: 97.88 kB / 3.055 GB, free: 75.9 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004169/11.73, allocations: 167.8 kB / 3.056 GB, free: 75.83 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001563/11.73, allocations: 168.5 kB / 3.056 GB, free: 75.83 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/11.73, allocations: 1 kB / 3.056 GB, free: 75.83 MB / 410.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.00252/11.73, allocations: 394.1 kB / 3.056 GB, free: 75.78 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.054e-05/11.73, allocations: 5.469 kB / 3.056 GB, free: 75.78 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.219e-05/11.73, allocations: 2.188 kB / 3.056 GB, free: 75.78 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003248/11.73, allocations: 31.73 kB / 3.056 GB, free: 75.77 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001226/11.73, allocations: 93.09 kB / 3.056 GB, free: 75.77 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005582/11.73, allocations: 0.555 MB / 3.057 GB, free: 75.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007197/11.74, allocations: 23.62 kB / 3.057 GB, free: 75.25 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.275e-05/11.74, allocations: 16.94 kB / 3.057 GB, free: 75.25 MB / 410.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.000243/11.74, allocations: 113.4 kB / 3.057 GB, free: 75.14 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001725/11.74, allocations: 16.34 kB / 3.057 GB, free: 75.14 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003853/11.74, allocations: 1.422 MB / 3.058 GB, free: 74.98 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.823e-05/11.74, allocations: 24.14 kB / 3.058 GB, free: 74.98 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.024e-05/11.74, allocations: 1.469 kB / 3.058 GB, free: 74.98 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.501e-05/11.74, allocations: 3.891 kB / 3.058 GB, free: 74.98 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004978/11.74, allocations: 1.869 MB / 3.06 GB, free: 74.62 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.06e-05/11.74, allocations: 0 / 3.06 GB, free: 74.62 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001161/11.75, allocations: 85.61 kB / 3.06 GB, free: 74.62 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004807/11.75, allocations: 66.17 kB / 3.06 GB, free: 74.61 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.439e-05/11.75, allocations: 9.75 kB / 3.06 GB, free: 74.61 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005415/11.75, allocations: 0.6133 MB / 3.061 GB, free: 74.09 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.015e-06/11.75, allocations: 1.781 kB / 3.061 GB, free: 74.09 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003452/11.75, allocations: 1.671 MB / 3.063 GB, free: 73.6 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000139/11.75, allocations: 134.1 kB / 3.063 GB, free: 73.48 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.151e-05/11.75, allocations: 7.562 kB / 3.063 GB, free: 73.48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009205/11.75, allocations: 19.42 kB / 3.063 GB, free: 73.48 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001235/11.75, allocations: 33.69 kB / 3.063 GB, free: 73.48 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.484e-05/11.75, allocations: 22.8 kB / 3.063 GB, free: 73.48 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.073e-05/11.75, allocations: 86.41 kB / 3.063 GB, free: 73.41 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.42e-07/11.75, allocations: 0 / 3.063 GB, free: 73.41 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005832/11.76, allocations: 0.9455 MB / 3.064 GB, free: 73.41 MB / 410.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.01512/11.77, allocations: 3.776 MB / 3.068 GB, free: 72 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001831/11.78, allocations: 0.5295 MB / 3.068 GB, free: 71.98 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.514e-06/11.78, allocations: 3.969 kB / 3.068 GB, free: 71.98 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001114/11.78, allocations: 488.9 kB / 3.068 GB, free: 71.98 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001346/11.78, allocations: 70.91 kB / 3.069 GB, free: 71.98 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007926/11.79, allocations: 1.441 MB / 3.07 GB, free: 71.6 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003977/11.79, allocations: 0.8302 MB / 3.071 GB, free: 70.91 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000876/11.79, allocations: 137.1 kB / 3.071 GB, free: 70.9 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004977/11.79, allocations: 130 kB / 3.071 GB, free: 70.89 MB / 410.7 MB Notification: Performance of SimCode: time 1.903e-06/11.79, allocations: 0 / 3.071 GB, free: 70.89 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1249/11.91, allocations: 30.09 MB / 3.1 GB, free: 70.07 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0004993/11.91, allocations: 125.4 kB / 3.101 GB, free: 69.87 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 5.81/17.72, allocations: 9.875 kB / 3.101 GB, free: 69.87 MB / 410.7 MB