Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestComponents_Valves_TestCheckValve",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.888/2.888, allocations: 270 MB / 282.7 MB, free: 1.832 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.917e-05/3.923e-05, allocations: 4 kB / 347.1 MB, free: 3.098 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4139/0.414, allocations: 61.86 MB / 408.9 MB, free: 10.63 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.748/9.162, allocations: 2.776 GB / 3.175 GB, free: 125.7 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002564/9.162, allocations: 87.33 kB / 3.175 GB, free: 125.7 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.478/10.64, allocations: 236.3 MB / 3.406 GB, free: 79.82 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.637e-06/10.64, allocations: 3.812 kB / 3.406 GB, free: 79.82 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.595e-05/10.64, allocations: 19.56 kB / 3.406 GB, free: 79.82 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.006102/10.65, allocations: 1.277 MB / 3.407 GB, free: 78.99 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.362e-05/10.65, allocations: 11.06 kB / 3.408 GB, free: 78.99 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001371/10.65, allocations: 65.72 kB / 3.408 GB, free: 78.93 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002877/10.65, allocations: 248.8 kB / 3.408 GB, free: 78.89 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001148/10.65, allocations: 426.5 kB / 3.408 GB, free: 78.58 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.14e-05/10.65, allocations: 26.03 kB / 3.408 GB, free: 78.57 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.691e-05/10.65, allocations: 30.34 kB / 3.408 GB, free: 78.56 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001988/10.65, allocations: 0.5981 MB / 3.409 GB, free: 78.29 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.941e-05/10.65, allocations: 0 / 3.409 GB, free: 78.29 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.643e-05/10.65, allocations: 11.94 kB / 3.409 GB, free: 78.28 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.284e-05/10.65, allocations: 7.938 kB / 3.409 GB, free: 78.28 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001794/10.66, allocations: 0.5203 MB / 3.409 GB, free: 78.13 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.0047/10.66, allocations: 2.626 MB / 3.412 GB, free: 75.97 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001829/10.66, allocations: 421.7 kB / 3.412 GB, free: 75.84 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003514/10.66, allocations: 145 kB / 3.412 GB, free: 75.78 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07669/10.74, allocations: 24.15 MB / 3.436 GB, free: 59.62 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.368e-05/10.74, allocations: 38.5 kB / 3.436 GB, free: 59.57 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=25): time 3.717e-06/10.74, allocations: 3.938 kB / 3.436 GB, free: 59.57 MB / 0.5261 GB Notification: Performance of matching and sorting (n=25): time 0.002992/10.74, allocations: 0.6507 MB / 3.437 GB, free: 59.05 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.361e-05/10.74, allocations: 102.8 kB / 3.437 GB, free: 58.93 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005082/10.74, allocations: 328.9 kB / 3.437 GB, free: 58.62 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.568e-05/10.74, allocations: 29.7 kB / 3.437 GB, free: 58.59 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001332/10.74, allocations: 269.6 kB / 3.437 GB, free: 58.33 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 8.506e-05/10.74, allocations: 78.5 kB / 3.438 GB, free: 58.26 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.016e-05/10.74, allocations: 8 kB / 3.438 GB, free: 58.25 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.16e-05/10.74, allocations: 330.3 kB / 3.438 GB, free: 57.93 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002878/10.74, allocations: 103.6 kB / 3.438 GB, free: 57.83 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003374/10.74, allocations: 207.8 kB / 3.438 GB, free: 57.6 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003274/10.74, allocations: 124.4 kB / 3.438 GB, free: 57.49 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.082e-06/10.74, allocations: 4 kB / 3.438 GB, free: 57.48 MB / 0.5261 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0009683/10.75, allocations: 351.2 kB / 3.439 GB, free: 57.17 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002423/10.75, allocations: 1.055 MB / 3.44 GB, free: 56.04 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/10.75, allocations: 4 kB / 3.44 GB, free: 56.03 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.643e-05/10.75, allocations: 4 kB / 3.44 GB, free: 56.03 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008478/10.75, allocations: 103.4 kB / 3.44 GB, free: 55.95 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.544e-05/10.75, allocations: 11.98 kB / 3.44 GB, free: 55.93 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008276/10.75, allocations: 75.36 kB / 3.44 GB, free: 55.87 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.058e-05/10.75, allocations: 27.88 kB / 3.44 GB, free: 55.85 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/10.75, allocations: 7.938 kB / 3.44 GB, free: 55.84 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008504/10.75, allocations: 295 kB / 3.44 GB, free: 55.58 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.862e-06/10.75, allocations: 4 kB / 3.44 GB, free: 55.57 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/10.75, allocations: 4 kB / 3.44 GB, free: 55.57 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007875/10.75, allocations: 111.2 kB / 3.44 GB, free: 55.48 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.258e-05/10.75, allocations: 11.89 kB / 3.44 GB, free: 55.47 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006123/10.75, allocations: 67.05 kB / 3.44 GB, free: 55.42 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.806e-05/10.75, allocations: 12 kB / 3.44 GB, free: 55.41 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 (V1.state_b.phase,V1.state_a.phase,SourceP1.medium.phase,SinkP1.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 38 * 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.0001942/10.75, allocations: 132.4 kB / 3.44 GB, free: 55.27 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001504/10.75, allocations: 39.53 kB / 3.44 GB, free: 55.23 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002862/10.75, allocations: 1.919 MB / 3.442 GB, free: 53.51 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.645e-05/10.75, allocations: 31.09 kB / 3.442 GB, free: 53.49 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.081e-05/10.75, allocations: 3.953 kB / 3.442 GB, free: 53.49 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.567e-06/10.75, allocations: 0 / 3.442 GB, free: 53.49 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001507/10.75, allocations: 1.035 MB / 3.443 GB, free: 52.57 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.466e-06/10.75, allocations: 0 / 3.443 GB, free: 52.57 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006911/10.76, allocations: 91.59 kB / 3.443 GB, free: 52.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.077e-05/10.76, allocations: 4 kB / 3.444 GB, free: 52.5 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.807e-05/10.76, allocations: 11.84 kB / 3.444 GB, free: 52.49 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.711e-06/10.76, allocations: 0 / 3.444 GB, free: 52.49 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/10.76, allocations: 0 / 3.444 GB, free: 52.49 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001552/10.76, allocations: 1.042 MB / 3.445 GB, free: 51.51 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004147/10.76, allocations: 263.8 kB / 3.445 GB, free: 51.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001098/10.76, allocations: 8 kB / 3.445 GB, free: 51.26 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006693/10.76, allocations: 46.2 kB / 3.445 GB, free: 51.22 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001205/10.76, allocations: 33.73 kB / 3.445 GB, free: 51.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.16e-05/10.76, allocations: 16 kB / 3.445 GB, free: 51.19 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0005917/10.76, allocations: 356.7 kB / 3.445 GB, free: 50.86 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.41e-07/10.76, allocations: 0 / 3.445 GB, free: 50.86 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005775/10.76, allocations: 1.191 MB / 3.446 GB, free: 49.7 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,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse15.phase,$cse15.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.0116/10.78, allocations: 2.963 MB / 3.449 GB, free: 47.06 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0016/10.78, allocations: 0.6972 MB / 3.45 GB, free: 46.41 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/10.78, allocations: 0 / 3.45 GB, free: 46.41 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0006861/10.78, allocations: 489.2 kB / 3.45 GB, free: 45.96 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002057/10.78, allocations: 227.1 kB / 3.451 GB, free: 45.79 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006323/10.79, allocations: 1.722 MB / 3.452 GB, free: 44.19 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004457/10.79, allocations: 1.003 MB / 3.453 GB, free: 43.27 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005068/10.79, allocations: 270.2 kB / 3.454 GB, free: 43.03 MB / 0.5261 GB Notification: Performance of SimCode: time 1.263e-06/10.79, allocations: 0 / 3.454 GB, free: 43.03 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.604/14.39, allocations: 31.1 MB / 3.484 GB, free: 17.82 MB / 0.5261 GB