Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Valves_TestValveVaporizing",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.441/2.441, allocations: 235 MB / 247.6 MB, free: 14.58 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.912e-05/3.924e-05, allocations: 4 kB / 305 MB, free: 5.77 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4232/0.4232, allocations: 54.85 MB / 359.9 MB, free: 2.621 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.051/8.475, allocations: 2.635 GB / 2.986 GB, free: 123.4 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002807/8.475, allocations: 79.08 kB / 2.986 GB, free: 123.4 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.327/9.802, allocations: 235.5 MB / 3.216 GB, free: 68.95 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.353e-06/9.803, allocations: 0 / 3.216 GB, free: 68.95 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.95e-05/9.803, allocations: 14.03 kB / 3.216 GB, free: 68.95 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.005971/9.809, allocations: 1.305 MB / 3.218 GB, free: 68.12 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.736e-05/9.809, allocations: 14.31 kB / 3.218 GB, free: 68.12 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000114/9.809, allocations: 68.83 kB / 3.218 GB, free: 68.06 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002785/9.812, allocations: 259.7 kB / 3.218 GB, free: 68.02 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009251/9.812, allocations: 435.5 kB / 3.218 GB, free: 67.71 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.012e-05/9.813, allocations: 27.66 kB / 3.218 GB, free: 67.7 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.621e-05/9.813, allocations: 34.59 kB / 3.218 GB, free: 67.68 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001886/9.815, allocations: 0.6158 MB / 3.219 GB, free: 67.39 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.917e-05/9.815, allocations: 3.781 kB / 3.219 GB, free: 67.39 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.602e-05/9.815, allocations: 19.47 kB / 3.219 GB, free: 67.38 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.232e-05/9.815, allocations: 7.719 kB / 3.219 GB, free: 67.38 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001777/9.816, allocations: 0.5227 MB / 3.22 GB, free: 67.23 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.003919/9.82, allocations: 2.779 MB / 3.222 GB, free: 64.89 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001709/9.822, allocations: 443.8 kB / 3.223 GB, free: 64.75 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003027/9.822, allocations: 134.7 kB / 3.223 GB, free: 64.7 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2304/10.05, allocations: 51.77 MB / 3.273 GB, free: 28.89 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.458e-05/10.05, allocations: 41.36 kB / 3.273 GB, free: 28.84 MB / 490.7 MB Notification: Performance of pre-optimization done (n=27): time 2.725e-06/10.05, allocations: 0 / 3.273 GB, free: 28.84 MB / 490.7 MB Notification: Performance of matching and sorting (n=27): time 0.002847/10.06, allocations: 0.6344 MB / 3.274 GB, free: 28.34 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.128e-05/10.06, allocations: 110.3 kB / 3.274 GB, free: 28.21 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004466/10.06, allocations: 299.3 kB / 3.274 GB, free: 27.93 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.521e-05/10.06, allocations: 33.7 kB / 3.274 GB, free: 27.89 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001397/10.06, allocations: 284.2 kB / 3.275 GB, free: 27.62 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.285e-05/10.06, allocations: 93.89 kB / 3.275 GB, free: 27.54 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.205e-05/10.06, allocations: 12 kB / 3.275 GB, free: 27.53 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.015e-05/10.06, allocations: 325.5 kB / 3.275 GB, free: 27.21 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002674/10.06, allocations: 98.77 kB / 3.275 GB, free: 27.11 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003404/10.06, allocations: 241.4 kB / 3.275 GB, free: 26.83 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003131/10.06, allocations: 129.8 kB / 3.276 GB, free: 26.72 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.239e-06/10.06, allocations: 4 kB / 3.276 GB, free: 26.71 MB / 490.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0008985/10.06, allocations: 350.5 kB / 3.276 GB, free: 26.39 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003045/10.06, allocations: 1.488 MB / 3.277 GB, free: 24.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.164e-05/10.06, allocations: 4 kB / 3.277 GB, free: 24.79 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.502e-05/10.06, allocations: 4 kB / 3.277 GB, free: 24.79 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009084/10.06, allocations: 121.8 kB / 3.278 GB, free: 24.69 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.511e-05/10.06, allocations: 7.938 kB / 3.278 GB, free: 24.68 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008616/10.06, allocations: 97.69 kB / 3.278 GB, free: 24.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.437e-05/10.06, allocations: 16 kB / 3.278 GB, free: 24.59 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.969e-06/10.06, allocations: 4 kB / 3.278 GB, free: 24.58 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008012/10.06, allocations: 324.8 kB / 3.278 GB, free: 24.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.772e-06/10.06, allocations: 4 kB / 3.278 GB, free: 24.29 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/10.06, allocations: 7.953 kB / 3.278 GB, free: 24.29 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008235/10.06, allocations: 122.1 kB / 3.278 GB, free: 24.18 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.181e-05/10.06, allocations: 10.75 kB / 3.278 GB, free: 24.18 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006776/10.06, allocations: 70.72 kB / 3.278 GB, free: 24.12 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.842e-05/10.06, allocations: 23.75 kB / 3.278 GB, free: 24.1 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 (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.0001509/10.06, allocations: 128.9 kB / 3.278 GB, free: 23.96 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001284/10.06, allocations: 39.53 kB / 3.278 GB, free: 23.93 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002581/10.07, allocations: 1.894 MB / 3.28 GB, free: 22.21 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.729e-05/10.07, allocations: 35.38 kB / 3.28 GB, free: 22.2 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.917e-06/10.07, allocations: 4 kB / 3.28 GB, free: 22.19 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/10.07, allocations: 0 / 3.28 GB, free: 22.19 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001335/10.07, allocations: 1.023 MB / 3.281 GB, free: 21.27 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/10.07, allocations: 4 kB / 3.281 GB, free: 21.27 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007361/10.07, allocations: 99.06 kB / 3.281 GB, free: 21.19 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.146e-06/10.07, allocations: 0 / 3.281 GB, free: 21.19 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.038e-05/10.07, allocations: 12 kB / 3.281 GB, free: 21.18 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/10.07, allocations: 0 / 3.281 GB, free: 21.18 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/10.07, allocations: 3.953 kB / 3.281 GB, free: 21.17 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001321/10.07, allocations: 1.013 MB / 3.282 GB, free: 20.22 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003105/10.07, allocations: 257.4 kB / 3.283 GB, free: 19.98 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.593e-05/10.07, allocations: 4 kB / 3.283 GB, free: 19.98 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006918/10.07, allocations: 61.59 kB / 3.283 GB, free: 19.93 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000112/10.07, allocations: 32.61 kB / 3.283 GB, free: 19.91 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.648e-05/10.07, allocations: 11.95 kB / 3.283 GB, free: 19.9 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0004106/10.07, allocations: 305.8 kB / 3.283 GB, free: 19.62 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.01e-07/10.07, allocations: 0 / 3.283 GB, free: 19.62 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005391/10.08, allocations: 1.152 MB / 3.284 GB, free: 18.5 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: 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.0108/10.09, allocations: 2.902 MB / 3.287 GB, free: 15.92 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001597/10.09, allocations: 0.7001 MB / 3.288 GB, free: 15.26 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/10.09, allocations: 0 / 3.288 GB, free: 15.26 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007101/10.09, allocations: 486.1 kB / 3.288 GB, free: 14.81 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001967/10.09, allocations: 202 kB / 3.288 GB, free: 14.66 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6319/10.72, allocations: 76.86 MB / 3.363 GB, free: 69.05 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004713/10.72, allocations: 0.9976 MB / 3.364 GB, free: 68.33 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000468/10.73, allocations: 278.8 kB / 3.365 GB, free: 68.33 MB / 490.7 MB Notification: Performance of SimCode: time 1.192e-06/10.73, allocations: 0 / 3.365 GB, free: 68.33 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.729/14.45, allocations: 30.62 MB / 3.394 GB, free: 65.11 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing_res.mat does not exist to compare? outputFormat=mat