Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Valves_TestValveVaporizing",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.428/2.428, allocations: 270 MB / 283.6 MB, free: 3.109 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.894e-05/3.907e-05, allocations: 7.938 kB / 348.5 MB, free: 10.71 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1369/0.1369, allocations: 61.88 MB / 410.4 MB, free: 12.89 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.739/8.876, allocations: 2.805 GB / 3.206 GB, free: 42.99 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000297/8.877, allocations: 82.39 kB / 3.206 GB, free: 42.95 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.316/10.19, allocations: 239.3 MB / 3.44 GB, free: 22.03 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.094e-06/10.19, allocations: 0 / 3.44 GB, free: 22.03 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.356e-05/10.19, allocations: 15.98 kB / 3.44 GB, free: 22.02 MB / 0.5261 GB 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.00683/10.2, allocations: 1.305 MB / 3.441 GB, free: 20.66 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.086e-05/10.2, allocations: 12.03 kB / 3.441 GB, free: 20.65 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001426/10.2, allocations: 74.53 kB / 3.441 GB, free: 20.57 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002909/10.2, allocations: 260 kB / 3.442 GB, free: 20.32 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001051/10.2, allocations: 408.2 kB / 3.442 GB, free: 19.88 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.743e-05/10.2, allocations: 36.78 kB / 3.442 GB, free: 19.84 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.737e-05/10.2, allocations: 28 kB / 3.442 GB, free: 19.81 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001979/10.21, allocations: 0.6265 MB / 3.443 GB, free: 19.14 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.454e-05/10.21, allocations: 4 kB / 3.443 GB, free: 19.14 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.025e-05/10.21, allocations: 16 kB / 3.443 GB, free: 19.12 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.329e-05/10.21, allocations: 11.94 kB / 3.443 GB, free: 19.11 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001824/10.21, allocations: 0.5284 MB / 3.443 GB, free: 18.58 MB / 0.5261 GB 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.004763/10.21, allocations: 2.841 MB / 3.446 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001861/10.21, allocations: 454.5 kB / 3.446 GB, free: 15.03 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003545/10.21, allocations: 136.8 kB / 3.447 GB, free: 14.89 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4743/10.69, allocations: 24.26 MB / 3.47 GB, free: 73.98 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.887e-05/10.69, allocations: 37.09 kB / 3.47 GB, free: 73.94 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=27): time 3.477e-06/10.69, allocations: 3.781 kB / 3.47 GB, free: 73.94 MB / 0.5261 GB Notification: Performance of matching and sorting (n=27): time 0.003149/10.69, allocations: 0.6571 MB / 3.471 GB, free: 73.9 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.596e-05/10.69, allocations: 110.4 kB / 3.471 GB, free: 73.78 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005896/10.69, allocations: 324.5 kB / 3.471 GB, free: 73.68 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.528e-05/10.69, allocations: 31.86 kB / 3.471 GB, free: 73.64 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002075/10.69, allocations: 218.8 kB / 3.472 GB, free: 73.54 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.000117/10.69, allocations: 94.75 kB / 3.472 GB, free: 73.5 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.697e-05/10.69, allocations: 6.094 kB / 3.472 GB, free: 73.5 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001156/10.69, allocations: 355.2 kB / 3.472 GB, free: 73.18 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003282/10.69, allocations: 108.6 kB / 3.472 GB, free: 73.18 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000379/10.69, allocations: 204.7 kB / 3.472 GB, free: 73.06 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003643/10.69, allocations: 120.8 kB / 3.472 GB, free: 73.06 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/10.69, allocations: 1.375 kB / 3.472 GB, free: 73.06 MB / 0.5261 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001068/10.7, allocations: 362.5 kB / 3.473 GB, free: 73.01 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002443/10.7, allocations: 1.047 MB / 3.474 GB, free: 71.92 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.254e-05/10.7, allocations: 2.562 kB / 3.474 GB, free: 71.92 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.704e-05/10.7, allocations: 13.34 kB / 3.474 GB, free: 71.92 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009326/10.7, allocations: 112.9 kB / 3.474 GB, free: 71.92 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.871e-05/10.7, allocations: 8.391 kB / 3.474 GB, free: 71.92 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009325/10.7, allocations: 87.62 kB / 3.474 GB, free: 71.91 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.297e-05/10.7, allocations: 18.95 kB / 3.474 GB, free: 71.91 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/10.7, allocations: 3.906 kB / 3.474 GB, free: 71.91 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008935/10.7, allocations: 299 kB / 3.474 GB, free: 71.91 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/10.7, allocations: 3.188 kB / 3.474 GB, free: 71.91 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/10.7, allocations: 5.719 kB / 3.474 GB, free: 71.91 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008751/10.7, allocations: 110 kB / 3.474 GB, free: 71.91 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.378e-05/10.7, allocations: 5.094 kB / 3.475 GB, free: 71.91 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009206/10.7, allocations: 85.34 kB / 3.475 GB, free: 71.89 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.145e-05/10.7, allocations: 16.84 kB / 3.475 GB, free: 71.89 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (39): * Single equations (assignments): 39 * 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.0002072/10.7, allocations: 126.1 kB / 3.475 GB, free: 71.79 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001312/10.7, allocations: 41.06 kB / 3.475 GB, free: 71.77 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003316/10.7, allocations: 1.897 MB / 3.477 GB, free: 71.54 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.304e-05/10.71, allocations: 30.91 kB / 3.477 GB, free: 71.54 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.715e-06/10.71, allocations: 1.219 kB / 3.477 GB, free: 71.54 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.026e-05/10.71, allocations: 1.453 kB / 3.477 GB, free: 71.54 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001845/10.71, allocations: 1.055 MB / 3.478 GB, free: 71.31 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.035e-06/10.71, allocations: 2.406 kB / 3.478 GB, free: 71.31 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008456/10.71, allocations: 98.16 kB / 3.478 GB, free: 71.31 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.969e-06/10.71, allocations: 5.438 kB / 3.478 GB, free: 71.31 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.706e-05/10.71, allocations: 5.812 kB / 3.478 GB, free: 71.31 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.826e-06/10.71, allocations: 8.797 kB / 3.478 GB, free: 71.31 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/10.71, allocations: 0 / 3.478 GB, free: 71.31 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001824/10.71, allocations: 1.023 MB / 3.479 GB, free: 71.07 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004762/10.71, allocations: 274.2 kB / 3.479 GB, free: 70.93 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001145/10.71, allocations: 7.172 kB / 3.479 GB, free: 70.93 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008187/10.71, allocations: 56.62 kB / 3.479 GB, free: 70.93 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001429/10.71, allocations: 37.2 kB / 3.479 GB, free: 70.93 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.213e-05/10.71, allocations: 12.14 kB / 3.479 GB, free: 70.93 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0006495/10.71, allocations: 362.9 kB / 3.48 GB, free: 70.84 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5.51e-07/10.71, allocations: 0 / 3.48 GB, free: 70.84 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00643/10.72, allocations: 1.169 MB / 3.481 GB, free: 70.83 MB / 0.5261 GB 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.01312/10.73, allocations: 2.915 MB / 3.483 GB, free: 70.04 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001959/10.73, allocations: 0.6966 MB / 3.484 GB, free: 70.02 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.176e-06/10.73, allocations: 0 / 3.484 GB, free: 70.02 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0009664/10.73, allocations: 496.6 kB / 3.485 GB, free: 70.02 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002297/10.74, allocations: 222.7 kB / 3.485 GB, free: 70.02 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007169/10.74, allocations: 1.691 MB / 3.487 GB, free: 69.7 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006076/10.75, allocations: 1.007 MB / 3.487 GB, free: 68.99 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.00168/10.75, allocations: 0.5623 MB / 3.488 GB, free: 68.98 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005172/10.75, allocations: 275.1 kB / 3.488 GB, free: 68.97 MB / 0.5261 GB Notification: Performance of SimCode: time 1.142e-06/10.75, allocations: 3.672 kB / 3.488 GB, free: 68.97 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1064/10.85, allocations: 43.72 MB / 3.531 GB, free: 67.86 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002216/10.85, allocations: 220.8 kB / 3.531 GB, free: 67.63 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.225/16.08, allocations: 0 / 3.531 GB, free: 67.63 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing_res.mat does not exist to compare? outputFormat=mat