Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestVolume,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestComponents_Vessels_TestVolume",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.499/2.499, allocations: 270 MB / 282.6 MB, free: 1.852 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.609e-05/4.608e-05, allocations: 7.984 kB / 347.1 MB, free: 3.09 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.412/0.4121, allocations: 61.87 MB / 408.9 MB, free: 10.73 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.694/9.106, allocations: 2.77 GB / 3.169 GB, free: 132.2 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003091/9.107, allocations: 83.89 kB / 3.169 GB, free: 132.2 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.191/11.3, allocations: 360.7 MB / 3.521 GB, free: 69.74 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.354e-06/11.3, allocations: 0 / 3.521 GB, free: 69.74 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.999e-05/11.3, allocations: 27.95 kB / 3.522 GB, free: 69.74 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: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.008383/11.31, allocations: 1.648 MB / 3.523 GB, free: 69.14 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.411e-05/11.31, allocations: 10.16 kB / 3.523 GB, free: 69.14 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003135/11.31, allocations: 107.5 kB / 3.523 GB, free: 69.1 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005275/11.31, allocations: 444.6 kB / 3.524 GB, free: 69.06 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001859/11.31, allocations: 0.5702 MB / 3.524 GB, free: 68.83 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001511/11.31, allocations: 121.5 kB / 3.524 GB, free: 68.77 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001474/11.31, allocations: 50.59 kB / 3.524 GB, free: 68.77 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003838/11.32, allocations: 1.139 MB / 3.526 GB, free: 68.57 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.204e-05/11.32, allocations: 3.969 kB / 3.526 GB, free: 68.57 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000131/11.32, allocations: 30.78 kB / 3.526 GB, free: 68.57 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.919e-05/11.32, allocations: 34.45 kB / 3.526 GB, free: 68.57 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003644/11.32, allocations: 0.9962 MB / 3.527 GB, free: 68.57 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.01079/11.33, allocations: 4.988 MB / 3.531 GB, free: 65.7 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003229/11.34, allocations: 0.8621 MB / 3.532 GB, free: 65.66 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008362/11.34, allocations: 336.2 kB / 3.533 GB, free: 65.66 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0769/11.41, allocations: 24.17 MB / 3.556 GB, free: 51 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.927e-05/11.41, allocations: 41.84 kB / 3.556 GB, free: 50.96 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=47): time 3.838e-06/11.41, allocations: 0 / 3.556 GB, free: 50.96 MB / 0.5261 GB Notification: Performance of matching and sorting (n=47): time 0.005775/11.42, allocations: 1.319 MB / 3.558 GB, free: 50.88 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.019e-05/11.42, allocations: 106.7 kB / 3.558 GB, free: 50.75 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00104/11.42, allocations: 0.5241 MB / 3.558 GB, free: 50.64 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001806/11.42, allocations: 35.95 kB / 3.558 GB, free: 50.61 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002289/11.42, allocations: 346.3 kB / 3.558 GB, free: 50.39 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002066/11.42, allocations: 158.2 kB / 3.559 GB, free: 50.32 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.387e-05/11.42, allocations: 11.31 kB / 3.559 GB, free: 50.32 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.602e-05/11.42, allocations: 338 kB / 3.559 GB, free: 50 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006961/11.42, allocations: 281.8 kB / 3.559 GB, free: 50 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007793/11.42, allocations: 439.6 kB / 3.56 GB, free: 49.82 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007115/11.42, allocations: 305.4 kB / 3.56 GB, free: 49.81 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.594e-06/11.42, allocations: 3.938 kB / 3.56 GB, free: 49.81 MB / 0.5261 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002482/11.43, allocations: 0.8928 MB / 3.561 GB, free: 49.74 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.949e-05/11.43, allocations: 9.625 kB / 3.561 GB, free: 49.74 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.313e-05/11.43, allocations: 3.969 kB / 3.561 GB, free: 49.74 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00142/11.43, allocations: 402.6 kB / 3.561 GB, free: 49.72 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009391/11.43, allocations: 122.5 kB / 3.561 GB, free: 49.72 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00218/11.43, allocations: 1.589 MB / 3.563 GB, free: 48.68 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001474/11.43, allocations: 115.1 kB / 3.563 GB, free: 48.64 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001227/11.43, allocations: 27.25 kB / 3.563 GB, free: 48.64 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 9 (Volume.heatTransfer.states[1].phase,Volume.inFlow[1],Volume.inFlow[2],FlowSource.medium.phase,Sink.medium.phase,Volume.regularFlow[2],Volume.regularFlow[1],Valve.state_b.phase,Valve.state_a.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 56 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 1,3 10} Notification: Performance of prepare postOptimizeDAE: time 0.000269/11.43, allocations: 150.5 kB / 3.563 GB, free: 48.53 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000201/11.43, allocations: 66.45 kB / 3.563 GB, free: 48.5 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006768/11.44, allocations: 3.505 MB / 3.567 GB, free: 48.17 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.394e-05/11.44, allocations: 42.09 kB / 3.567 GB, free: 48.17 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.03e-05/11.44, allocations: 0 / 3.567 GB, free: 48.17 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.146e-05/11.44, allocations: 3.891 kB / 3.567 GB, free: 48.17 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002675/11.44, allocations: 1.577 MB / 3.568 GB, free: 47.87 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.389e-05/11.44, allocations: 0 / 3.568 GB, free: 47.87 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006988/11.44, allocations: 89.91 kB / 3.568 GB, free: 47.87 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002235/11.45, allocations: 1.053 MB / 3.569 GB, free: 47.82 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000135/11.45, allocations: 17.22 kB / 3.569 GB, free: 47.82 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002947/11.45, allocations: 2.328 MB / 3.572 GB, free: 46.73 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.608e-06/11.45, allocations: 0 / 3.572 GB, free: 46.73 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005329/11.45, allocations: 2.463 MB / 3.574 GB, free: 46.41 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008748/11.46, allocations: 356.3 kB / 3.574 GB, free: 46.21 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001995/11.46, allocations: 13.41 kB / 3.574 GB, free: 46.21 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001188/11.46, allocations: 67.22 kB / 3.574 GB, free: 46.21 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002568/11.46, allocations: 70.77 kB / 3.575 GB, free: 46.21 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.109e-05/11.46, allocations: 17.97 kB / 3.575 GB, free: 46.21 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0009278/11.46, allocations: 0.5079 MB / 3.575 GB, free: 46.11 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5.11e-07/11.46, allocations: 1.781 kB / 3.575 GB, free: 46.11 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006345/11.46, allocations: 1.206 MB / 3.576 GB, free: 45.93 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: 27 ($cse1.region3boundary,$cse2.region3boundary,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,$cse11.phase,$cse11.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,Volume.heatTransfer.states[1].phase,Volume.inFlow[1],Volume.inFlow[2],FlowSource.medium.phase,Sink.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 32 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 1,3 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.01476/11.48, allocations: 4.021 MB / 3.58 GB, free: 44.91 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.003033/11.48, allocations: 1.027 MB / 3.581 GB, free: 44.89 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.157e-06/11.48, allocations: 0 / 3.581 GB, free: 44.89 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.00199/11.48, allocations: 0.8202 MB / 3.582 GB, free: 44.89 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003333/11.49, allocations: 350.2 kB / 3.582 GB, free: 44.88 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00881/11.5, allocations: 2.49 MB / 3.585 GB, free: 44.25 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007508/11.5, allocations: 1.172 MB / 3.586 GB, free: 43.54 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000751/11.5, allocations: 402 kB / 3.586 GB, free: 43.53 MB / 0.5261 GB Notification: Performance of SimCode: time 2.054e-06/11.5, allocations: 0 / 3.586 GB, free: 43.53 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.971/15.47, allocations: 46.52 MB / 3.632 GB, free: 40.19 MB / 0.5261 GB