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 2.217/2.217, allocations: 209.3 MB / 221.9 MB, free: 1.941 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.308e-05/4.325e-05, allocations: 4 kB / 273.1 MB, free: 0.6406 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1165, allocations: 48.7 MB / 321.8 MB, free: 15.85 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.956/8.073, allocations: 2.524 GB / 2.838 GB, free: 38.56 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002915/8.073, allocations: 82.58 kB / 2.838 GB, free: 38.52 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.562/9.635, allocations: 231.2 MB / 3.064 GB, free: 48.43 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.195e-06/9.635, allocations: 0 / 3.064 GB, free: 48.43 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.928e-05/9.635, allocations: 10.19 kB / 3.064 GB, free: 48.43 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.006887/9.642, allocations: 1.286 MB / 3.065 GB, free: 47.81 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.577e-05/9.642, allocations: 9.875 kB / 3.065 GB, free: 47.81 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001729/9.642, allocations: 69.97 kB / 3.066 GB, free: 47.77 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003085/9.645, allocations: 250.7 kB / 3.066 GB, free: 47.75 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001256/9.647, allocations: 425.2 kB / 3.066 GB, free: 47.53 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.42e-05/9.647, allocations: 30.75 kB / 3.066 GB, free: 47.53 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.943e-05/9.647, allocations: 34.72 kB / 3.066 GB, free: 47.53 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00229/9.649, allocations: 0.6231 MB / 3.067 GB, free: 47.39 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.906e-05/9.649, allocations: 5.094 kB / 3.067 GB, free: 47.39 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.742e-05/9.649, allocations: 19.95 kB / 3.067 GB, free: 47.38 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.466e-05/9.649, allocations: 7.938 kB / 3.067 GB, free: 47.38 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002107/9.651, allocations: 0.5316 MB / 3.067 GB, free: 47.38 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.00474/9.656, allocations: 2.772 MB / 3.07 GB, free: 45.4 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001812/9.658, allocations: 442.2 kB / 3.071 GB, free: 45.38 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003413/9.658, allocations: 139.7 kB / 3.071 GB, free: 45.37 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1798/9.838, allocations: 51.72 MB / 3.121 GB, free: 33.05 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.362e-05/9.838, allocations: 35.06 kB / 3.121 GB, free: 33.02 MB / 442.7 MB Notification: Performance of pre-optimization done (n=27): time 2.585e-06/9.838, allocations: 3.781 kB / 3.121 GB, free: 33.02 MB / 442.7 MB Notification: Performance of matching and sorting (n=27): time 0.002935/9.841, allocations: 0.6391 MB / 3.122 GB, free: 32.95 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.988e-05/9.841, allocations: 106.7 kB / 3.122 GB, free: 32.83 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005322/9.842, allocations: 306.6 kB / 3.122 GB, free: 32.71 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.838e-05/9.842, allocations: 32.73 kB / 3.122 GB, free: 32.68 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002102/9.842, allocations: 288.8 kB / 3.123 GB, free: 32.49 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000106/9.842, allocations: 91 kB / 3.123 GB, free: 32.45 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.144e-05/9.842, allocations: 6.812 kB / 3.123 GB, free: 32.45 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001695/9.843, allocations: 321.4 kB / 3.123 GB, free: 32.14 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002886/9.843, allocations: 108.4 kB / 3.123 GB, free: 32.14 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003821/9.843, allocations: 237.6 kB / 3.123 GB, free: 31.97 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003307/9.844, allocations: 142.1 kB / 3.123 GB, free: 31.95 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/9.844, allocations: 0 / 3.123 GB, free: 31.95 MB / 442.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001042/9.845, allocations: 369.4 kB / 3.124 GB, free: 31.91 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007417/9.846, allocations: 1.484 MB / 3.125 GB, free: 30.36 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.569e-05/9.846, allocations: 7.828 kB / 3.125 GB, free: 30.35 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.78e-05/9.846, allocations: 7.812 kB / 3.125 GB, free: 30.35 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009239/9.847, allocations: 123.2 kB / 3.125 GB, free: 30.35 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.745e-05/9.847, allocations: 8.172 kB / 3.125 GB, free: 30.35 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008883/9.847, allocations: 92.16 kB / 3.125 GB, free: 30.33 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.429e-05/9.848, allocations: 19.44 kB / 3.125 GB, free: 30.33 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/9.848, allocations: 3.906 kB / 3.125 GB, free: 30.33 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008538/9.848, allocations: 332.1 kB / 3.126 GB, free: 30.32 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/9.848, allocations: 3.562 kB / 3.126 GB, free: 30.32 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/9.848, allocations: 7.625 kB / 3.126 GB, free: 30.32 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008241/9.849, allocations: 120.2 kB / 3.126 GB, free: 30.32 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.062e-05/9.849, allocations: 6.844 kB / 3.126 GB, free: 30.32 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006632/9.85, allocations: 69.14 kB / 3.126 GB, free: 30.31 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.909e-05/9.85, allocations: 18.75 kB / 3.126 GB, free: 30.31 MB / 442.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.0002256/9.85, allocations: 142.9 kB / 3.126 GB, free: 30.2 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000156/9.85, allocations: 41.19 kB / 3.126 GB, free: 30.18 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002766/9.853, allocations: 1.89 MB / 3.128 GB, free: 29.91 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.934e-05/9.853, allocations: 33.47 kB / 3.128 GB, free: 29.91 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.694e-06/9.853, allocations: 0 / 3.128 GB, free: 29.91 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.435e-06/9.853, allocations: 0 / 3.128 GB, free: 29.91 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001487/9.855, allocations: 1.029 MB / 3.129 GB, free: 29.65 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.952e-06/9.855, allocations: 0 / 3.129 GB, free: 29.65 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007489/9.856, allocations: 94.66 kB / 3.129 GB, free: 29.65 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.01e-05/9.856, allocations: 7.906 kB / 3.129 GB, free: 29.64 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.336e-05/9.856, allocations: 6.062 kB / 3.129 GB, free: 29.64 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.111e-06/9.856, allocations: 3.938 kB / 3.129 GB, free: 29.64 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/9.856, allocations: 5.203 kB / 3.129 GB, free: 29.64 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001563/9.857, allocations: 1.013 MB / 3.13 GB, free: 29.4 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004275/9.858, allocations: 256 kB / 3.13 GB, free: 29.23 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.782e-05/9.858, allocations: 3.812 kB / 3.13 GB, free: 29.23 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007159/9.859, allocations: 61.89 kB / 3.13 GB, free: 29.22 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001188/9.859, allocations: 33.16 kB / 3.131 GB, free: 29.22 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.614e-05/9.859, allocations: 13.47 kB / 3.131 GB, free: 29.22 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004987/9.859, allocations: 297.5 kB / 3.131 GB, free: 29.13 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-07/9.859, allocations: 2.531 kB / 3.131 GB, free: 29.13 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.006152/9.865, allocations: 1.159 MB / 3.132 GB, free: 28.95 MB / 442.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.01203/9.878, allocations: 2.883 MB / 3.135 GB, free: 27.96 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001575/9.879, allocations: 0.7175 MB / 3.135 GB, free: 27.94 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/9.879, allocations: 0 / 3.135 GB, free: 27.94 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000725/9.88, allocations: 494 kB / 3.136 GB, free: 27.93 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00181/9.882, allocations: 206 kB / 3.136 GB, free: 27.91 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5553/10.44, allocations: 75.56 MB / 3.21 GB, free: 60.19 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006794/10.44, allocations: 1.004 MB / 3.211 GB, free: 59.49 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005789/10.44, allocations: 273.9 kB / 3.211 GB, free: 59.48 MB / 442.7 MB Notification: Performance of SimCode: time 1.143e-06/10.44, allocations: 1.219 kB / 3.211 GB, free: 59.48 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.786/14.22, allocations: 30.44 MB / 3.241 GB, free: 58.32 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