Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_TestComponents_Valves_TestValveVaporizing",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.595/2.595, allocations: 235.2 MB / 242.3 MB, free: 9.578 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.42e-05/2.431e-05, allocations: 0 / 299.6 MB, free: 200 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3839/0.384, allocations: 54.85 MB / 354.4 MB, free: 15.21 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.34/8.724, allocations: 2.634 GB / 2.98 GB, free: 120.3 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003135/8.724, allocations: 84.66 kB / 2.98 GB, free: 120.3 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.322/10.05, allocations: 232.7 MB / 3.208 GB, free: 75.17 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.373e-06/10.05, allocations: 7.875 kB / 3.208 GB, free: 75.17 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.102e-05/10.05, allocations: 11.53 kB / 3.208 GB, free: 75.16 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.006205/10.05, allocations: 1.304 MB / 3.209 GB, free: 74.34 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.294e-05/10.05, allocations: 10.12 kB / 3.209 GB, free: 74.34 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003146/10.06, allocations: 263.4 kB / 3.209 GB, free: 74.29 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001068/10.06, allocations: 431.9 kB / 3.21 GB, free: 73.98 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.733e-05/10.06, allocations: 18.72 kB / 3.21 GB, free: 73.97 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.475e-05/10.06, allocations: 24.12 kB / 3.21 GB, free: 73.97 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009184/10.06, allocations: 340.5 kB / 3.21 GB, free: 73.85 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008778/10.06, allocations: 421.6 kB / 3.21 GB, free: 73.62 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.807e-05/10.06, allocations: 0 / 3.21 GB, free: 73.62 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.356e-05/10.06, allocations: 3.438 kB / 3.21 GB, free: 73.62 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.27e-05/10.06, allocations: 6.844 kB / 3.21 GB, free: 73.62 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.008672/10.07, allocations: 4.103 MB / 3.214 GB, free: 70.44 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007725/10.07, allocations: 248.7 kB / 3.215 GB, free: 70.34 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000279/10.07, allocations: 131.8 kB / 3.215 GB, free: 70.28 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1824/10.25, allocations: 50.36 MB / 3.264 GB, free: 26.99 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.503e-05/10.25, allocations: 34.56 kB / 3.264 GB, free: 26.95 MB / 490.7 MB Notification: Performance of pre-optimization done (n=26): time 2.966e-06/10.25, allocations: 3.938 kB / 3.264 GB, free: 26.94 MB / 490.7 MB Notification: Performance of matching and sorting (n=26): time 0.002973/10.25, allocations: 0.5438 MB / 3.264 GB, free: 26.39 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.912e-05/10.25, allocations: 106.8 kB / 3.265 GB, free: 26.26 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004011/10.26, allocations: 282.2 kB / 3.265 GB, free: 25.98 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.768e-05/10.26, allocations: 25.7 kB / 3.265 GB, free: 25.95 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000162/10.26, allocations: 247.9 kB / 3.265 GB, free: 25.71 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.212e-05/10.26, allocations: 86.75 kB / 3.265 GB, free: 25.62 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.001e-05/10.26, allocations: 0 / 3.265 GB, free: 25.62 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.887e-05/10.26, allocations: 346.8 kB / 3.266 GB, free: 25.27 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002457/10.26, allocations: 95.98 kB / 3.266 GB, free: 25.18 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003165/10.26, allocations: 233.5 kB / 3.266 GB, free: 24.89 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001289/10.26, allocations: 219.8 kB / 3.266 GB, free: 24.68 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.78e-06/10.26, allocations: 3.953 kB / 3.266 GB, free: 24.67 MB / 490.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001832/10.26, allocations: 445.3 kB / 3.266 GB, free: 24.23 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000298/10.26, allocations: 1.477 MB / 3.268 GB, free: 22.64 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/10.26, allocations: 4 kB / 3.268 GB, free: 22.63 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.43e-05/10.26, allocations: 8 kB / 3.268 GB, free: 22.62 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000948/10.26, allocations: 123.8 kB / 3.268 GB, free: 22.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.189e-05/10.26, allocations: 7.984 kB / 3.268 GB, free: 22.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008761/10.26, allocations: 83.48 kB / 3.268 GB, free: 22.41 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.64e-05/10.26, allocations: 23.98 kB / 3.268 GB, free: 22.39 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.075e-05/10.26, allocations: 4.625 kB / 3.268 GB, free: 22.39 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001477/10.26, allocations: 351.5 kB / 3.268 GB, free: 22.04 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/10.26, allocations: 4 kB / 3.268 GB, free: 22.04 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.031e-05/10.26, allocations: 4 kB / 3.268 GB, free: 22.04 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009219/10.26, allocations: 124.3 kB / 3.269 GB, free: 21.91 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/10.26, allocations: 7.953 kB / 3.269 GB, free: 21.91 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007536/10.27, allocations: 71.64 kB / 3.269 GB, free: 21.84 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.108e-05/10.27, allocations: 27.92 kB / 3.269 GB, free: 21.81 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.0001346/10.27, allocations: 118.9 kB / 3.269 GB, free: 21.69 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001557/10.27, allocations: 333.2 kB / 3.269 GB, free: 21.36 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.11e-05/10.27, allocations: 39.53 kB / 3.269 GB, free: 21.32 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003002/10.27, allocations: 1.673 MB / 3.271 GB, free: 19.63 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.622e-05/10.27, allocations: 31.94 kB / 3.271 GB, free: 19.6 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/10.27, allocations: 3.984 kB / 3.271 GB, free: 19.59 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-06/10.27, allocations: 3.984 kB / 3.271 GB, free: 19.59 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001137/10.27, allocations: 0.8579 MB / 3.272 GB, free: 18.71 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-06/10.27, allocations: 4 kB / 3.272 GB, free: 18.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000786/10.27, allocations: 95.92 kB / 3.272 GB, free: 18.61 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.972e-06/10.27, allocations: 0 / 3.272 GB, free: 18.61 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.659e-05/10.27, allocations: 4 kB / 3.272 GB, free: 18.61 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.968e-06/10.27, allocations: 0 / 3.272 GB, free: 18.61 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-06/10.27, allocations: 7.953 kB / 3.272 GB, free: 18.6 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00186/10.27, allocations: 0.9629 MB / 3.273 GB, free: 17.61 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003252/10.27, allocations: 255.5 kB / 3.273 GB, free: 17.34 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001294/10.27, allocations: 4 kB / 3.273 GB, free: 17.34 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007535/10.28, allocations: 47.86 kB / 3.273 GB, free: 17.29 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001252/10.28, allocations: 31.95 kB / 3.273 GB, free: 17.26 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.804e-05/10.28, allocations: 11.95 kB / 3.273 GB, free: 17.25 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0004436/10.28, allocations: 290.9 kB / 3.273 GB, free: 16.96 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.81e-07/10.28, allocations: 3.938 kB / 3.273 GB, free: 16.96 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005544/10.28, allocations: 1.124 MB / 3.274 GB, free: 15.84 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: 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.01185/10.29, allocations: 2.905 MB / 3.277 GB, free: 13.01 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001443/10.29, allocations: 0.655 MB / 3.278 GB, free: 12.36 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/10.29, allocations: 2 kB / 3.278 GB, free: 12.36 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005891/10.3, allocations: 429.1 kB / 3.278 GB, free: 11.94 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001919/10.3, allocations: 185.7 kB / 3.279 GB, free: 11.76 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5945/10.89, allocations: 54.89 MB / 3.332 GB, free: 75.73 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004801/10.89, allocations: 0.9854 MB / 3.333 GB, free: 75.02 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001607/10.89, allocations: 0.543 MB / 3.334 GB, free: 74.99 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004505/10.89, allocations: 264.1 kB / 3.334 GB, free: 74.99 MB / 490.7 MB Notification: Performance of SimCode: time 1.122e-06/10.89, allocations: 2.812 kB / 3.334 GB, free: 74.99 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.115/11.01, allocations: 37.18 MB / 3.37 GB, free: 72.89 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002456/11.01, allocations: 189.6 kB / 3.37 GB, free: 72.7 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 4.385/15.39, allocations: 4 kB / 3.37 GB, free: 72.69 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing_res.mat does not exist to compare? outputFormat=mat