Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Valves_TestValveCompressible",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.621/2.621, allocations: 235 MB / 247.2 MB, free: 14.6 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.908e-05/3.923e-05, allocations: 4 kB / 305 MB, free: 5.289 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4379/0.4379, allocations: 54.85 MB / 359.9 MB, free: 3.082 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.923/8.361, allocations: 2.607 GB / 2.958 GB, free: 112.1 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003439/8.362, allocations: 82.45 kB / 2.959 GB, free: 112.1 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.27/9.632, allocations: 235.6 MB / 3.189 GB, free: 72.07 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.553e-06/9.632, allocations: 0 / 3.189 GB, free: 72.07 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.486e-05/9.632, allocations: 11.06 kB / 3.189 GB, free: 72.07 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.00592/9.638, allocations: 1.286 MB / 3.19 GB, free: 71.28 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.012e-05/9.638, allocations: 7.906 kB / 3.19 GB, free: 71.28 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001456/9.638, allocations: 69.58 kB / 3.19 GB, free: 71.22 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00281/9.641, allocations: 255.7 kB / 3.19 GB, free: 71.18 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001103/9.642, allocations: 437.1 kB / 3.191 GB, free: 70.86 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.921e-05/9.642, allocations: 28 kB / 3.191 GB, free: 70.85 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.037e-05/9.642, allocations: 29.91 kB / 3.191 GB, free: 70.84 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001935/9.644, allocations: 0.6186 MB / 3.191 GB, free: 70.55 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.874e-05/9.644, allocations: 7.438 kB / 3.191 GB, free: 70.55 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.608e-05/9.644, allocations: 15.97 kB / 3.191 GB, free: 70.54 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.244e-05/9.644, allocations: 7.844 kB / 3.191 GB, free: 70.54 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001759/9.646, allocations: 0.5281 MB / 3.192 GB, free: 70.38 MB / 490.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.003906/9.65, allocations: 2.657 MB / 3.194 GB, free: 68.15 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002196/9.652, allocations: 0.4919 MB / 3.195 GB, free: 68 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000312/9.653, allocations: 133.1 kB / 3.195 GB, free: 67.95 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2136/9.866, allocations: 55.15 MB / 3.249 GB, free: 35.69 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.514e-05/9.866, allocations: 38.47 kB / 3.249 GB, free: 35.65 MB / 490.7 MB Notification: Performance of pre-optimization done (n=28): time 2.895e-06/9.866, allocations: 3.938 kB / 3.249 GB, free: 35.64 MB / 490.7 MB Notification: Performance of matching and sorting (n=28): time 0.002819/9.869, allocations: 0.6565 MB / 3.25 GB, free: 35.44 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.962e-05/9.869, allocations: 110.6 kB / 3.25 GB, free: 35.31 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005022/9.87, allocations: 314.1 kB / 3.25 GB, free: 35.14 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.831e-05/9.87, allocations: 29.7 kB / 3.25 GB, free: 35.11 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001617/9.87, allocations: 245.6 kB / 3.25 GB, free: 34.91 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.411e-05/9.87, allocations: 103.2 kB / 3.25 GB, free: 34.83 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.233e-05/9.87, allocations: 8 kB / 3.25 GB, free: 34.82 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.345e-05/9.87, allocations: 348.3 kB / 3.251 GB, free: 34.5 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000283/9.871, allocations: 107.8 kB / 3.251 GB, free: 34.45 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003583/9.871, allocations: 262.9 kB / 3.251 GB, free: 34.21 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000337/9.871, allocations: 143.5 kB / 3.251 GB, free: 34.16 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/9.871, allocations: 0 / 3.251 GB, free: 34.16 MB / 490.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0009863/9.872, allocations: 427.1 kB / 3.252 GB, free: 33.98 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003794/9.873, allocations: 1.833 MB / 3.253 GB, free: 32.02 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.323e-05/9.873, allocations: 7.484 kB / 3.253 GB, free: 32.02 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.944e-05/9.873, allocations: 5.844 kB / 3.253 GB, free: 32.02 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007844/9.874, allocations: 109.8 kB / 3.253 GB, free: 32.01 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.715e-05/9.874, allocations: 15.41 kB / 3.253 GB, free: 32 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007285/9.874, allocations: 79.19 kB / 3.254 GB, free: 31.97 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.961e-05/9.874, allocations: 25.84 kB / 3.254 GB, free: 31.96 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.066e-05/9.874, allocations: 7.812 kB / 3.254 GB, free: 31.96 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008707/9.875, allocations: 354.4 kB / 3.254 GB, free: 31.83 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/9.875, allocations: 6.188 kB / 3.254 GB, free: 31.83 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/9.875, allocations: 10.47 kB / 3.254 GB, free: 31.83 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007276/9.876, allocations: 113.6 kB / 3.254 GB, free: 31.82 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.332e-05/9.876, allocations: 7.375 kB / 3.254 GB, free: 31.81 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000674/9.877, allocations: 70.22 kB / 3.254 GB, free: 31.79 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.666e-05/9.877, allocations: 26.59 kB / 3.254 GB, free: 31.78 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 4 (SourceP1.medium.phase,SinkP1.medium.phase,V1.state_b.phase,V1.state_a.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 49 * 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.000187/9.877, allocations: 133.9 kB / 3.254 GB, free: 31.65 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001156/9.877, allocations: 41.52 kB / 3.254 GB, free: 31.63 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002761/9.88, allocations: 1.909 MB / 3.256 GB, free: 30.7 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.103e-05/9.88, allocations: 30.94 kB / 3.256 GB, free: 30.69 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.046e-06/9.88, allocations: 0 / 3.256 GB, free: 30.69 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.876e-06/9.88, allocations: 0 / 3.256 GB, free: 30.69 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001444/9.882, allocations: 1.025 MB / 3.257 GB, free: 30.11 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.653e-06/9.882, allocations: 7.062 kB / 3.257 GB, free: 30.11 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006279/9.882, allocations: 83.39 kB / 3.257 GB, free: 30.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-05/9.882, allocations: 7.359 kB / 3.257 GB, free: 30.09 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.363e-05/9.882, allocations: 6.812 kB / 3.257 GB, free: 30.09 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.573e-06/9.882, allocations: 3.891 kB / 3.257 GB, free: 30.09 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/9.882, allocations: 8 kB / 3.257 GB, free: 30.08 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001509/9.884, allocations: 1.032 MB / 3.258 GB, free: 29.54 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003825/9.884, allocations: 252 kB / 3.259 GB, free: 29.34 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001071/9.884, allocations: 19.36 kB / 3.259 GB, free: 29.33 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005654/9.885, allocations: 38.75 kB / 3.259 GB, free: 29.32 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001099/9.885, allocations: 35.45 kB / 3.259 GB, free: 29.31 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.913e-05/9.885, allocations: 17.47 kB / 3.259 GB, free: 29.3 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0004825/9.886, allocations: 302.9 kB / 3.259 GB, free: 29.15 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.81e-07/9.886, allocations: 0 / 3.259 GB, free: 29.15 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0056/9.891, allocations: 1.16 MB / 3.26 GB, free: 28.91 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 18 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.region3boundary,$cse4.region3boundary,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse14.phase,$cse14.region,SourceP1.medium.phase,SinkP1.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.012/9.903, allocations: 2.9 MB / 3.263 GB, free: 27.57 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001729/9.905, allocations: 0.7561 MB / 3.264 GB, free: 27.27 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/9.905, allocations: 0.75 kB / 3.264 GB, free: 27.27 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007157/9.906, allocations: 496.5 kB / 3.264 GB, free: 27.02 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001886/9.908, allocations: 198.4 kB / 3.264 GB, free: 26.88 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6296/10.54, allocations: 81.74 MB / 3.344 GB, free: 69.41 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005036/10.54, allocations: 1.01 MB / 3.345 GB, free: 68.71 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001491/10.54, allocations: 0.5472 MB / 3.346 GB, free: 68.71 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004448/10.54, allocations: 273.6 kB / 3.346 GB, free: 68.7 MB / 490.7 MB Notification: Performance of SimCode: time 1.353e-06/10.54, allocations: 1.219 kB / 3.346 GB, free: 68.7 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1377/10.68, allocations: 42.88 MB / 3.388 GB, free: 66.66 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002458/10.68, allocations: 213.5 kB / 3.388 GB, free: 66.43 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.534/15.21, allocations: 0 / 3.388 GB, free: 66.43 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible_res.mat does not exist to compare? outputFormat=mat