Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestComponents_Valves_TestValveCompressible",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.448/2.448, allocations: 270 MB / 282.6 MB, free: 1.922 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.983e-05/3.988e-05, allocations: 7.984 kB / 347.1 MB, free: 3.188 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4202/0.4203, allocations: 61.86 MB / 408.9 MB, free: 10.8 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.704/9.125, allocations: 2.777 GB / 3.176 GB, free: 126.5 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002978/9.125, allocations: 82.45 kB / 3.176 GB, free: 126.5 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.284/10.41, allocations: 239.4 MB / 3.41 GB, free: 79.97 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.295e-06/10.41, allocations: 0 / 3.41 GB, free: 79.97 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.459e-05/10.41, allocations: 13.62 kB / 3.41 GB, free: 79.97 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.006064/10.42, allocations: 1.28 MB / 3.411 GB, free: 79.15 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.1e-05/10.42, allocations: 11.78 kB / 3.411 GB, free: 79.14 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001475/10.42, allocations: 77.91 kB / 3.411 GB, free: 79.08 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002964/10.42, allocations: 252.3 kB / 3.412 GB, free: 79.04 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00107/10.42, allocations: 416.1 kB / 3.412 GB, free: 78.73 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.99e-05/10.42, allocations: 35.75 kB / 3.412 GB, free: 78.71 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.68e-05/10.42, allocations: 27.69 kB / 3.412 GB, free: 78.71 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002003/10.42, allocations: 0.6174 MB / 3.413 GB, free: 78.42 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.368e-05/10.42, allocations: 11.16 kB / 3.413 GB, free: 78.41 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.793e-05/10.42, allocations: 11.78 kB / 3.413 GB, free: 78.41 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.222e-05/10.42, allocations: 7.656 kB / 3.413 GB, free: 78.41 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001856/10.42, allocations: 0.5179 MB / 3.413 GB, free: 78.26 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.004466/10.43, allocations: 2.723 MB / 3.416 GB, free: 76.02 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002306/10.43, allocations: 0.5119 MB / 3.416 GB, free: 75.86 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003383/10.43, allocations: 139.1 kB / 3.416 GB, free: 75.8 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07591/10.51, allocations: 24.16 MB / 3.44 GB, free: 57.95 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.761e-05/10.51, allocations: 34.56 kB / 3.44 GB, free: 57.9 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=28): time 3.416e-06/10.51, allocations: 0 / 3.44 GB, free: 57.9 MB / 0.5261 GB Notification: Performance of matching and sorting (n=28): time 0.002926/10.51, allocations: 0.6647 MB / 3.441 GB, free: 57.38 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.969e-05/10.51, allocations: 106.8 kB / 3.441 GB, free: 57.25 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000516/10.51, allocations: 333.8 kB / 3.441 GB, free: 56.94 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.727e-05/10.51, allocations: 37.36 kB / 3.441 GB, free: 56.9 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001402/10.51, allocations: 266.2 kB / 3.441 GB, free: 56.64 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 9.561e-05/10.51, allocations: 97.41 kB / 3.441 GB, free: 56.56 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.417e-05/10.51, allocations: 12 kB / 3.442 GB, free: 56.55 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.453e-05/10.51, allocations: 326.3 kB / 3.442 GB, free: 56.22 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002873/10.51, allocations: 103.4 kB / 3.442 GB, free: 56.13 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003706/10.51, allocations: 238.7 kB / 3.442 GB, free: 55.85 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003422/10.51, allocations: 128.1 kB / 3.442 GB, free: 55.74 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/10.51, allocations: 0 / 3.442 GB, free: 55.74 MB / 0.5261 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0009271/10.51, allocations: 370.6 kB / 3.443 GB, free: 55.4 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003/10.51, allocations: 1.399 MB / 3.444 GB, free: 53.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/10.51, allocations: 8 kB / 3.444 GB, free: 53.89 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.21e-05/10.51, allocations: 4 kB / 3.444 GB, free: 53.89 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007895/10.51, allocations: 106.4 kB / 3.444 GB, free: 53.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.495e-05/10.51, allocations: 8 kB / 3.444 GB, free: 53.79 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007907/10.52, allocations: 82.62 kB / 3.444 GB, free: 53.72 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.564e-05/10.52, allocations: 19.89 kB / 3.444 GB, free: 53.71 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.026e-05/10.52, allocations: 4 kB / 3.444 GB, free: 53.7 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008339/10.52, allocations: 328.6 kB / 3.445 GB, free: 53.41 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/10.52, allocations: 4 kB / 3.445 GB, free: 53.41 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/10.52, allocations: 8 kB / 3.445 GB, free: 53.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007053/10.52, allocations: 102.9 kB / 3.445 GB, free: 53.32 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.184e-05/10.52, allocations: 11.94 kB / 3.445 GB, free: 53.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005156/10.52, allocations: 54.67 kB / 3.445 GB, free: 53.26 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.577e-05/10.52, allocations: 16 kB / 3.445 GB, free: 53.25 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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.0001629/10.52, allocations: 136.8 kB / 3.445 GB, free: 53.11 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001416/10.52, allocations: 47.19 kB / 3.445 GB, free: 53.06 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002689/10.52, allocations: 1.915 MB / 3.447 GB, free: 51.33 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.912e-05/10.52, allocations: 31.66 kB / 3.447 GB, free: 51.31 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/10.52, allocations: 3.938 kB / 3.447 GB, free: 51.31 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.276e-06/10.52, allocations: 0 / 3.447 GB, free: 51.31 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001437/10.52, allocations: 1.057 MB / 3.448 GB, free: 50.38 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/10.52, allocations: 0 / 3.448 GB, free: 50.38 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000678/10.52, allocations: 87.36 kB / 3.448 GB, free: 50.31 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.498e-06/10.52, allocations: 0 / 3.448 GB, free: 50.31 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.363e-05/10.52, allocations: 8 kB / 3.448 GB, free: 50.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.143e-06/10.52, allocations: 7.938 kB / 3.448 GB, free: 50.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/10.52, allocations: 4 kB / 3.448 GB, free: 50.29 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001512/10.52, allocations: 1.033 MB / 3.449 GB, free: 49.32 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004222/10.52, allocations: 265.1 kB / 3.449 GB, free: 49.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001168/10.52, allocations: 15.94 kB / 3.449 GB, free: 49.06 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006427/10.53, allocations: 38.64 kB / 3.449 GB, free: 49.03 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001343/10.53, allocations: 37.53 kB / 3.449 GB, free: 49.01 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.911e-05/10.53, allocations: 12 kB / 3.449 GB, free: 49 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0005977/10.53, allocations: 367.7 kB / 3.45 GB, free: 48.66 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4e-07/10.53, allocations: 3.938 kB / 3.45 GB, free: 48.66 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005672/10.53, allocations: 1.164 MB / 3.451 GB, free: 47.52 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,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse14.phase,$cse14.region,SourceP1.medium.phase,SinkP1.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 31 * 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.01153/10.54, allocations: 2.926 MB / 3.454 GB, free: 44.91 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001615/10.55, allocations: 0.7203 MB / 3.454 GB, free: 44.24 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.232e-06/10.55, allocations: 0 / 3.454 GB, free: 44.24 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.000707/10.55, allocations: 494.8 kB / 3.455 GB, free: 43.78 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002085/10.55, allocations: 221.7 kB / 3.455 GB, free: 43.62 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006188/10.55, allocations: 1.731 MB / 3.457 GB, free: 42.02 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004802/10.55, allocations: 1.002 MB / 3.458 GB, free: 41.1 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005034/10.56, allocations: 292.6 kB / 3.458 GB, free: 40.84 MB / 0.5261 GB Notification: Performance of SimCode: time 1.072e-06/10.56, allocations: 0 / 3.458 GB, free: 40.84 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.543/14.1, allocations: 30.92 MB / 3.488 GB, free: 15.51 MB / 0.5261 GB