Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestComponents_Valves_TestValveVaporizing",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 3.024/3.024, allocations: 270 MB / 282.6 MB, free: 1.883 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.168e-05/4.181e-05, allocations: 4 kB / 347.1 MB, free: 3.133 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4168/0.4169, allocations: 61.86 MB / 408.9 MB, free: 10.67 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.889/9.306, allocations: 2.805 GB / 3.205 GB, free: 98.79 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002681/9.306, allocations: 84.22 kB / 3.205 GB, free: 98.75 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.295/10.6, allocations: 239.3 MB / 3.439 GB, free: 75.12 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.455e-06/10.6, allocations: 4 kB / 3.439 GB, free: 75.11 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.492e-05/10.6, allocations: 11.12 kB / 3.439 GB, free: 75.11 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.0076/10.61, allocations: 1.309 MB / 3.44 GB, free: 73.86 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.751e-05/10.61, allocations: 8.031 kB / 3.44 GB, free: 73.86 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000175/10.61, allocations: 78.05 kB / 3.44 GB, free: 73.78 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004731/10.61, allocations: 259.3 kB / 3.44 GB, free: 73.59 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00129/10.62, allocations: 411.8 kB / 3.441 GB, free: 73.21 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.51e-05/10.62, allocations: 32.78 kB / 3.441 GB, free: 73.17 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001031/10.62, allocations: 28 kB / 3.441 GB, free: 73.14 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002867/10.62, allocations: 0.6321 MB / 3.441 GB, free: 72.6 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.677e-05/10.62, allocations: 7.938 kB / 3.441 GB, free: 72.59 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.708e-05/10.62, allocations: 16 kB / 3.441 GB, free: 72.57 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.68e-05/10.62, allocations: 8 kB / 3.441 GB, free: 72.57 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002698/10.62, allocations: 0.5251 MB / 3.442 GB, free: 72.04 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.006277/10.63, allocations: 2.837 MB / 3.445 GB, free: 68.98 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002735/10.63, allocations: 454.5 kB / 3.445 GB, free: 68.53 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004784/10.63, allocations: 136.8 kB / 3.445 GB, free: 68.39 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08464/10.72, allocations: 24.29 MB / 3.469 GB, free: 41.21 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.109e-05/10.72, allocations: 34.56 kB / 3.469 GB, free: 41.17 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=27): time 3.897e-06/10.72, allocations: 3.938 kB / 3.469 GB, free: 41.16 MB / 0.5261 GB Notification: Performance of matching and sorting (n=27): time 0.002961/10.72, allocations: 0.6516 MB / 3.47 GB, free: 40.51 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.894e-05/10.72, allocations: 102.8 kB / 3.47 GB, free: 40.38 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004984/10.72, allocations: 334.8 kB / 3.47 GB, free: 40.05 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.141e-05/10.72, allocations: 25.7 kB / 3.47 GB, free: 40.02 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001379/10.72, allocations: 262.4 kB / 3.47 GB, free: 39.76 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 9.123e-05/10.72, allocations: 93.39 kB / 3.47 GB, free: 39.67 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.275e-05/10.72, allocations: 15.94 kB / 3.47 GB, free: 39.66 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.945e-05/10.72, allocations: 330.8 kB / 3.471 GB, free: 39.32 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002654/10.72, allocations: 104.6 kB / 3.471 GB, free: 39.22 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003267/10.72, allocations: 205.8 kB / 3.471 GB, free: 38.97 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003328/10.72, allocations: 123.4 kB / 3.471 GB, free: 38.86 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.608e-06/10.72, allocations: 0 / 3.471 GB, free: 38.86 MB / 0.5261 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008592/10.72, allocations: 333.3 kB / 3.471 GB, free: 38.52 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002359/10.72, allocations: 1.052 MB / 3.472 GB, free: 37.39 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/10.72, allocations: 3.984 kB / 3.472 GB, free: 37.39 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.441e-05/10.72, allocations: 8 kB / 3.472 GB, free: 37.38 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008866/10.72, allocations: 115.9 kB / 3.473 GB, free: 37.27 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.434e-05/10.72, allocations: 7.938 kB / 3.473 GB, free: 37.26 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009004/10.72, allocations: 87.48 kB / 3.473 GB, free: 37.18 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.294e-05/10.72, allocations: 19.98 kB / 3.473 GB, free: 37.16 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/10.72, allocations: 7.953 kB / 3.473 GB, free: 37.15 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008231/10.72, allocations: 300 kB / 3.473 GB, free: 36.86 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/10.72, allocations: 4 kB / 3.473 GB, free: 36.85 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.041e-05/10.72, allocations: 4 kB / 3.473 GB, free: 36.85 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008186/10.73, allocations: 111.8 kB / 3.473 GB, free: 36.74 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.838e-06/10.73, allocations: 4 kB / 3.473 GB, free: 36.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006798/10.73, allocations: 79.69 kB / 3.473 GB, free: 36.66 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.69e-05/10.73, allocations: 27.98 kB / 3.473 GB, free: 36.63 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.0001593/10.73, allocations: 120.9 kB / 3.473 GB, free: 36.5 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001367/10.73, allocations: 43.48 kB / 3.473 GB, free: 36.46 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002637/10.73, allocations: 1.898 MB / 3.475 GB, free: 34.54 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.689e-05/10.73, allocations: 27.95 kB / 3.475 GB, free: 34.52 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/10.73, allocations: 4 kB / 3.475 GB, free: 34.51 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.456e-06/10.73, allocations: 4 kB / 3.475 GB, free: 34.51 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001435/10.73, allocations: 1.045 MB / 3.476 GB, free: 33.43 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.471e-06/10.73, allocations: 0 / 3.476 GB, free: 33.43 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000799/10.73, allocations: 103.9 kB / 3.476 GB, free: 33.32 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.207e-06/10.73, allocations: 0 / 3.476 GB, free: 33.32 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.43e-05/10.73, allocations: 15.95 kB / 3.476 GB, free: 33.31 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.943e-06/10.73, allocations: 3.984 kB / 3.476 GB, free: 33.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/10.73, allocations: 4 kB / 3.476 GB, free: 33.3 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001505/10.73, allocations: 1.02 MB / 3.477 GB, free: 32.26 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000384/10.73, allocations: 263.4 kB / 3.478 GB, free: 31.98 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000109/10.73, allocations: 8 kB / 3.478 GB, free: 31.98 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007735/10.73, allocations: 55.91 kB / 3.478 GB, free: 31.92 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001232/10.73, allocations: 39.94 kB / 3.478 GB, free: 31.88 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.808e-05/10.73, allocations: 12 kB / 3.478 GB, free: 31.87 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0005548/10.74, allocations: 361.6 kB / 3.478 GB, free: 31.52 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.51e-07/10.74, allocations: 0 / 3.478 GB, free: 31.52 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005622/10.74, allocations: 1.163 MB / 3.479 GB, free: 30.35 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.01134/10.75, allocations: 2.915 MB / 3.482 GB, free: 27.55 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001583/10.75, allocations: 0.6896 MB / 3.483 GB, free: 26.86 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.129e-06/10.75, allocations: 0.5 kB / 3.483 GB, free: 26.86 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0006556/10.75, allocations: 485.8 kB / 3.483 GB, free: 26.39 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002154/10.76, allocations: 227.8 kB / 3.483 GB, free: 26.17 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006175/10.76, allocations: 1.713 MB / 3.485 GB, free: 24.41 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004441/10.76, allocations: 1.003 MB / 3.486 GB, free: 23.38 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004777/10.76, allocations: 275.3 kB / 3.486 GB, free: 23.11 MB / 0.5261 GB Notification: Performance of SimCode: time 1.082e-06/10.76, allocations: 0 / 3.486 GB, free: 23.11 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.039/14.8, allocations: 30.93 MB / 3.517 GB, free: 89.95 MB / 0.5261 GB