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.375/2.375, allocations: 235.1 MB / 242.2 MB, free: 15.81 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.255e-05/3.257e-05, allocations: 0 / 299.5 MB, free: 6.477 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3823/0.3823, allocations: 54.85 MB / 354.3 MB, free: 14.04 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.932/8.314, allocations: 2.606 GB / 2.952 GB, free: 106.1 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002468/8.315, allocations: 88.77 kB / 2.952 GB, free: 106.1 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.319/9.634, allocations: 229.7 MB / 3.176 GB, free: 82.29 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.056e-06/9.634, allocations: 0 / 3.176 GB, free: 82.29 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.765e-05/9.634, allocations: 7.438 kB / 3.176 GB, free: 82.29 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.008315/9.642, allocations: 1.281 MB / 3.177 GB, free: 81.62 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.682e-05/9.642, allocations: 14.12 kB / 3.177 GB, free: 81.62 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005129/9.647, allocations: 245.1 kB / 3.178 GB, free: 81.59 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001739/9.649, allocations: 427.4 kB / 3.178 GB, free: 81.36 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.369e-05/9.649, allocations: 22.89 kB / 3.178 GB, free: 81.35 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000119/9.65, allocations: 18.59 kB / 3.178 GB, free: 81.35 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001388/9.651, allocations: 329.1 kB / 3.178 GB, free: 81.35 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001306/9.652, allocations: 403.8 kB / 3.179 GB, free: 81.22 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.063e-05/9.652, allocations: 3.906 kB / 3.179 GB, free: 81.22 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.343e-05/9.653, allocations: 0 / 3.179 GB, free: 81.22 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.951e-05/9.653, allocations: 7.719 kB / 3.179 GB, free: 81.22 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.01327/9.666, allocations: 3.904 MB / 3.183 GB, free: 78.59 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009913/9.667, allocations: 232.3 kB / 3.183 GB, free: 78.56 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004171/9.667, allocations: 121.4 kB / 3.183 GB, free: 78.55 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2608/9.928, allocations: 50.24 MB / 3.232 GB, free: 51 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.664e-05/9.928, allocations: 47.53 kB / 3.232 GB, free: 50.95 MB / 490.7 MB Notification: Performance of pre-optimization done (n=24): time 4.188e-06/9.928, allocations: 4 kB / 3.232 GB, free: 50.95 MB / 490.7 MB Notification: Performance of matching and sorting (n=24): time 0.005475/9.934, allocations: 0.5352 MB / 3.233 GB, free: 50.9 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.247e-05/9.934, allocations: 110.6 kB / 3.233 GB, free: 50.77 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006905/9.935, allocations: 284.5 kB / 3.233 GB, free: 50.66 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001116/9.935, allocations: 25.7 kB / 3.233 GB, free: 50.63 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002614/9.935, allocations: 242.3 kB / 3.233 GB, free: 50.48 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001578/9.935, allocations: 78.17 kB / 3.233 GB, free: 50.43 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.302e-05/9.935, allocations: 0 / 3.233 GB, free: 50.43 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001363/9.935, allocations: 343.2 kB / 3.234 GB, free: 50.12 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000401/9.936, allocations: 101.2 kB / 3.234 GB, free: 50.12 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004996/9.936, allocations: 236.8 kB / 3.234 GB, free: 49.96 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002455/9.939, allocations: 209.8 kB / 3.234 GB, free: 49.95 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.436e-05/9.939, allocations: 0 / 3.234 GB, free: 49.95 MB / 490.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.003455/9.942, allocations: 465.9 kB / 3.235 GB, free: 49.89 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004472/9.943, allocations: 1.489 MB / 3.236 GB, free: 48.33 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.133e-05/9.943, allocations: 3.969 kB / 3.236 GB, free: 48.33 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.779e-05/9.943, allocations: 7.906 kB / 3.236 GB, free: 48.33 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001419/9.944, allocations: 111.5 kB / 3.236 GB, free: 48.32 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.813e-05/9.945, allocations: 6.531 kB / 3.236 GB, free: 48.32 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001283/9.946, allocations: 70.53 kB / 3.236 GB, free: 48.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001125/9.946, allocations: 25.84 kB / 3.236 GB, free: 48.3 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/9.946, allocations: 7.188 kB / 3.236 GB, free: 48.29 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002845/9.949, allocations: 361.2 kB / 3.237 GB, free: 48.27 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.758e-05/9.949, allocations: 11.12 kB / 3.237 GB, free: 48.27 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.014e-05/9.949, allocations: 8 kB / 3.237 GB, free: 48.27 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001334/9.95, allocations: 113.1 kB / 3.237 GB, free: 48.26 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.674e-05/9.95, allocations: 7.719 kB / 3.237 GB, free: 48.26 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001157/9.952, allocations: 61.75 kB / 3.237 GB, free: 48.24 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001126/9.952, allocations: 21.98 kB / 3.237 GB, free: 48.24 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.0002632/9.952, allocations: 123.9 kB / 3.237 GB, free: 48.12 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002854/9.955, allocations: 329.2 kB / 3.237 GB, free: 48.07 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001738/9.955, allocations: 37.03 kB / 3.237 GB, free: 48.05 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005282/9.96, allocations: 1.693 MB / 3.239 GB, free: 47.81 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.293e-05/9.961, allocations: 28.55 kB / 3.239 GB, free: 47.81 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.074e-05/9.961, allocations: 7.438 kB / 3.239 GB, free: 47.81 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.678e-05/9.961, allocations: 7.328 kB / 3.239 GB, free: 47.8 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002058/9.963, allocations: 0.8537 MB / 3.24 GB, free: 47.58 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.316e-05/9.963, allocations: 0 / 3.24 GB, free: 47.58 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001029/9.964, allocations: 83.59 kB / 3.24 GB, free: 47.58 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.404e-05/9.964, allocations: 3.969 kB / 3.24 GB, free: 47.58 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.452e-05/9.964, allocations: 3.594 kB / 3.24 GB, free: 47.58 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.305e-06/9.964, allocations: 7.812 kB / 3.24 GB, free: 47.58 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/9.964, allocations: 3.938 kB / 3.24 GB, free: 47.57 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003372/9.967, allocations: 0.97 MB / 3.241 GB, free: 47.35 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006615/9.968, allocations: 250.6 kB / 3.241 GB, free: 47.19 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001818/9.968, allocations: 0 / 3.241 GB, free: 47.19 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001028/9.969, allocations: 43.69 kB / 3.241 GB, free: 47.18 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001944/9.97, allocations: 28.38 kB / 3.241 GB, free: 47.18 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.022e-05/9.97, allocations: 11.61 kB / 3.241 GB, free: 47.18 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0007031/9.971, allocations: 288.8 kB / 3.241 GB, free: 47.09 MB / 490.7 MB Notification: Performance of sort global known variables: time 9.02e-07/9.971, allocations: 0 / 3.241 GB, free: 47.09 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.008041/9.979, allocations: 1.158 MB / 3.243 GB, free: 46.9 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: 16 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.region3boundary,$cse4.region3boundary,$cse5.phase,$cse5.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.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 (36): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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.01786/9.997, allocations: 2.966 MB / 3.245 GB, free: 45.87 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002237/9.999, allocations: 0.6694 MB / 3.246 GB, free: 45.83 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.807e-06/9.999, allocations: 0 / 3.246 GB, free: 45.83 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001001/10, allocations: 432.5 kB / 3.246 GB, free: 45.82 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002807/10, allocations: 177.3 kB / 3.247 GB, free: 45.81 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.234/10.24, allocations: 54.89 MB / 3.3 GB, free: 13.14 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004317/10.24, allocations: 0.9801 MB / 3.301 GB, free: 12.14 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001457/10.24, allocations: 0.5504 MB / 3.302 GB, free: 11.59 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004232/10.24, allocations: 255.3 kB / 3.302 GB, free: 11.34 MB / 490.7 MB Notification: Performance of SimCode: time 1.002e-06/10.24, allocations: 3.938 kB / 3.302 GB, free: 11.34 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4623/10.7, allocations: 37.47 MB / 3.339 GB, free: 66.57 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002758/10.7, allocations: 178.1 kB / 3.339 GB, free: 66.39 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.67/15.37, allocations: 0.9375 kB / 3.339 GB, free: 66.39 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