Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Valves_TestCheckValve",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.05/2.05, allocations: 209.3 MB / 221.9 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.1e-05/4.118e-05, allocations: 0 / 273.1 MB, free: 0.6484 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1128/0.1129, allocations: 48.7 MB / 321.8 MB, free: 15.85 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.904/8.016, allocations: 2.496 GB / 2.81 GB, free: 68.59 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002554/8.017, allocations: 84.77 kB / 2.81 GB, free: 68.54 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.247/9.264, allocations: 228.2 MB / 3.033 GB, free: 9.445 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.834e-06/9.264, allocations: 0 / 3.033 GB, free: 9.445 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.22e-05/9.264, allocations: 8 kB / 3.033 GB, free: 9.438 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.005879/9.27, allocations: 1.251 MB / 3.034 GB, free: 8.141 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.012e-05/9.27, allocations: 8.031 kB / 3.034 GB, free: 8.133 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000138/9.27, allocations: 74.53 kB / 3.034 GB, free: 8.051 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002789/9.273, allocations: 235.2 kB / 3.034 GB, free: 7.82 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001226/9.274, allocations: 428.1 kB / 3.035 GB, free: 7.359 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.238e-05/9.274, allocations: 28.78 kB / 3.035 GB, free: 7.332 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.39e-05/9.274, allocations: 36 kB / 3.035 GB, free: 7.297 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00197/9.276, allocations: 0.5951 MB / 3.035 GB, free: 6.668 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.171e-05/9.276, allocations: 0 / 3.035 GB, free: 6.668 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.137e-05/9.276, allocations: 19.95 kB / 3.036 GB, free: 6.648 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.34e-05/9.277, allocations: 8 kB / 3.036 GB, free: 6.641 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00182/9.278, allocations: 0.5213 MB / 3.036 GB, free: 6.121 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.004002/9.282, allocations: 2.551 MB / 3.039 GB, free: 3.32 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001703/9.284, allocations: 414.2 kB / 3.039 GB, free: 2.906 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003125/9.284, allocations: 136.8 kB / 3.039 GB, free: 2.77 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.516/9.8, allocations: 51.58 MB / 3.089 GB, free: 22.47 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.181e-05/9.801, allocations: 36.38 kB / 3.089 GB, free: 22.43 MB / 426.7 MB Notification: Performance of pre-optimization done (n=25): time 3.897e-06/9.801, allocations: 0 / 3.089 GB, free: 22.43 MB / 426.7 MB Notification: Performance of matching and sorting (n=25): time 0.004044/9.805, allocations: 0.6384 MB / 3.09 GB, free: 22.39 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.473e-05/9.805, allocations: 110.5 kB / 3.09 GB, free: 22.27 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006232/9.805, allocations: 299.9 kB / 3.09 GB, free: 22.17 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.404e-05/9.805, allocations: 42.02 kB / 3.09 GB, free: 22.13 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002026/9.806, allocations: 287.1 kB / 3.091 GB, free: 21.95 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001154/9.806, allocations: 83.88 kB / 3.091 GB, free: 21.91 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.417e-05/9.806, allocations: 5.5 kB / 3.091 GB, free: 21.91 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.731e-05/9.806, allocations: 324.2 kB / 3.091 GB, free: 21.6 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004063/9.806, allocations: 112 kB / 3.091 GB, free: 21.6 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005057/9.807, allocations: 232.4 kB / 3.091 GB, free: 21.44 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004715/9.807, allocations: 133.8 kB / 3.092 GB, free: 21.43 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.354e-06/9.807, allocations: 3.312 kB / 3.092 GB, free: 21.43 MB / 426.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001307/9.809, allocations: 381.4 kB / 3.092 GB, free: 21.39 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003777/9.809, allocations: 1.49 MB / 3.093 GB, free: 19.83 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.423e-05/9.809, allocations: 3.812 kB / 3.093 GB, free: 19.83 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.224e-05/9.809, allocations: 7.875 kB / 3.093 GB, free: 19.83 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001122/9.81, allocations: 116 kB / 3.094 GB, free: 19.83 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.13e-05/9.81, allocations: 8.531 kB / 3.094 GB, free: 19.83 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001005/9.811, allocations: 84.36 kB / 3.094 GB, free: 19.81 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.377e-05/9.811, allocations: 19.66 kB / 3.094 GB, free: 19.81 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.098e-05/9.812, allocations: 3.219 kB / 3.094 GB, free: 19.81 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001112/9.813, allocations: 339.8 kB / 3.094 GB, free: 19.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/9.813, allocations: 4.953 kB / 3.094 GB, free: 19.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/9.813, allocations: 7.188 kB / 3.094 GB, free: 19.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001017/9.814, allocations: 121 kB / 3.094 GB, free: 19.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.246e-05/9.814, allocations: 3.156 kB / 3.094 GB, free: 19.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007325/9.815, allocations: 65.36 kB / 3.094 GB, free: 19.79 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.346e-05/9.815, allocations: 19.72 kB / 3.094 GB, free: 19.79 MB / 426.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.0001832/9.815, allocations: 127.8 kB / 3.094 GB, free: 19.69 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001476/9.815, allocations: 42.56 kB / 3.094 GB, free: 19.66 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004328/9.819, allocations: 1.917 MB / 3.096 GB, free: 35.43 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.274e-05/9.819, allocations: 32.17 kB / 3.096 GB, free: 35.43 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.086e-05/9.819, allocations: 3.953 kB / 3.096 GB, free: 35.43 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.085e-05/9.819, allocations: 0 / 3.096 GB, free: 35.43 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00188/9.821, allocations: 1.019 MB / 3.097 GB, free: 35.2 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.212e-06/9.821, allocations: 0 / 3.097 GB, free: 35.2 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008593/9.822, allocations: 93.41 kB / 3.097 GB, free: 35.2 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.074e-05/9.822, allocations: 0 / 3.097 GB, free: 35.2 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.161e-05/9.822, allocations: 7.781 kB / 3.097 GB, free: 35.2 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.931e-06/9.822, allocations: 0 / 3.097 GB, free: 35.2 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/9.822, allocations: 0 / 3.097 GB, free: 35.2 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002027/9.824, allocations: 1.036 MB / 3.098 GB, free: 34.95 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005027/9.825, allocations: 253 kB / 3.099 GB, free: 34.81 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001343/9.825, allocations: 10.53 kB / 3.099 GB, free: 34.81 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008346/9.826, allocations: 41.06 kB / 3.099 GB, free: 34.81 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001386/9.826, allocations: 35.22 kB / 3.099 GB, free: 34.8 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.004e-05/9.826, allocations: 13.5 kB / 3.099 GB, free: 34.8 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0006617/9.827, allocations: 302.4 kB / 3.099 GB, free: 34.71 MB / 442.7 MB Notification: Performance of sort global known variables: time 6.21e-07/9.827, allocations: 0 / 3.099 GB, free: 34.71 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.007261/9.834, allocations: 1.175 MB / 3.1 GB, free: 34.71 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.01455/9.849, allocations: 2.947 MB / 3.103 GB, free: 33.88 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002155/9.851, allocations: 0.727 MB / 3.104 GB, free: 33.86 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.581e-06/9.851, allocations: 0 / 3.104 GB, free: 33.86 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009192/9.852, allocations: 491 kB / 3.104 GB, free: 33.85 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00241/9.854, allocations: 185.9 kB / 3.104 GB, free: 33.84 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2501/10.1, allocations: 75.6 MB / 3.178 GB, free: 17.22 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006363/10.11, allocations: 0.997 MB / 3.179 GB, free: 16.32 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005418/10.11, allocations: 273.7 kB / 3.179 GB, free: 16.27 MB / 442.7 MB Notification: Performance of SimCode: time 9.92e-07/10.11, allocations: 1.875 kB / 3.179 GB, free: 16.27 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.066/14.17, allocations: 30.62 MB / 3.209 GB, free: 59.54 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve_res.mat does not exist to compare? outputFormat=mat