Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumesPressureStates",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.108/2.108, allocations: 209.4 MB / 216.9 MB, free: 6.664 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.03e-05/2.052e-05, allocations: 0 / 267.6 MB, free: 5.328 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.1168, allocations: 48.7 MB / 316.3 MB, free: 4.527 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.834/7.951, allocations: 2.506 GB / 2.815 GB, free: 88.34 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002973/7.951, allocations: 81.33 kB / 2.815 GB, free: 88.29 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.477/11.43, allocations: 0.6296 GB / 3.445 GB, free: 28.12 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.414e-06/11.43, allocations: 0 / 3.445 GB, free: 28.12 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.000109/11.43, allocations: 25.28 kB / 3.445 GB, free: 28.11 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 256 * Number of variables: 256 Notification: Performance of Generate backend data structure: time 0.01081/11.44, allocations: 2.316 MB / 3.447 GB, free: 27.02 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.515e-05/11.44, allocations: 13.27 kB / 3.447 GB, free: 27.02 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00726/11.45, allocations: 0.5361 MB / 3.448 GB, free: 26.95 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0029/11.45, allocations: 0.8422 MB / 3.448 GB, free: 26.66 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000223/11.45, allocations: 176.5 kB / 3.449 GB, free: 26.54 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002635/11.45, allocations: 59.94 kB / 3.449 GB, free: 26.53 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003029/11.45, allocations: 1.157 MB / 3.45 GB, free: 26.52 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00309/11.46, allocations: 1.367 MB / 3.451 GB, free: 26.13 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.678e-05/11.46, allocations: 5.25 kB / 3.451 GB, free: 26.13 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000192/11.46, allocations: 6.188 kB / 3.451 GB, free: 26.13 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.394e-05/11.46, allocations: 47.58 kB / 3.451 GB, free: 26.12 MB / 442.7 MB 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.1653/11.62, allocations: 43.88 MB / 3.494 GB, free: 21.56 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001329/11.62, allocations: 0.5389 MB / 3.495 GB, free: 21.53 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005957/11.62, allocations: 306.3 kB / 3.495 GB, free: 21.52 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1706/11.79, allocations: 52.8 MB / 3.546 GB, free: 18.62 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.556e-05/11.79, allocations: 40.09 kB / 3.546 GB, free: 18.58 MB / 490.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001082/11.8, allocations: 107.4 kB / 3.547 GB, free: 18.53 MB / 490.7 MB Notification: Performance of pre-optimization done (n=63): time 5.691e-06/11.8, allocations: 0 / 3.547 GB, free: 18.53 MB / 490.7 MB Notification: Performance of matching and sorting (n=71): time 0.01427/11.81, allocations: 2.729 MB / 3.549 GB, free: 18.04 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001059/11.81, allocations: 111.2 kB / 3.549 GB, free: 17.91 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00134/11.81, allocations: 0.664 MB / 3.55 GB, free: 17.76 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002012/11.81, allocations: 28.27 kB / 3.55 GB, free: 17.73 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004738/11.81, allocations: 0.6337 MB / 3.551 GB, free: 17.31 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002697/11.81, allocations: 250.1 kB / 3.551 GB, free: 17.16 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.868e-05/11.81, allocations: 0 / 3.551 GB, free: 17.16 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001997/11.81, allocations: 368.1 kB / 3.551 GB, free: 16.84 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007797/11.81, allocations: 341.6 kB / 3.552 GB, free: 16.84 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001132/11.81, allocations: 0.9532 MB / 3.552 GB, free: 16.04 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003027/11.82, allocations: 0.634 MB / 3.553 GB, free: 16 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.251e-05/11.82, allocations: 3.938 kB / 3.553 GB, free: 16 MB / 490.7 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.005541/11.82, allocations: 1.552 MB / 3.555 GB, free: 15.88 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.839e-05/11.82, allocations: 15 kB / 3.555 GB, free: 15.88 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.23e-05/11.82, allocations: 22.88 kB / 3.555 GB, free: 15.88 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002134/11.83, allocations: 439.6 kB / 3.555 GB, free: 15.86 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001594/11.83, allocations: 258.1 kB / 3.555 GB, free: 15.86 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003068/11.83, allocations: 1.784 MB / 3.557 GB, free: 14.79 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00216/11.83, allocations: 97.78 kB / 3.557 GB, free: 14.78 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002353/11.83, allocations: 81.41 kB / 3.557 GB, free: 14.75 MB / 490.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.mixingVolume2.medium.u:DUMMY_DER(fixed = false ) "Specific internal energy of medium" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 96 * Number of states: 0 () * Number of discrete variables: 16 (simpleGenericOrifice1.state_b.phase,simpleGenericOrifice1.state_a.phase,simpleGenericOrifice2.state_b.phase,simpleGenericOrifice2.state_a.phase,mixingVolume1.regularFlow[1],mixingVolume1.regularFlow[2],mixingVolume2.regularFlow[1],mixingVolume2.regularFlow[2],mixingVolume1.heatTransfer.states[1].phase,flowSource2.medium.phase,mixingVolume2.heatTransfer.states[1].phase,sink2.medium.phase,mixingVolume2.inFlow[2],mixingVolume2.inFlow[1],mixingVolume1.inFlow[2],mixingVolume1.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (141): * Single equations (assignments): 139 * 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 {1 4,3 27} Notification: Performance of prepare postOptimizeDAE: time 0.0004618/11.83, allocations: 175.6 kB / 3.557 GB, free: 14.61 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004079/11.84, allocations: 0.9519 MB / 3.558 GB, free: 14 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002864/11.84, allocations: 94.88 kB / 3.558 GB, free: 13.9 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008319/11.85, allocations: 4.03 MB / 3.562 GB, free: 11.66 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.734e-05/11.85, allocations: 59.09 kB / 3.562 GB, free: 11.64 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.217e-06/11.85, allocations: 0 / 3.562 GB, free: 11.64 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-05/11.85, allocations: 3.328 kB / 3.562 GB, free: 11.64 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01074/11.86, allocations: 5.497 MB / 3.568 GB, free: 8.746 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-05/11.86, allocations: 8.062 kB / 3.568 GB, free: 8.738 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009925/11.86, allocations: 127.2 kB / 3.568 GB, free: 8.645 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001923/11.86, allocations: 0.728 MB / 3.569 GB, free: 8.203 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001392/11.86, allocations: 15.3 kB / 3.569 GB, free: 8.195 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002581/11.86, allocations: 1.89 MB / 3.57 GB, free: 6.711 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.524e-06/11.86, allocations: 0.9375 kB / 3.57 GB, free: 6.711 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006561/11.87, allocations: 3.636 MB / 3.574 GB, free: 4.625 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001024/11.87, allocations: 342.2 kB / 3.574 GB, free: 4.344 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000289/11.87, allocations: 4 kB / 3.574 GB, free: 4.34 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001357/11.87, allocations: 66.17 kB / 3.574 GB, free: 4.289 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002225/11.87, allocations: 73.25 kB / 3.574 GB, free: 4.258 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001135/11.87, allocations: 33.44 kB / 3.574 GB, free: 4.234 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0009973/11.87, allocations: 466.6 kB / 3.575 GB, free: 3.941 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.61e-07/11.87, allocations: 0 / 3.575 GB, free: 3.941 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.008084/11.88, allocations: 1.438 MB / 3.576 GB, free: 2.621 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (mixingVolume1.medium.p,mixingVolume1.medium.h,mixingVolume2.medium.h) * Number of discrete variables: 31 ($cse1.region3boundary,$cse2.region3boundary,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse17.phase,$cse17.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,mixingVolume1.heatTransfer.states[1].phase,flowSource2.medium.phase,mixingVolume2.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (73): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 15 * 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 {4 10,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.3809/12.26, allocations: 6.379 MB / 3.583 GB, free: 75.02 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004145/12.27, allocations: 1.433 MB / 3.584 GB, free: 74.98 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.556e-06/12.27, allocations: 0 / 3.584 GB, free: 74.98 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002403/12.27, allocations: 1.063 MB / 3.585 GB, free: 74.98 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004927/12.27, allocations: 400 kB / 3.585 GB, free: 74.98 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01882/12.29, allocations: 3.406 MB / 3.589 GB, free: 74.36 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001954/12.3, allocations: 1.362 MB / 3.59 GB, free: 73.64 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001749/12.3, allocations: 0.6066 MB / 3.591 GB, free: 73.64 MB / 490.7 MB Notification: Performance of SimCode: time 1.563e-06/12.3, allocations: 0 / 3.591 GB, free: 73.64 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.182/16.48, allocations: 59.77 MB / 3.649 GB, free: 69.78 MB / 490.7 MB