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.996/1.996, allocations: 209.4 MB / 216.9 MB, free: 6.672 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.478e-05/2.498e-05, allocations: 0 / 267.6 MB, free: 5.32 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1172/0.1173, allocations: 48.7 MB / 316.3 MB, free: 4.523 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.897/8.014, allocations: 2.524 GB / 2.833 GB, free: 74.97 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002976/8.014, allocations: 82.64 kB / 2.833 GB, free: 74.93 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.213/9.227, allocations: 228.4 MB / 3.056 GB, free: 14.36 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.376e-06/9.227, allocations: 3.984 kB / 3.056 GB, free: 14.36 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.085e-05/9.227, allocations: 12 kB / 3.056 GB, free: 14.35 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.006391/9.233, allocations: 1.279 MB / 3.057 GB, free: 13.03 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.185e-05/9.234, allocations: 19.97 kB / 3.057 GB, free: 13.01 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002915/9.236, allocations: 247.1 kB / 3.057 GB, free: 12.77 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001082/9.238, allocations: 424 kB / 3.058 GB, free: 12.32 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.8e-05/9.238, allocations: 16 kB / 3.058 GB, free: 12.3 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.518e-05/9.238, allocations: 20 kB / 3.058 GB, free: 12.29 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008561/9.239, allocations: 345.5 kB / 3.058 GB, free: 11.95 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008242/9.239, allocations: 426.2 kB / 3.058 GB, free: 11.49 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.864e-05/9.239, allocations: 3.938 kB / 3.058 GB, free: 11.48 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.759e-05/9.24, allocations: 0 / 3.058 GB, free: 11.48 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.661e-05/9.24, allocations: 8 kB / 3.058 GB, free: 11.48 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.008256/9.248, allocations: 4.084 MB / 3.062 GB, free: 7 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007728/9.249, allocations: 246.8 kB / 3.063 GB, free: 6.75 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002814/9.249, allocations: 124.8 kB / 3.063 GB, free: 6.625 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4915/9.74, allocations: 50.33 MB / 3.112 GB, free: 27.01 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.751e-05/9.741, allocations: 38.06 kB / 3.112 GB, free: 26.97 MB / 426.7 MB Notification: Performance of pre-optimization done (n=26): time 3.336e-06/9.741, allocations: 0 / 3.112 GB, free: 26.97 MB / 426.7 MB Notification: Performance of matching and sorting (n=26): time 0.002905/9.744, allocations: 0.5523 MB / 3.113 GB, free: 26.94 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.82e-05/9.744, allocations: 106.8 kB / 3.113 GB, free: 26.81 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004139/9.744, allocations: 277 kB / 3.113 GB, free: 26.71 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.268e-05/9.744, allocations: 25.7 kB / 3.113 GB, free: 26.68 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001646/9.744, allocations: 296.4 kB / 3.113 GB, free: 26.5 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.226e-05/9.744, allocations: 84.31 kB / 3.113 GB, free: 26.45 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.897e-05/9.744, allocations: 0 / 3.113 GB, free: 26.45 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.592e-05/9.745, allocations: 328.4 kB / 3.114 GB, free: 26.14 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002385/9.745, allocations: 97.19 kB / 3.114 GB, free: 26.14 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003342/9.745, allocations: 236.1 kB / 3.114 GB, free: 25.98 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001291/9.746, allocations: 202 kB / 3.114 GB, free: 25.97 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.665e-06/9.746, allocations: 3.312 kB / 3.114 GB, free: 25.97 MB / 426.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001863/9.748, allocations: 430.6 kB / 3.114 GB, free: 25.92 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003506/9.749, allocations: 1.49 MB / 3.116 GB, free: 24.37 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.281e-05/9.749, allocations: 3.344 kB / 3.116 GB, free: 24.37 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.219e-05/9.749, allocations: 3.844 kB / 3.116 GB, free: 24.37 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000963/9.75, allocations: 123.2 kB / 3.116 GB, free: 24.37 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.391e-05/9.75, allocations: 9.891 kB / 3.116 GB, free: 24.37 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008729/9.751, allocations: 79.84 kB / 3.116 GB, free: 24.35 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.618e-05/9.751, allocations: 22.97 kB / 3.116 GB, free: 24.35 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/9.751, allocations: 5.062 kB / 3.116 GB, free: 24.35 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001472/9.752, allocations: 347.3 kB / 3.117 GB, free: 24.34 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/9.752, allocations: 3.875 kB / 3.117 GB, free: 24.34 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/9.752, allocations: 7.469 kB / 3.117 GB, free: 24.34 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008849/9.753, allocations: 122.3 kB / 3.117 GB, free: 24.34 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.432e-05/9.753, allocations: 19.8 kB / 3.117 GB, free: 24.34 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006999/9.754, allocations: 65.36 kB / 3.117 GB, free: 24.33 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.418e-05/9.754, allocations: 21.48 kB / 3.117 GB, free: 24.33 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 (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.0001814/9.754, allocations: 118.4 kB / 3.117 GB, free: 24.22 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001588/9.756, allocations: 339.8 kB / 3.117 GB, free: 24.17 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.723e-05/9.756, allocations: 41.53 kB / 3.117 GB, free: 24.15 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003044/9.759, allocations: 1.674 MB / 3.119 GB, free: 23.95 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.07e-05/9.759, allocations: 29.38 kB / 3.119 GB, free: 23.95 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/9.759, allocations: 0 / 3.119 GB, free: 23.95 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.887e-06/9.759, allocations: 3.844 kB / 3.119 GB, free: 23.95 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001317/9.76, allocations: 0.856 MB / 3.12 GB, free: 23.76 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.007e-06/9.761, allocations: 4.359 kB / 3.12 GB, free: 23.76 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007724/9.761, allocations: 96.84 kB / 3.12 GB, free: 23.76 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.196e-06/9.761, allocations: 0 / 3.12 GB, free: 23.76 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.185e-05/9.761, allocations: 3.188 kB / 3.12 GB, free: 23.76 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.451e-06/9.761, allocations: 7.438 kB / 3.12 GB, free: 23.75 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.422e-06/9.761, allocations: 8.391 kB / 3.12 GB, free: 23.75 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001997/9.763, allocations: 0.9639 MB / 3.121 GB, free: 23.54 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003868/9.764, allocations: 248.6 kB / 3.121 GB, free: 23.4 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001182/9.764, allocations: 0 / 3.121 GB, free: 23.4 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006988/9.765, allocations: 50.02 kB / 3.121 GB, free: 23.39 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001192/9.765, allocations: 34.8 kB / 3.121 GB, free: 23.39 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.566e-05/9.765, allocations: 14.86 kB / 3.121 GB, free: 23.39 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004371/9.765, allocations: 283.3 kB / 3.121 GB, free: 23.3 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.91e-07/9.765, allocations: 0 / 3.121 GB, free: 23.3 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005918/9.771, allocations: 1.129 MB / 3.122 GB, free: 23.28 MB / 426.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,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse12.phase,$cse12.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.0127/9.784, allocations: 2.901 MB / 3.125 GB, free: 22.45 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001431/9.785, allocations: 0.6393 MB / 3.126 GB, free: 22.45 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/9.786, allocations: 0 / 3.126 GB, free: 22.45 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005953/9.786, allocations: 433.6 kB / 3.126 GB, free: 22.45 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001803/9.788, allocations: 183.5 kB / 3.127 GB, free: 22.43 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1991/9.987, allocations: 54.9 MB / 3.18 GB, free: 18.42 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004777/9.988, allocations: 0.9875 MB / 3.181 GB, free: 17.52 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005085/9.988, allocations: 264.6 kB / 3.181 GB, free: 17.48 MB / 426.7 MB Notification: Performance of SimCode: time 1.393e-06/9.988, allocations: 0 / 3.181 GB, free: 17.48 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.547/13.54, allocations: 30.85 MB / 3.211 GB, free: 15.99 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