Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_Valves_TestCheckValve",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.958/1.958, allocations: 209.3 MB / 221.5 MB, free: 1.945 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.304e-05/4.321e-05, allocations: 4 kB / 273.2 MB, free: 148 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1074, allocations: 48.7 MB / 321.9 MB, free: 15.34 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.708/7.816, allocations: 2.496 GB / 2.81 GB, free: 67.15 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000253/7.816, allocations: 83.7 kB / 2.81 GB, free: 67.11 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.168/8.984, allocations: 228.2 MB / 3.033 GB, free: 8.137 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.374e-06/8.984, allocations: 4 kB / 3.033 GB, free: 8.133 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.251e-05/8.984, allocations: 8 kB / 3.033 GB, free: 8.125 MB / 426.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.006254/8.99, allocations: 1.255 MB / 3.034 GB, free: 6.824 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.029e-05/8.99, allocations: 8.031 kB / 3.034 GB, free: 6.816 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001465/8.99, allocations: 70.53 kB / 3.034 GB, free: 6.738 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002875/8.993, allocations: 235.2 kB / 3.034 GB, free: 6.508 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001177/8.994, allocations: 432.2 kB / 3.035 GB, free: 6.043 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.468e-05/8.995, allocations: 28.77 kB / 3.035 GB, free: 6.016 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.301e-05/8.995, allocations: 28 kB / 3.035 GB, free: 5.988 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002088/8.997, allocations: 0.6053 MB / 3.036 GB, free: 5.348 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.975e-05/8.997, allocations: 0 / 3.036 GB, free: 5.348 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.803e-05/8.997, allocations: 15.95 kB / 3.036 GB, free: 5.332 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.201e-05/8.997, allocations: 8 kB / 3.036 GB, free: 5.324 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001927/8.999, allocations: 0.5124 MB / 3.036 GB, free: 4.812 MB / 426.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.004214/9.003, allocations: 2.547 MB / 3.039 GB, free: 2.016 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001762/9.005, allocations: 422.2 kB / 3.039 GB, free: 1.594 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003384/9.005, allocations: 128.8 kB / 3.039 GB, free: 1.465 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.5307/9.536, allocations: 51.58 MB / 3.089 GB, free: 21.65 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.098e-05/9.536, allocations: 41.44 kB / 3.089 GB, free: 21.61 MB / 426.7 MB Notification: Performance of pre-optimization done (n=25): time 3.737e-06/9.536, allocations: 0 / 3.089 GB, free: 21.61 MB / 426.7 MB Notification: Performance of matching and sorting (n=25): time 0.00398/9.54, allocations: 0.6343 MB / 3.09 GB, free: 21.57 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.814e-05/9.54, allocations: 106.5 kB / 3.09 GB, free: 21.45 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006086/9.541, allocations: 300.6 kB / 3.09 GB, free: 21.34 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.672e-05/9.541, allocations: 29.14 kB / 3.091 GB, free: 21.31 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000213/9.541, allocations: 246.3 kB / 3.091 GB, free: 21.2 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001193/9.541, allocations: 82.81 kB / 3.091 GB, free: 21.16 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.498e-05/9.541, allocations: 6.562 kB / 3.091 GB, free: 21.16 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001129/9.542, allocations: 349.4 kB / 3.091 GB, free: 20.84 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000387/9.542, allocations: 111.1 kB / 3.091 GB, free: 20.84 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004913/9.542, allocations: 231.5 kB / 3.092 GB, free: 20.68 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004842/9.543, allocations: 131.6 kB / 3.092 GB, free: 20.68 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.126e-06/9.543, allocations: 0 / 3.092 GB, free: 20.68 MB / 426.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001374/9.544, allocations: 400.8 kB / 3.092 GB, free: 20.62 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001172/9.546, allocations: 1.481 MB / 3.093 GB, free: 35.07 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.655e-05/9.546, allocations: 3.781 kB / 3.093 GB, free: 35.07 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.497e-05/9.546, allocations: 11.44 kB / 3.093 GB, free: 35.06 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001245/9.547, allocations: 121.3 kB / 3.094 GB, free: 35.06 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.223e-05/9.547, allocations: 6.906 kB / 3.094 GB, free: 35.06 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001076/9.548, allocations: 78.59 kB / 3.094 GB, free: 35.05 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.9e-05/9.548, allocations: 22.84 kB / 3.094 GB, free: 35.05 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/9.548, allocations: 0 / 3.094 GB, free: 35.05 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001214/9.549, allocations: 331.8 kB / 3.094 GB, free: 35.04 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/9.55, allocations: 3.906 kB / 3.094 GB, free: 35.04 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/9.55, allocations: 3.781 kB / 3.094 GB, free: 35.04 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001077/9.551, allocations: 126.8 kB / 3.094 GB, free: 35.03 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.555e-05/9.551, allocations: 7.625 kB / 3.094 GB, free: 35.03 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009788/9.552, allocations: 69.08 kB / 3.094 GB, free: 35.02 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.224e-05/9.552, allocations: 23.16 kB / 3.094 GB, free: 35.02 MB / 442.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.0002674/9.552, allocations: 126.7 kB / 3.094 GB, free: 34.92 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001604/9.552, allocations: 34.81 kB / 3.094 GB, free: 34.9 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00397/9.556, allocations: 1.909 MB / 3.096 GB, free: 34.67 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.415e-05/9.556, allocations: 30.16 kB / 3.096 GB, free: 34.67 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.08e-05/9.556, allocations: 3.953 kB / 3.096 GB, free: 34.66 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.063e-05/9.556, allocations: 0 / 3.096 GB, free: 34.66 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001935/9.558, allocations: 1.019 MB / 3.097 GB, free: 34.44 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.285e-06/9.558, allocations: 7.516 kB / 3.097 GB, free: 34.43 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008688/9.559, allocations: 86.31 kB / 3.097 GB, free: 34.43 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.324e-05/9.559, allocations: 1.938 kB / 3.097 GB, free: 34.43 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.041e-05/9.559, allocations: 7.781 kB / 3.097 GB, free: 34.43 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.744e-06/9.559, allocations: 3.906 kB / 3.097 GB, free: 34.43 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/9.559, allocations: 4 kB / 3.097 GB, free: 34.43 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002085/9.561, allocations: 1.027 MB / 3.098 GB, free: 34.18 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005281/9.562, allocations: 262.5 kB / 3.099 GB, free: 34.04 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001417/9.562, allocations: 3.438 kB / 3.099 GB, free: 34.04 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008967/9.563, allocations: 43.38 kB / 3.099 GB, free: 34.04 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001415/9.563, allocations: 34.95 kB / 3.099 GB, free: 34.04 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.979e-05/9.563, allocations: 7.625 kB / 3.099 GB, free: 34.04 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0006343/9.564, allocations: 305.1 kB / 3.099 GB, free: 33.95 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.272e-06/9.564, allocations: 0 / 3.099 GB, free: 33.95 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.006065/9.57, allocations: 1.175 MB / 3.1 GB, free: 33.94 MB / 442.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.01242/9.583, allocations: 2.938 MB / 3.103 GB, free: 33.11 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001638/9.584, allocations: 0.7224 MB / 3.104 GB, free: 33.09 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/9.584, allocations: 0 / 3.104 GB, free: 33.09 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007192/9.585, allocations: 492 kB / 3.104 GB, free: 33.08 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001813/9.587, allocations: 191 kB / 3.104 GB, free: 33.07 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2545/9.841, allocations: 75.58 MB / 3.178 GB, free: 16.3 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006585/9.842, allocations: 0.9986 MB / 3.179 GB, free: 15.39 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001498/9.844, allocations: 0.5407 MB / 3.18 GB, free: 15.07 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004681/9.844, allocations: 267.9 kB / 3.18 GB, free: 15.04 MB / 442.7 MB Notification: Performance of SimCode: time 1.413e-06/9.844, allocations: 0 / 3.18 GB, free: 15.04 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5324/10.38, allocations: 42.93 MB / 3.222 GB, free: 49.95 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002591/10.38, allocations: 200.8 kB / 3.222 GB, free: 49.72 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.618/14.99, allocations: 3.938 kB / 3.222 GB, free: 49.71 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve_res.mat does not exist to compare? outputFormat=mat