Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Valves_TestCheckValve",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.466/2.466, allocations: 249.5 MB / 261.6 MB, free: 2.164 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.867e-05/3.872e-05, allocations: 4 kB / 323.5 MB, free: 4.219 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4031/0.4031, allocations: 58.83 MB / 382.3 MB, free: 10.22 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.739/9.142, allocations: 2.771 GB / 3.144 GB, free: 129.8 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002722/9.142, allocations: 85.06 kB / 3.144 GB, free: 129.8 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.245/10.39, allocations: 233.8 MB / 3.373 GB, free: 88.17 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.774e-06/10.39, allocations: 0 / 3.373 GB, free: 88.17 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.077e-05/10.39, allocations: 17.75 kB / 3.373 GB, free: 88.16 MB / 0.5105 GB 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.005743/10.39, allocations: 1.275 MB / 3.374 GB, free: 87.39 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/10.39, allocations: 7.312 kB / 3.374 GB, free: 87.39 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001276/10.39, allocations: 71.48 kB / 3.374 GB, free: 87.33 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002793/10.4, allocations: 246.6 kB / 3.374 GB, free: 87.29 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001068/10.4, allocations: 413.8 kB / 3.375 GB, free: 86.98 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.09e-05/10.4, allocations: 28.41 kB / 3.375 GB, free: 86.97 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.439e-05/10.4, allocations: 26.81 kB / 3.375 GB, free: 86.96 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001965/10.4, allocations: 0.605 MB / 3.375 GB, free: 86.69 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.11e-05/10.4, allocations: 3.938 kB / 3.375 GB, free: 86.69 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.71e-05/10.4, allocations: 15.36 kB / 3.375 GB, free: 86.68 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.212e-05/10.4, allocations: 10.53 kB / 3.375 GB, free: 86.68 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001778/10.4, allocations: 0.5162 MB / 3.376 GB, free: 86.53 MB / 0.5105 GB 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.004611/10.41, allocations: 2.63 MB / 3.378 GB, free: 84.37 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001826/10.41, allocations: 421 kB / 3.379 GB, free: 84.24 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003398/10.41, allocations: 140.3 kB / 3.379 GB, free: 84.18 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07652/10.48, allocations: 24.16 MB / 3.402 GB, free: 69.05 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.553e-05/10.48, allocations: 38.12 kB / 3.403 GB, free: 69.01 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=25): time 3.667e-06/10.48, allocations: 0 / 3.403 GB, free: 69.01 MB / 0.5105 GB Notification: Performance of matching and sorting (n=25): time 0.002874/10.49, allocations: 0.6485 MB / 3.403 GB, free: 68.81 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.764e-05/10.49, allocations: 114.6 kB / 3.403 GB, free: 68.68 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004849/10.49, allocations: 316.1 kB / 3.404 GB, free: 68.52 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.318e-05/10.49, allocations: 33.64 kB / 3.404 GB, free: 68.49 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001448/10.49, allocations: 218.6 kB / 3.404 GB, free: 68.3 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 8.545e-05/10.49, allocations: 87.02 kB / 3.404 GB, free: 68.24 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.279e-05/10.49, allocations: 7.625 kB / 3.404 GB, free: 68.23 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.764e-05/10.49, allocations: 349.7 kB / 3.404 GB, free: 67.9 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002801/10.49, allocations: 101.3 kB / 3.404 GB, free: 67.86 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003448/10.49, allocations: 212 kB / 3.405 GB, free: 67.7 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003216/10.49, allocations: 127.9 kB / 3.405 GB, free: 67.65 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/10.49, allocations: 0 / 3.405 GB, free: 67.65 MB / 0.5105 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0009457/10.49, allocations: 375.8 kB / 3.405 GB, free: 67.48 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002238/10.49, allocations: 1.048 MB / 3.406 GB, free: 66.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/10.49, allocations: 0 / 3.406 GB, free: 66.38 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.275e-05/10.49, allocations: 7.188 kB / 3.406 GB, free: 66.38 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008232/10.49, allocations: 108.5 kB / 3.406 GB, free: 66.37 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.556e-05/10.49, allocations: 14.69 kB / 3.406 GB, free: 66.36 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007906/10.49, allocations: 77.8 kB / 3.406 GB, free: 66.34 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.41e-05/10.49, allocations: 25.41 kB / 3.406 GB, free: 66.33 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.588e-06/10.49, allocations: 6.188 kB / 3.406 GB, free: 66.33 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008036/10.49, allocations: 290.2 kB / 3.407 GB, free: 66.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/10.49, allocations: 11.28 kB / 3.407 GB, free: 66.22 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.266e-06/10.49, allocations: 6.594 kB / 3.407 GB, free: 66.22 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007502/10.49, allocations: 108.4 kB / 3.407 GB, free: 66.21 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/10.49, allocations: 7.875 kB / 3.407 GB, free: 66.21 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006539/10.49, allocations: 68.8 kB / 3.407 GB, free: 66.19 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.678e-05/10.49, allocations: 20.98 kB / 3.407 GB, free: 66.18 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (38): * Single equations (assignments): 38 * 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.000146/10.49, allocations: 124.4 kB / 3.407 GB, free: 66.07 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.976e-05/10.5, allocations: 45.36 kB / 3.407 GB, free: 66.04 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002711/10.5, allocations: 1.921 MB / 3.409 GB, free: 65.12 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.798e-05/10.5, allocations: 30.56 kB / 3.409 GB, free: 65.11 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/10.5, allocations: 0 / 3.409 GB, free: 65.11 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-06/10.5, allocations: 0 / 3.409 GB, free: 65.11 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001367/10.5, allocations: 1.041 MB / 3.41 GB, free: 64.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.119e-06/10.5, allocations: 0 / 3.41 GB, free: 64.52 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006697/10.5, allocations: 89.03 kB / 3.41 GB, free: 64.52 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.031e-05/10.5, allocations: 7.203 kB / 3.41 GB, free: 64.52 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.186e-05/10.5, allocations: 7.969 kB / 3.41 GB, free: 64.51 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.731e-06/10.5, allocations: 3.938 kB / 3.41 GB, free: 64.51 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/10.5, allocations: 0 / 3.41 GB, free: 64.51 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00145/10.5, allocations: 1.03 MB / 3.411 GB, free: 63.97 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003646/10.5, allocations: 265.5 kB / 3.411 GB, free: 63.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001085/10.5, allocations: 11.58 kB / 3.411 GB, free: 63.76 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006652/10.5, allocations: 52.2 kB / 3.411 GB, free: 63.75 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001116/10.5, allocations: 37.47 kB / 3.411 GB, free: 63.74 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.09e-05/10.5, allocations: 15.42 kB / 3.411 GB, free: 63.73 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0005665/10.5, allocations: 360.5 kB / 3.412 GB, free: 63.56 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.51e-07/10.5, allocations: 0 / 3.412 GB, free: 63.56 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005719/10.51, allocations: 1.192 MB / 3.413 GB, free: 63.31 MB / 0.5105 GB 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.01182/10.52, allocations: 2.943 MB / 3.416 GB, free: 62.02 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001644/10.52, allocations: 0.7079 MB / 3.416 GB, free: 61.74 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/10.52, allocations: 0 / 3.416 GB, free: 61.74 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.000667/10.52, allocations: 491.2 kB / 3.417 GB, free: 61.5 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001974/10.53, allocations: 226.2 kB / 3.417 GB, free: 61.45 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006432/10.53, allocations: 1.701 MB / 3.419 GB, free: 60.66 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004739/10.53, allocations: 0.9968 MB / 3.42 GB, free: 59.95 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001396/10.53, allocations: 0.5639 MB / 3.42 GB, free: 59.92 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004369/10.53, allocations: 271.1 kB / 3.421 GB, free: 59.71 MB / 0.5105 GB Notification: Performance of SimCode: time 1.674e-06/10.53, allocations: 0 / 3.421 GB, free: 59.71 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09967/10.63, allocations: 43.84 MB / 3.463 GB, free: 31.85 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002285/10.63, allocations: 204.8 kB / 3.464 GB, free: 31.62 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.52/15.15, allocations: 4 kB / 3.464 GB, free: 31.62 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve_res.mat does not exist to compare? outputFormat=mat