Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestComponents_Valves_TestValveLinear",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.484/2.484, allocations: 270 MB / 282.6 MB, free: 1.891 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.815e-05/4.827e-05, allocations: 4 kB / 347.1 MB, free: 3.125 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4309/0.431, allocations: 61.87 MB / 408.9 MB, free: 10.76 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.64/9.071, allocations: 2.759 GB / 3.159 GB, free: 130.2 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000254/9.071, allocations: 81.56 kB / 3.159 GB, free: 130.2 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.216/10.29, allocations: 219 MB / 3.372 GB, free: 96.91 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.743e-06/10.29, allocations: 0 / 3.372 GB, free: 96.91 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 3.381e-05/10.29, allocations: 10.89 kB / 3.372 GB, free: 96.91 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.005853/10.29, allocations: 1.188 MB / 3.374 GB, free: 96.29 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/10.29, allocations: 7.156 kB / 3.374 GB, free: 96.29 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001113/10.29, allocations: 75.47 kB / 3.374 GB, free: 96.24 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002498/10.3, allocations: 216.4 kB / 3.374 GB, free: 96.22 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008537/10.3, allocations: 382.5 kB / 3.374 GB, free: 96 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.52e-05/10.3, allocations: 22.91 kB / 3.374 GB, free: 95.99 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.106e-05/10.3, allocations: 27.22 kB / 3.374 GB, free: 95.99 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001862/10.3, allocations: 0.5734 MB / 3.375 GB, free: 95.86 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.872e-05/10.3, allocations: 0 / 3.375 GB, free: 95.86 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.085e-05/10.3, allocations: 18.06 kB / 3.375 GB, free: 95.86 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.335e-05/10.3, allocations: 11.42 kB / 3.375 GB, free: 95.86 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001651/10.3, allocations: 492.1 kB / 3.375 GB, free: 95.85 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.003979/10.3, allocations: 2.604 MB / 3.378 GB, free: 93.95 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001837/10.31, allocations: 421.7 kB / 3.378 GB, free: 93.88 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003181/10.31, allocations: 133.7 kB / 3.378 GB, free: 93.82 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07686/10.38, allocations: 24.15 MB / 3.402 GB, free: 78.71 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.616e-05/10.38, allocations: 37.97 kB / 3.402 GB, free: 78.66 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=25): time 3.987e-06/10.38, allocations: 0 / 3.402 GB, free: 78.66 MB / 0.5261 GB Notification: Performance of matching and sorting (n=25): time 0.00285/10.39, allocations: 0.6283 MB / 3.403 GB, free: 78.48 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.814e-05/10.39, allocations: 110.7 kB / 3.403 GB, free: 78.35 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003956/10.39, allocations: 269.7 kB / 3.403 GB, free: 78.2 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.34e-05/10.39, allocations: 29.7 kB / 3.403 GB, free: 78.17 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.00013/10.39, allocations: 259.3 kB / 3.403 GB, free: 77.95 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 8.413e-05/10.39, allocations: 84.64 kB / 3.403 GB, free: 77.88 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.617e-05/10.39, allocations: 6.281 kB / 3.403 GB, free: 77.88 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.266e-05/10.39, allocations: 322.5 kB / 3.404 GB, free: 77.56 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002388/10.39, allocations: 94.59 kB / 3.404 GB, free: 77.52 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003009/10.39, allocations: 187.4 kB / 3.404 GB, free: 77.38 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002607/10.39, allocations: 101.5 kB / 3.404 GB, free: 77.34 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/10.39, allocations: 3.625 kB / 3.404 GB, free: 77.34 MB / 0.5261 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0007542/10.39, allocations: 308.4 kB / 3.404 GB, free: 77.21 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/10.39, allocations: 6.656 kB / 3.404 GB, free: 77.21 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/10.39, allocations: 3.281 kB / 3.404 GB, free: 77.21 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.577e-05/10.39, allocations: 3.281 kB / 3.404 GB, free: 77.21 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007233/10.39, allocations: 101.9 kB / 3.405 GB, free: 77.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.485e-05/10.39, allocations: 11.61 kB / 3.405 GB, free: 77.19 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006509/10.39, allocations: 69.98 kB / 3.405 GB, free: 77.17 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.573e-05/10.39, allocations: 20.5 kB / 3.405 GB, free: 77.16 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (35): * Single equations (assignments): 35 * 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.0001276/10.39, allocations: 124.6 kB / 3.405 GB, free: 77.04 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.703e-05/10.39, allocations: 34.59 kB / 3.405 GB, free: 77.03 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002505/10.39, allocations: 1.845 MB / 3.407 GB, free: 76.14 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.835e-05/10.39, allocations: 31.48 kB / 3.407 GB, free: 76.13 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/10.39, allocations: 0 / 3.407 GB, free: 76.13 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.036e-05/10.39, allocations: 11.39 kB / 3.407 GB, free: 76.13 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001321/10.39, allocations: 0.9978 MB / 3.408 GB, free: 75.56 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/10.39, allocations: 0 / 3.408 GB, free: 75.56 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006761/10.4, allocations: 88.47 kB / 3.408 GB, free: 75.55 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.988e-06/10.4, allocations: 7.594 kB / 3.408 GB, free: 75.55 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.13e-05/10.4, allocations: 11.03 kB / 3.408 GB, free: 75.55 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.302e-06/10.4, allocations: 0 / 3.408 GB, free: 75.55 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/10.4, allocations: 7.312 kB / 3.408 GB, free: 75.55 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001431/10.4, allocations: 0.9779 MB / 3.409 GB, free: 75.03 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000269/10.4, allocations: 227.6 kB / 3.409 GB, free: 74.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.923e-05/10.4, allocations: 7.688 kB / 3.409 GB, free: 74.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006266/10.4, allocations: 45.8 kB / 3.409 GB, free: 74.83 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001101/10.4, allocations: 31.98 kB / 3.409 GB, free: 74.83 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.906e-05/10.4, allocations: 18.56 kB / 3.409 GB, free: 74.82 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0005122/10.4, allocations: 321.2 kB / 3.409 GB, free: 74.66 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.21e-07/10.4, allocations: 0 / 3.409 GB, free: 74.66 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005033/10.4, allocations: 1.019 MB / 3.41 GB, free: 74.46 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,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse11.phase,$cse11.region,SourceP1.medium.phase,SinkP1.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 26 * 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.0111/10.41, allocations: 2.815 MB / 3.413 GB, free: 73.22 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001053/10.42, allocations: 0.4954 MB / 3.413 GB, free: 73.02 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.187e-06/10.42, allocations: 0 / 3.413 GB, free: 73.02 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0006155/10.42, allocations: 474.4 kB / 3.414 GB, free: 72.79 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001847/10.42, allocations: 197.1 kB / 3.414 GB, free: 72.75 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005635/10.42, allocations: 1.611 MB / 3.416 GB, free: 72 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004388/10.42, allocations: 0.981 MB / 3.417 GB, free: 71.29 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004231/10.43, allocations: 253.8 kB / 3.417 GB, free: 71.09 MB / 0.5261 GB Notification: Performance of SimCode: time 1.232e-06/10.43, allocations: 0 / 3.417 GB, free: 71.09 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.493/13.92, allocations: 29.38 MB / 3.446 GB, free: 67.75 MB / 0.5261 GB