Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Valves_TestCheckValve",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.308/2.308, allocations: 235 MB / 247.2 MB, free: 14.32 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.998e-05/4.033e-05, allocations: 4 kB / 305 MB, free: 5.062 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4009/0.4009, allocations: 54.85 MB / 359.9 MB, free: 3.176 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.043/8.444, allocations: 2.606 GB / 2.958 GB, free: 112.2 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002671/8.444, allocations: 80.3 kB / 2.958 GB, free: 112.2 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.252/9.696, allocations: 232.5 MB / 3.185 GB, free: 72.54 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.787e-06/9.696, allocations: 3.781 kB / 3.185 GB, free: 72.54 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.99e-05/9.696, allocations: 14.44 kB / 3.185 GB, free: 72.54 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.008693/9.705, allocations: 1.264 MB / 3.186 GB, free: 71.77 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.604e-05/9.705, allocations: 7.281 kB / 3.186 GB, free: 71.77 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001779/9.705, allocations: 69.77 kB / 3.186 GB, free: 71.71 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004561/9.71, allocations: 255.9 kB / 3.186 GB, free: 71.67 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001135/9.711, allocations: 422.2 kB / 3.187 GB, free: 71.36 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.972e-05/9.711, allocations: 31.94 kB / 3.187 GB, free: 71.34 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.691e-05/9.711, allocations: 34.19 kB / 3.187 GB, free: 71.33 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002014/9.713, allocations: 0.591 MB / 3.188 GB, free: 71.06 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.148e-05/9.713, allocations: 0 / 3.188 GB, free: 71.06 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.652e-05/9.713, allocations: 19.44 kB / 3.188 GB, free: 71.05 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.19e-05/9.713, allocations: 11.44 kB / 3.188 GB, free: 71.05 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00176/9.715, allocations: 0.5132 MB / 3.188 GB, free: 70.9 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.003987/9.719, allocations: 2.547 MB / 3.191 GB, free: 68.77 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001746/9.721, allocations: 419.8 kB / 3.191 GB, free: 68.64 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003185/9.721, allocations: 136.7 kB / 3.191 GB, free: 68.58 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1857/9.907, allocations: 51.65 MB / 3.242 GB, free: 38.84 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.696e-05/9.907, allocations: 38.56 kB / 3.242 GB, free: 38.79 MB / 490.7 MB Notification: Performance of pre-optimization done (n=25): time 2.655e-06/9.907, allocations: 0 / 3.242 GB, free: 38.79 MB / 490.7 MB Notification: Performance of matching and sorting (n=25): time 0.002838/9.91, allocations: 0.6383 MB / 3.242 GB, free: 38.59 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.843e-05/9.91, allocations: 106.8 kB / 3.242 GB, free: 38.47 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000466/9.911, allocations: 304.5 kB / 3.243 GB, free: 38.3 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.255e-05/9.911, allocations: 29.7 kB / 3.243 GB, free: 38.27 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001565/9.911, allocations: 238.8 kB / 3.243 GB, free: 38.07 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.28e-05/9.911, allocations: 87.77 kB / 3.243 GB, free: 38 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.078e-05/9.911, allocations: 4 kB / 3.243 GB, free: 38 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.222e-05/9.911, allocations: 345.9 kB / 3.243 GB, free: 37.67 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002813/9.911, allocations: 109.8 kB / 3.243 GB, free: 37.62 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003801/9.912, allocations: 234.2 kB / 3.244 GB, free: 37.42 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003325/9.912, allocations: 133.5 kB / 3.244 GB, free: 37.36 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/9.912, allocations: 0 / 3.244 GB, free: 37.36 MB / 490.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.000955/9.913, allocations: 395.6 kB / 3.244 GB, free: 37.2 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003373/9.913, allocations: 1.485 MB / 3.246 GB, free: 35.61 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.228e-05/9.913, allocations: 7.594 kB / 3.246 GB, free: 35.61 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.73e-05/9.913, allocations: 7.344 kB / 3.246 GB, free: 35.61 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008457/9.914, allocations: 111.6 kB / 3.246 GB, free: 35.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.761e-05/9.914, allocations: 9.875 kB / 3.246 GB, free: 35.59 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007536/9.915, allocations: 73.2 kB / 3.246 GB, free: 35.57 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.513e-05/9.915, allocations: 24.88 kB / 3.246 GB, free: 35.57 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.496e-06/9.915, allocations: 3.062 kB / 3.246 GB, free: 35.57 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008609/9.916, allocations: 327.6 kB / 3.246 GB, free: 35.45 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.685e-06/9.916, allocations: 7.391 kB / 3.246 GB, free: 35.45 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.035e-05/9.916, allocations: 3.906 kB / 3.246 GB, free: 35.45 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007777/9.917, allocations: 118.1 kB / 3.246 GB, free: 35.43 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.256e-05/9.917, allocations: 15.7 kB / 3.246 GB, free: 35.42 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006321/9.918, allocations: 65.3 kB / 3.246 GB, free: 35.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.702e-05/9.918, allocations: 23.17 kB / 3.246 GB, free: 35.39 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 4 (V1.state_b.phase,V1.state_a.phase,SourceP1.medium.phase,SinkP1.medium.phase) * 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.0001506/9.918, allocations: 128.7 kB / 3.246 GB, free: 35.27 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.787e-05/9.918, allocations: 42.75 kB / 3.246 GB, free: 35.25 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002761/9.921, allocations: 1.915 MB / 3.248 GB, free: 34.31 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.651e-05/9.921, allocations: 26.88 kB / 3.248 GB, free: 34.3 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.455e-06/9.921, allocations: 3.953 kB / 3.248 GB, free: 34.3 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.495e-06/9.921, allocations: 3.609 kB / 3.248 GB, free: 34.3 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001337/9.922, allocations: 1.019 MB / 3.249 GB, free: 33.72 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/9.922, allocations: 4 kB / 3.249 GB, free: 33.71 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006425/9.923, allocations: 80.66 kB / 3.249 GB, free: 33.71 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.025e-05/9.923, allocations: 3.906 kB / 3.249 GB, free: 33.71 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.117e-05/9.923, allocations: 11.84 kB / 3.249 GB, free: 33.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.508e-06/9.923, allocations: 0 / 3.249 GB, free: 33.7 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/9.923, allocations: 4 kB / 3.249 GB, free: 33.7 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001444/9.924, allocations: 1.023 MB / 3.25 GB, free: 33.16 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003343/9.925, allocations: 258.2 kB / 3.251 GB, free: 32.96 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.861e-05/9.925, allocations: 4 kB / 3.251 GB, free: 32.95 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005978/9.925, allocations: 49.16 kB / 3.251 GB, free: 32.94 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001042/9.926, allocations: 31.3 kB / 3.251 GB, free: 32.94 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.608e-05/9.926, allocations: 11.75 kB / 3.251 GB, free: 32.93 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.000456/9.926, allocations: 296.5 kB / 3.251 GB, free: 32.79 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.61e-07/9.926, allocations: 0 / 3.251 GB, free: 32.79 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005797/9.932, allocations: 1.191 MB / 3.252 GB, free: 32.53 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,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse15.phase,$cse15.region,SourceP1.medium.phase,SinkP1.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 29 * 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.01145/9.943, allocations: 2.952 MB / 3.255 GB, free: 31.18 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001601/9.945, allocations: 0.7213 MB / 3.256 GB, free: 30.89 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.429e-06/9.945, allocations: 0 / 3.256 GB, free: 30.89 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006576/9.946, allocations: 488.4 kB / 3.256 GB, free: 30.66 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001784/9.947, allocations: 198.5 kB / 3.256 GB, free: 30.6 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6214/10.57, allocations: 76.83 MB / 3.331 GB, free: 69.34 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004583/10.57, allocations: 0.9976 MB / 3.332 GB, free: 68.63 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001458/10.57, allocations: 0.5407 MB / 3.333 GB, free: 68.63 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000456/10.57, allocations: 268.1 kB / 3.333 GB, free: 68.62 MB / 490.7 MB Notification: Performance of SimCode: time 2.314e-06/10.57, allocations: 0 / 3.333 GB, free: 68.62 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1126/10.68, allocations: 43.09 MB / 3.375 GB, free: 66.6 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002824/10.68, allocations: 208.6 kB / 3.376 GB, free: 66.37 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.769/15.45, allocations: 3.875 kB / 3.376 GB, free: 66.37 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve_res.mat does not exist to compare? outputFormat=mat