Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Valves_TestValveVaporizing",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.958/1.958, allocations: 209.3 MB / 221.9 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.957e-05/3.968e-05, allocations: 4 kB / 273.2 MB, free: 0.6406 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1499/0.15, allocations: 48.71 MB / 321.9 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.036/8.187, allocations: 2.524 GB / 2.838 GB, free: 36.5 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003133/8.187, allocations: 82.89 kB / 2.839 GB, free: 36.46 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.496/9.683, allocations: 231.1 MB / 3.064 GB, free: 48.96 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.036e-06/9.683, allocations: 5.172 kB / 3.064 GB, free: 48.96 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.792e-05/9.683, allocations: 10.5 kB / 3.064 GB, free: 48.96 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.006423/9.689, allocations: 1.28 MB / 3.066 GB, free: 48.34 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.561e-05/9.689, allocations: 9.625 kB / 3.066 GB, free: 48.34 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001676/9.689, allocations: 77.58 kB / 3.066 GB, free: 48.3 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003045/9.692, allocations: 235.8 kB / 3.066 GB, free: 48.28 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00123/9.694, allocations: 439.4 kB / 3.066 GB, free: 48.06 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.275e-05/9.694, allocations: 30.03 kB / 3.066 GB, free: 48.06 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.88e-05/9.694, allocations: 40.69 kB / 3.066 GB, free: 48.06 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002082/9.696, allocations: 0.6177 MB / 3.067 GB, free: 47.92 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.065e-05/9.696, allocations: 3.375 kB / 3.067 GB, free: 47.92 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.415e-05/9.696, allocations: 27.23 kB / 3.067 GB, free: 47.92 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.351e-05/9.696, allocations: 9.719 kB / 3.067 GB, free: 47.92 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001895/9.698, allocations: 0.5213 MB / 3.067 GB, free: 47.92 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.004429/9.703, allocations: 2.757 MB / 3.07 GB, free: 45.94 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001826/9.704, allocations: 449.2 kB / 3.071 GB, free: 45.91 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000336/9.705, allocations: 130.6 kB / 3.071 GB, free: 45.91 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2074/9.912, allocations: 51.72 MB / 3.121 GB, free: 33.67 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.584e-05/9.912, allocations: 38.16 kB / 3.121 GB, free: 33.63 MB / 442.7 MB Notification: Performance of pre-optimization done (n=27): time 2.905e-06/9.912, allocations: 2.188 kB / 3.121 GB, free: 33.63 MB / 442.7 MB Notification: Performance of matching and sorting (n=27): time 0.002905/9.915, allocations: 0.6412 MB / 3.122 GB, free: 33.57 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.525e-05/9.915, allocations: 106.8 kB / 3.122 GB, free: 33.45 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005149/9.916, allocations: 301.9 kB / 3.122 GB, free: 33.33 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 7.06e-05/9.916, allocations: 33.42 kB / 3.122 GB, free: 33.3 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00018/9.916, allocations: 287.3 kB / 3.123 GB, free: 33.11 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001043/9.916, allocations: 90.52 kB / 3.123 GB, free: 33.07 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.163e-05/9.916, allocations: 7.5 kB / 3.123 GB, free: 33.07 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001353/9.916, allocations: 323.1 kB / 3.123 GB, free: 32.75 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002843/9.917, allocations: 104.1 kB / 3.123 GB, free: 32.75 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000357/9.917, allocations: 236.9 kB / 3.123 GB, free: 32.59 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003225/9.917, allocations: 136.1 kB / 3.123 GB, free: 32.57 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.713e-06/9.917, allocations: 0 / 3.123 GB, free: 32.57 MB / 442.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0009624/9.918, allocations: 370.3 kB / 3.124 GB, free: 32.52 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006283/9.919, allocations: 1.479 MB / 3.125 GB, free: 30.97 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.786e-05/9.919, allocations: 7.484 kB / 3.125 GB, free: 30.97 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.744e-05/9.919, allocations: 3.938 kB / 3.125 GB, free: 30.97 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009793/9.92, allocations: 124.5 kB / 3.125 GB, free: 30.96 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.935e-05/9.92, allocations: 12.58 kB / 3.125 GB, free: 30.96 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008936/9.921, allocations: 86.64 kB / 3.125 GB, free: 30.95 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.83e-05/9.921, allocations: 24.34 kB / 3.125 GB, free: 30.95 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/9.921, allocations: 3.906 kB / 3.125 GB, free: 30.95 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008812/9.922, allocations: 319.7 kB / 3.126 GB, free: 30.94 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/9.922, allocations: 3.031 kB / 3.126 GB, free: 30.94 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/9.922, allocations: 10.72 kB / 3.126 GB, free: 30.94 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000872/9.923, allocations: 118.3 kB / 3.126 GB, free: 30.94 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.323e-05/9.923, allocations: 7.344 kB / 3.126 GB, free: 30.94 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006892/9.924, allocations: 76.69 kB / 3.126 GB, free: 30.93 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.227e-05/9.924, allocations: 16.62 kB / 3.126 GB, free: 30.93 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 (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 (44): * Single equations (assignments): 44 * 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.0002106/9.924, allocations: 132.5 kB / 3.126 GB, free: 30.82 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001579/9.924, allocations: 42.05 kB / 3.126 GB, free: 30.8 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002744/9.927, allocations: 1.893 MB / 3.128 GB, free: 30.53 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.079e-05/9.927, allocations: 27.97 kB / 3.128 GB, free: 30.53 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.839e-06/9.927, allocations: 3.797 kB / 3.128 GB, free: 30.53 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.997e-06/9.927, allocations: 3.75 kB / 3.128 GB, free: 30.53 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001487/9.929, allocations: 1.032 MB / 3.129 GB, free: 30.26 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/9.929, allocations: 0 / 3.129 GB, free: 30.26 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007941/9.929, allocations: 91.23 kB / 3.129 GB, free: 30.26 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.054e-05/9.93, allocations: 7.938 kB / 3.129 GB, free: 30.26 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.087e-05/9.93, allocations: 10.53 kB / 3.129 GB, free: 30.26 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.012e-06/9.93, allocations: 3.391 kB / 3.129 GB, free: 30.26 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.948e-06/9.93, allocations: 1.797 kB / 3.129 GB, free: 30.26 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001619/9.931, allocations: 1.019 MB / 3.13 GB, free: 30.01 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004358/9.932, allocations: 250.9 kB / 3.13 GB, free: 29.84 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001051/9.932, allocations: 8.812 kB / 3.13 GB, free: 29.84 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007274/9.933, allocations: 59.11 kB / 3.13 GB, free: 29.84 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001157/9.933, allocations: 31.81 kB / 3.13 GB, free: 29.84 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.702e-05/9.933, allocations: 13.3 kB / 3.131 GB, free: 29.83 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004923/9.933, allocations: 302 kB / 3.131 GB, free: 29.74 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.71e-07/9.933, allocations: 0 / 3.131 GB, free: 29.74 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00597/9.939, allocations: 1.154 MB / 3.132 GB, free: 29.56 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,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse13.phase,$cse13.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.01192/9.951, allocations: 2.898 MB / 3.135 GB, free: 28.57 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001576/9.953, allocations: 0.6997 MB / 3.135 GB, free: 28.55 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/9.953, allocations: 0.75 kB / 3.135 GB, free: 28.55 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007265/9.954, allocations: 492 kB / 3.136 GB, free: 28.54 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001923/9.956, allocations: 202.9 kB / 3.136 GB, free: 28.52 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6481/10.6, allocations: 75.57 MB / 3.21 GB, free: 60.23 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009494/10.6, allocations: 0.9989 MB / 3.211 GB, free: 59.53 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007541/10.61, allocations: 279.8 kB / 3.211 GB, free: 59.52 MB / 442.7 MB Notification: Performance of SimCode: time 1.583e-06/10.61, allocations: 0 / 3.211 GB, free: 59.52 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.565/14.17, allocations: 30.47 MB / 3.241 GB, free: 58.3 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing_res.mat does not exist to compare? outputFormat=mat