Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Valves_TestValveLinear",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.014/2.014, allocations: 209.3 MB / 221.9 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.311e-05/3.323e-05, allocations: 0 / 273.1 MB, free: 0.6445 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.111, allocations: 48.7 MB / 321.8 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.985/8.096, allocations: 2.477 GB / 2.791 GB, free: 92.02 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000275/8.096, allocations: 81.2 kB / 2.791 GB, free: 91.97 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.094/9.19, allocations: 211.6 MB / 2.998 GB, free: 45.61 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.833e-06/9.19, allocations: 0 / 2.998 GB, free: 45.61 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.161e-05/9.19, allocations: 8.938 kB / 2.998 GB, free: 45.6 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.005696/9.196, allocations: 1.166 MB / 2.999 GB, free: 44.49 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.246e-05/9.196, allocations: 8.031 kB / 2.999 GB, free: 44.48 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001208/9.196, allocations: 70.05 kB / 2.999 GB, free: 44.41 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002442/9.199, allocations: 218.6 kB / 2.999 GB, free: 44.25 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009196/9.2, allocations: 387.8 kB / 2.999 GB, free: 43.89 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.264e-05/9.2, allocations: 24.78 kB / 2.999 GB, free: 43.87 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.699e-05/9.2, allocations: 28 kB / 2.999 GB, free: 43.84 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001843/9.202, allocations: 0.5794 MB / 3 GB, free: 43.26 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.933e-05/9.202, allocations: 3.938 kB / 3 GB, free: 43.25 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.257e-05/9.202, allocations: 12 kB / 3 GB, free: 43.24 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.743e-05/9.202, allocations: 11.84 kB / 3 GB, free: 43.23 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001691/9.203, allocations: 493.8 kB / 3.001 GB, free: 42.75 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.003558/9.207, allocations: 2.538 MB / 3.003 GB, free: 40 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001718/9.209, allocations: 418.2 kB / 3.003 GB, free: 39.59 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003066/9.209, allocations: 124.8 kB / 3.004 GB, free: 39.46 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4898/9.699, allocations: 51.58 MB / 3.054 GB, free: 76.8 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.938e-05/9.699, allocations: 37.09 kB / 3.054 GB, free: 76.76 MB / 442.7 MB Notification: Performance of pre-optimization done (n=25): time 3.848e-06/9.699, allocations: 0 / 3.054 GB, free: 76.76 MB / 442.7 MB Notification: Performance of matching and sorting (n=25): time 0.003229/9.702, allocations: 0.6163 MB / 3.055 GB, free: 76.73 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.558e-05/9.702, allocations: 106.1 kB / 3.055 GB, free: 76.6 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004892/9.703, allocations: 253.1 kB / 3.055 GB, free: 76.5 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 8.29e-05/9.703, allocations: 33.7 kB / 3.055 GB, free: 76.47 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001775/9.703, allocations: 277 kB / 3.055 GB, free: 76.29 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001172/9.703, allocations: 81.64 kB / 3.055 GB, free: 76.25 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.857e-05/9.703, allocations: 4.625 kB / 3.055 GB, free: 76.25 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.359e-05/9.703, allocations: 326.3 kB / 3.056 GB, free: 75.94 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003218/9.704, allocations: 91.06 kB / 3.056 GB, free: 75.93 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004024/9.704, allocations: 217.7 kB / 3.056 GB, free: 75.79 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003843/9.705, allocations: 117.3 kB / 3.056 GB, free: 75.79 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.923e-06/9.705, allocations: 1.25 kB / 3.056 GB, free: 75.79 MB / 442.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001038/9.706, allocations: 344.2 kB / 3.056 GB, free: 75.75 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.577e-05/9.706, allocations: 7.656 kB / 3.056 GB, free: 75.75 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.473e-05/9.706, allocations: 3.719 kB / 3.056 GB, free: 75.75 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.948e-05/9.706, allocations: 10.06 kB / 3.056 GB, free: 75.75 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008597/9.707, allocations: 111.1 kB / 3.056 GB, free: 75.75 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.294e-05/9.707, allocations: 6.953 kB / 3.056 GB, free: 75.75 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00077/9.707, allocations: 67.69 kB / 3.057 GB, free: 75.74 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.469e-05/9.708, allocations: 28.39 kB / 3.057 GB, free: 75.74 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 4 (SourceP1.medium.phase,SinkP1.medium.phase,V1.state_b.phase,V1.state_a.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 40 * 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.0001735/9.708, allocations: 125.6 kB / 3.057 GB, free: 75.63 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001106/9.708, allocations: 31.5 kB / 3.057 GB, free: 75.62 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003397/9.711, allocations: 1.843 MB / 3.059 GB, free: 75.42 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.925e-05/9.711, allocations: 38.2 kB / 3.059 GB, free: 75.42 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.163e-05/9.711, allocations: 1.781 kB / 3.059 GB, free: 75.42 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.27e-05/9.711, allocations: 1.219 kB / 3.059 GB, free: 75.42 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001813/9.713, allocations: 0.9847 MB / 3.06 GB, free: 75.19 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.687e-06/9.713, allocations: 0 / 3.06 GB, free: 75.19 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007483/9.714, allocations: 86.45 kB / 3.06 GB, free: 75.19 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.058e-05/9.714, allocations: 1.375 kB / 3.06 GB, free: 75.19 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.48e-05/9.714, allocations: 9.781 kB / 3.06 GB, free: 75.19 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.632e-06/9.714, allocations: 3.266 kB / 3.06 GB, free: 75.19 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/9.714, allocations: 3.953 kB / 3.06 GB, free: 75.18 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001801/9.716, allocations: 0.9762 MB / 3.061 GB, free: 74.96 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003355/9.716, allocations: 210 kB / 3.061 GB, free: 74.83 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001041/9.717, allocations: 6.375 kB / 3.061 GB, free: 74.83 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006057/9.717, allocations: 50.75 kB / 3.061 GB, free: 74.82 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001387/9.717, allocations: 32.17 kB / 3.061 GB, free: 74.82 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.166e-05/9.717, allocations: 11.56 kB / 3.061 GB, free: 74.82 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004978/9.718, allocations: 257.4 kB / 3.061 GB, free: 74.74 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.81e-07/9.718, allocations: 2.031 kB / 3.061 GB, free: 74.74 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00547/9.723, allocations: 1.001 MB / 3.062 GB, free: 74.73 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,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse11.phase,$cse11.region,SourceP1.medium.phase,SinkP1.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 26 * 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.01175/9.735, allocations: 2.8 MB / 3.065 GB, free: 73.94 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001262/9.736, allocations: 0.5016 MB / 3.065 GB, free: 73.93 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.169e-06/9.737, allocations: 1 kB / 3.065 GB, free: 73.93 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000767/9.737, allocations: 472.8 kB / 3.066 GB, free: 73.93 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001795/9.739, allocations: 184.2 kB / 3.066 GB, free: 73.92 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2448/9.984, allocations: 75.48 MB / 3.14 GB, free: 70.8 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004485/9.984, allocations: 0.9752 MB / 3.141 GB, free: 69.91 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004488/9.985, allocations: 259.1 kB / 3.141 GB, free: 69.88 MB / 442.7 MB Notification: Performance of SimCode: time 1.383e-06/9.985, allocations: 0 / 3.141 GB, free: 69.88 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.513/13.5, allocations: 28.93 MB / 3.169 GB, free: 53.08 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear_res.mat does not exist to compare? outputFormat=mat