Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Valves_TestValveVaporizing",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.423/2.423, allocations: 235 MB / 247.2 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.795e-05/4.809e-05, allocations: 4 kB / 305 MB, free: 5.078 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4098/0.4099, allocations: 54.86 MB / 359.9 MB, free: 3.176 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.089/8.499, allocations: 2.635 GB / 2.986 GB, free: 123.5 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003319/8.499, allocations: 81.83 kB / 2.986 GB, free: 123.5 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.235/9.734, allocations: 235.5 MB / 3.216 GB, free: 69.12 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.795e-06/9.734, allocations: 3.656 kB / 3.216 GB, free: 69.12 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.137e-05/9.734, allocations: 9.25 kB / 3.216 GB, free: 69.12 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.006207/9.74, allocations: 1.301 MB / 3.218 GB, free: 68.3 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.395e-05/9.74, allocations: 17.47 kB / 3.218 GB, free: 68.3 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001616/9.74, allocations: 69.03 kB / 3.218 GB, free: 68.24 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002978/9.743, allocations: 261.8 kB / 3.218 GB, free: 68.2 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001118/9.744, allocations: 437.4 kB / 3.218 GB, free: 67.88 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.482e-05/9.745, allocations: 33.62 kB / 3.218 GB, free: 67.86 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.671e-05/9.745, allocations: 29.5 kB / 3.218 GB, free: 67.85 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002057/9.747, allocations: 0.6231 MB / 3.219 GB, free: 67.56 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.964e-05/9.747, allocations: 2.344 kB / 3.219 GB, free: 67.56 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.024e-05/9.747, allocations: 17.19 kB / 3.219 GB, free: 67.55 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.309e-05/9.747, allocations: 15.19 kB / 3.219 GB, free: 67.54 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001822/9.749, allocations: 0.5275 MB / 3.22 GB, free: 67.39 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.00425/9.753, allocations: 2.772 MB / 3.222 GB, free: 65.06 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001793/9.755, allocations: 444.5 kB / 3.223 GB, free: 64.93 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003164/9.755, allocations: 139.6 kB / 3.223 GB, free: 64.86 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1825/9.938, allocations: 51.77 MB / 3.273 GB, free: 29.2 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.668e-05/9.938, allocations: 34.56 kB / 3.273 GB, free: 29.16 MB / 490.7 MB Notification: Performance of pre-optimization done (n=27): time 3.877e-06/9.938, allocations: 4 kB / 3.273 GB, free: 29.15 MB / 490.7 MB Notification: Performance of matching and sorting (n=27): time 0.002851/9.941, allocations: 0.6371 MB / 3.274 GB, free: 28.65 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.398e-05/9.941, allocations: 110.8 kB / 3.274 GB, free: 28.52 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004648/9.941, allocations: 302.2 kB / 3.274 GB, free: 28.23 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.001e-05/9.941, allocations: 29.7 kB / 3.274 GB, free: 28.2 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001678/9.941, allocations: 230.8 kB / 3.275 GB, free: 27.98 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.307e-05/9.942, allocations: 100.6 kB / 3.275 GB, free: 27.9 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.136e-05/9.942, allocations: 8 kB / 3.275 GB, free: 27.89 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.954e-05/9.942, allocations: 350 kB / 3.275 GB, free: 27.55 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002795/9.942, allocations: 103.7 kB / 3.275 GB, free: 27.45 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003446/9.942, allocations: 240 kB / 3.275 GB, free: 27.17 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003109/9.943, allocations: 126.9 kB / 3.276 GB, free: 27.06 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/9.943, allocations: 0 / 3.276 GB, free: 27.06 MB / 490.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0009742/9.944, allocations: 388.5 kB / 3.276 GB, free: 26.7 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000304/9.944, allocations: 1.478 MB / 3.277 GB, free: 25.11 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.236e-05/9.944, allocations: 4 kB / 3.277 GB, free: 25.11 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.25e-05/9.944, allocations: 12 kB / 3.277 GB, free: 25.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009702/9.945, allocations: 126.6 kB / 3.278 GB, free: 25 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.498e-05/9.945, allocations: 7.938 kB / 3.278 GB, free: 24.99 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009189/9.946, allocations: 90.06 kB / 3.278 GB, free: 24.91 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.893e-05/9.946, allocations: 20 kB / 3.278 GB, free: 24.89 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/9.946, allocations: 13.67 kB / 3.278 GB, free: 24.88 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008618/9.947, allocations: 333.2 kB / 3.278 GB, free: 24.59 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/9.947, allocations: 4.5 kB / 3.278 GB, free: 24.59 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/9.947, allocations: 8 kB / 3.278 GB, free: 24.58 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008691/9.948, allocations: 118.5 kB / 3.278 GB, free: 24.48 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.22e-05/9.948, allocations: 8 kB / 3.278 GB, free: 24.47 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008294/9.949, allocations: 77 kB / 3.278 GB, free: 24.41 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.676e-05/9.949, allocations: 23.28 kB / 3.278 GB, free: 24.39 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.00018/9.949, allocations: 132.8 kB / 3.278 GB, free: 24.25 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001085/9.949, allocations: 43.48 kB / 3.278 GB, free: 24.21 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002662/9.952, allocations: 1.888 MB / 3.28 GB, free: 22.51 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.263e-05/9.952, allocations: 29.36 kB / 3.28 GB, free: 22.49 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/9.952, allocations: 11.94 kB / 3.28 GB, free: 22.48 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.897e-06/9.952, allocations: 0 / 3.28 GB, free: 22.48 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001411/9.953, allocations: 1.015 MB / 3.281 GB, free: 21.57 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/9.953, allocations: 0 / 3.281 GB, free: 21.57 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007961/9.954, allocations: 94.42 kB / 3.281 GB, free: 21.49 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-05/9.954, allocations: 4 kB / 3.281 GB, free: 21.49 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.828e-05/9.954, allocations: 7.953 kB / 3.281 GB, free: 21.48 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.963e-06/9.954, allocations: 4 kB / 3.281 GB, free: 21.48 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/9.954, allocations: 7.875 kB / 3.281 GB, free: 21.47 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001442/9.956, allocations: 1.02 MB / 3.282 GB, free: 20.52 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003658/9.956, allocations: 254.1 kB / 3.283 GB, free: 20.27 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001032/9.956, allocations: 16 kB / 3.283 GB, free: 20.26 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007323/9.957, allocations: 55.2 kB / 3.283 GB, free: 20.21 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000125/9.957, allocations: 34.58 kB / 3.283 GB, free: 20.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.619e-05/9.957, allocations: 8 kB / 3.283 GB, free: 20.19 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.000501/9.958, allocations: 300.2 kB / 3.283 GB, free: 19.91 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.91e-07/9.958, allocations: 0 / 3.283 GB, free: 19.91 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005603/9.963, allocations: 1.158 MB / 3.284 GB, free: 18.79 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.01142/9.975, allocations: 2.891 MB / 3.287 GB, free: 16.21 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001589/9.977, allocations: 0.7283 MB / 3.288 GB, free: 15.53 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/9.977, allocations: 0 / 3.288 GB, free: 15.53 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006607/9.977, allocations: 489.3 kB / 3.288 GB, free: 15.07 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001883/9.979, allocations: 203.7 kB / 3.288 GB, free: 14.89 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5905/10.57, allocations: 76.82 MB / 3.363 GB, free: 68.72 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004909/10.57, allocations: 1.003 MB / 3.364 GB, free: 68.01 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001562/10.57, allocations: 0.5346 MB / 3.365 GB, free: 67.98 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004778/10.57, allocations: 271.7 kB / 3.365 GB, free: 67.98 MB / 490.7 MB Notification: Performance of SimCode: time 9.72e-07/10.57, allocations: 0 / 3.365 GB, free: 67.98 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09989/10.67, allocations: 42.82 MB / 3.407 GB, free: 65.57 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002328/10.67, allocations: 211.4 kB / 3.407 GB, free: 65.35 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.791/15.46, allocations: 0 / 3.407 GB, free: 65.35 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing_res.mat does not exist to compare? outputFormat=mat