Running command: "" <> buildModelFMU(Modelica.Media.Examples.MixtureGases,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Media_Examples_MixtureGases",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.349/2.349, allocations: 195 MB / 202.9 MB, free: 6.719 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.098e-05/3.1e-05, allocations: 1.969 kB / 249.8 MB, free: 5.266 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.114/0.1141, allocations: 44.51 MB / 294.3 MB, free: 10.66 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.723/2.837, allocations: 0.7331 GB / 1.021 GB, free: 104.9 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000251/2.837, allocations: 64.72 kB / 1.021 GB, free: 104.8 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4218/3.259, allocations: 105.4 MB / 1.124 GB, free: 5.316 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.974e-06/3.259, allocations: 0 / 1.124 GB, free: 5.316 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.749e-05/3.259, allocations: 4 kB / 1.124 GB, free: 5.312 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.004129/3.264, allocations: 0.7634 MB / 1.124 GB, free: 4.504 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.321e-05/3.264, allocations: 8.031 kB / 1.124 GB, free: 4.496 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003716/3.267, allocations: 259.9 kB / 1.125 GB, free: 4.242 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006661/3.268, allocations: 290.5 kB / 1.125 GB, free: 3.918 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.393e-05/3.268, allocations: 8 kB / 1.125 GB, free: 3.91 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001426/3.268, allocations: 16 kB / 1.125 GB, free: 3.895 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001594/3.27, allocations: 0.5988 MB / 1.125 GB, free: 3.297 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001482/3.271, allocations: 0.574 MB / 1.126 GB, free: 2.703 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.061e-05/3.271, allocations: 0 / 1.126 GB, free: 2.703 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001189/3.272, allocations: 8 kB / 1.126 GB, free: 2.695 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.186e-05/3.272, allocations: 16.44 kB / 1.126 GB, free: 2.68 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.006821/3.278, allocations: 1.733 MB / 1.128 GB, free: 0.8633 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001041/3.28, allocations: 389 kB / 1.128 GB, free: 476 kB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004697/3.28, allocations: 178.1 kB / 1.128 GB, free: 292 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3089/3.589, allocations: 0.9108 MB / 1.129 GB, free: 117.9 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.303e-05/3.589, allocations: 36.66 kB / 1.129 GB, free: 117.9 MB / 410.7 MB Notification: Performance of pre-optimization done (n=35): time 3.536e-06/3.589, allocations: 0.875 kB / 1.129 GB, free: 117.9 MB / 410.7 MB Notification: Performance of matching and sorting (n=48): time 0.0149/3.604, allocations: 2.212 MB / 1.131 GB, free: 117 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.762e-05/3.604, allocations: 86.2 kB / 1.131 GB, free: 117 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002036/3.604, allocations: 155.3 kB / 1.132 GB, free: 116.9 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.792e-05/3.604, allocations: 25.7 kB / 1.132 GB, free: 116.8 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000114/3.605, allocations: 180.3 kB / 1.132 GB, free: 116.7 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002274/3.605, allocations: 171.3 kB / 1.132 GB, free: 116.6 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.514e-05/3.605, allocations: 0 / 1.132 GB, free: 116.6 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.113e-05/3.605, allocations: 335.6 kB / 1.132 GB, free: 116.3 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006051/3.606, allocations: 202.3 kB / 1.132 GB, free: 116.3 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007523/3.606, allocations: 355.6 kB / 1.133 GB, free: 116.1 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008541/3.607, allocations: 233.7 kB / 1.133 GB, free: 116.1 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.488e-06/3.607, allocations: 1.562 kB / 1.133 GB, free: 116.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002172/3.609, allocations: 0.6271 MB / 1.134 GB, free: 116 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.21e-05/3.61, allocations: 9.906 kB / 1.134 GB, free: 116 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.683e-05/3.61, allocations: 5.234 kB / 1.134 GB, free: 116 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002888/3.61, allocations: 48.3 kB / 1.134 GB, free: 116 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002384/3.612, allocations: 182.8 kB / 1.134 GB, free: 116 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007644/3.613, allocations: 1.082 MB / 1.135 GB, free: 115 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001528/3.615, allocations: 33.5 kB / 1.135 GB, free: 115 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001567/3.615, allocations: 37.19 kB / 1.135 GB, free: 115 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 68 * 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 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002887/3.615, allocations: 127.1 kB / 1.135 GB, free: 114.9 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001797/3.617, allocations: 500 kB / 1.136 GB, free: 114.8 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001746/3.617, allocations: 34.34 kB / 1.136 GB, free: 114.8 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002703/3.62, allocations: 0.6446 MB / 1.136 GB, free: 114.7 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.165e-05/3.62, allocations: 5.531 kB / 1.136 GB, free: 114.7 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.448e-06/3.62, allocations: 1.188 kB / 1.136 GB, free: 114.7 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.385e-05/3.62, allocations: 4.984 kB / 1.136 GB, free: 114.7 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004308/3.624, allocations: 1.368 MB / 1.138 GB, free: 114.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.071e-05/3.624, allocations: 5.688 kB / 1.138 GB, free: 114.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002229/3.627, allocations: 148.3 kB / 1.138 GB, free: 114.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002212/3.627, allocations: 44.39 kB / 1.138 GB, free: 114.2 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001174/3.627, allocations: 21.12 kB / 1.138 GB, free: 114.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001849/3.629, allocations: 2.433 MB / 1.14 GB, free: 111.8 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.244e-06/3.629, allocations: 1.375 kB / 1.14 GB, free: 111.8 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002588/3.631, allocations: 0.9785 MB / 1.141 GB, free: 111.3 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001147/3.632, allocations: 97.83 kB / 1.141 GB, free: 111.2 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001764/3.632, allocations: 5.234 kB / 1.141 GB, free: 111.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001458/3.633, allocations: 32.67 kB / 1.141 GB, free: 111.2 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001329/3.633, allocations: 42.36 kB / 1.141 GB, free: 111.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001498/3.634, allocations: 38.3 kB / 1.141 GB, free: 111.2 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001389/3.634, allocations: 121 kB / 1.141 GB, free: 111.2 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.372e-06/3.634, allocations: 0 / 1.141 GB, free: 111.2 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002598/3.636, allocations: 407.2 kB / 1.142 GB, free: 111.2 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (medium2.p,medium2.T,medium1.p,medium1.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 46 * 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: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008555/3.645, allocations: 3.232 MB / 1.145 GB, free: 109.6 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002098/3.647, allocations: 0.5152 MB / 1.145 GB, free: 109.6 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.198e-06/3.647, allocations: 0 / 1.145 GB, free: 109.6 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001131/3.648, allocations: 466.9 kB / 1.146 GB, free: 109.4 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001267/3.65, allocations: 90.16 kB / 1.146 GB, free: 109.4 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003955/3.654, allocations: 0.895 MB / 1.147 GB, free: 109.1 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003681/3.654, allocations: 0.795 MB / 1.148 GB, free: 108.4 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002458/3.656, allocations: 185.8 kB / 1.148 GB, free: 108.4 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008083/3.657, allocations: 122.8 kB / 1.148 GB, free: 108.4 MB / 410.7 MB Notification: Performance of SimCode: time 1.212e-06/3.657, allocations: 0 / 1.148 GB, free: 108.4 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1047/3.762, allocations: 21.69 MB / 1.169 GB, free: 107.3 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003242/3.762, allocations: 129.1 kB / 1.169 GB, free: 107.1 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 4.449/8.211, allocations: 0 / 1.169 GB, free: 107.1 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Media.Examples.MixtureGases_res.mat does not exist to compare? outputFormat=mat