Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumesPressureStates",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.921/1.921, allocations: 209.4 MB / 216.5 MB, free: 6.684 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.128e-05/2.139e-05, allocations: 0 / 267.6 MB, free: 4.973 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.102, allocations: 48.7 MB / 316.3 MB, free: 4.172 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.856/7.958, allocations: 2.506 GB / 2.815 GB, free: 90.89 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002915/7.958, allocations: 83.77 kB / 2.815 GB, free: 90.85 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.456/11.41, allocations: 0.6296 GB / 3.445 GB, free: 28.71 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.274e-06/11.41, allocations: 0 / 3.445 GB, free: 28.71 MB / 442.7 MB Notification: Performance of Transformations before backend: time 9.9e-05/11.41, allocations: 27.97 kB / 3.445 GB, free: 28.71 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.01026/11.42, allocations: 2.318 MB / 3.447 GB, free: 27.64 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.028e-05/11.43, allocations: 7.719 kB / 3.447 GB, free: 27.64 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00714/11.43, allocations: 0.5396 MB / 3.448 GB, free: 27.58 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003015/11.44, allocations: 0.8373 MB / 3.448 GB, free: 27.29 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000232/11.44, allocations: 176.3 kB / 3.449 GB, free: 27.16 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002605/11.44, allocations: 61.56 kB / 3.449 GB, free: 27.16 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003073/11.44, allocations: 1.158 MB / 3.45 GB, free: 27.15 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002914/11.44, allocations: 1.366 MB / 3.451 GB, free: 26.76 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.791e-05/11.44, allocations: 8 kB / 3.451 GB, free: 26.76 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001846/11.44, allocations: 3.969 kB / 3.451 GB, free: 26.76 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-05/11.44, allocations: 55.02 kB / 3.451 GB, free: 26.75 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.1622/11.6, allocations: 43.87 MB / 3.494 GB, free: 22.24 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001337/11.61, allocations: 0.5361 MB / 3.495 GB, free: 22.21 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006237/11.61, allocations: 306.4 kB / 3.495 GB, free: 22.21 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1902/11.8, allocations: 52.8 MB / 3.546 GB, free: 19.29 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.331e-05/11.8, allocations: 41.81 kB / 3.546 GB, free: 19.25 MB / 490.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001086/11.8, allocations: 96.42 kB / 3.547 GB, free: 19.21 MB / 490.7 MB Notification: Performance of pre-optimization done (n=63): time 4.288e-06/11.8, allocations: 0 / 3.547 GB, free: 19.21 MB / 490.7 MB Notification: Performance of matching and sorting (n=71): time 0.01373/11.81, allocations: 2.749 MB / 3.549 GB, free: 18.7 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001005/11.81, allocations: 114.7 kB / 3.549 GB, free: 18.57 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001264/11.81, allocations: 0.6613 MB / 3.55 GB, free: 18.43 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001598/11.81, allocations: 25.7 kB / 3.55 GB, free: 18.39 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004628/11.81, allocations: 0.603 MB / 3.551 GB, free: 18.04 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002558/11.81, allocations: 259 kB / 3.551 GB, free: 17.88 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.787e-05/11.81, allocations: 0 / 3.551 GB, free: 17.88 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002379/11.81, allocations: 400.5 kB / 3.551 GB, free: 17.56 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007959/11.82, allocations: 342.1 kB / 3.552 GB, free: 17.56 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001108/11.82, allocations: 0.9514 MB / 3.552 GB, free: 16.76 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002905/11.82, allocations: 0.6334 MB / 3.553 GB, free: 16.73 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.729e-05/11.82, allocations: 7.5 kB / 3.553 GB, free: 16.73 MB / 490.7 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.005489/11.82, allocations: 1.583 MB / 3.555 GB, free: 16.59 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.838e-05/11.82, allocations: 12.94 kB / 3.555 GB, free: 16.59 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.306e-05/11.82, allocations: 27.78 kB / 3.555 GB, free: 16.58 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002131/11.83, allocations: 444.2 kB / 3.555 GB, free: 16.56 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001474/11.83, allocations: 261.3 kB / 3.555 GB, free: 16.56 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003021/11.83, allocations: 1.779 MB / 3.557 GB, free: 15.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00204/11.83, allocations: 100.8 kB / 3.557 GB, free: 15.48 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001967/11.83, allocations: 81.41 kB / 3.557 GB, free: 15.48 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.0004428/11.83, allocations: 166.8 kB / 3.557 GB, free: 15.36 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003921/11.84, allocations: 0.9528 MB / 3.558 GB, free: 15.24 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002464/11.84, allocations: 95.22 kB / 3.558 GB, free: 15.19 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007248/11.85, allocations: 4.034 MB / 3.562 GB, free: 13.01 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.724e-05/11.85, allocations: 57.88 kB / 3.562 GB, free: 12.99 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/11.85, allocations: 0 / 3.562 GB, free: 12.99 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.818e-05/11.85, allocations: 3.422 kB / 3.562 GB, free: 12.99 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009734/11.86, allocations: 5.499 MB / 3.568 GB, free: 10.09 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.268e-05/11.86, allocations: 4 kB / 3.568 GB, free: 10.09 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009442/11.86, allocations: 132 kB / 3.568 GB, free: 9.996 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001842/11.86, allocations: 0.7208 MB / 3.569 GB, free: 9.555 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.785e-05/11.86, allocations: 19.77 kB / 3.569 GB, free: 9.543 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002534/11.86, allocations: 1.889 MB / 3.571 GB, free: 8.062 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.083e-06/11.86, allocations: 3.844 kB / 3.571 GB, free: 8.062 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006404/11.87, allocations: 3.638 MB / 3.574 GB, free: 5.977 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009252/11.87, allocations: 343.6 kB / 3.574 GB, free: 5.691 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002339/11.87, allocations: 6.688 kB / 3.574 GB, free: 5.688 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001105/11.87, allocations: 57.88 kB / 3.574 GB, free: 5.645 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00018/11.87, allocations: 68.05 kB / 3.575 GB, free: 5.613 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.724e-05/11.87, allocations: 34.25 kB / 3.575 GB, free: 5.59 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0008881/11.87, allocations: 469.6 kB / 3.575 GB, free: 5.297 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.032e-06/11.87, allocations: 0 / 3.575 GB, free: 5.297 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.008324/11.88, allocations: 1.437 MB / 3.576 GB, free: 3.98 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.3755/12.26, allocations: 6.28 MB / 3.583 GB, free: 74.4 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003879/12.26, allocations: 1.426 MB / 3.584 GB, free: 74.37 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.614e-06/12.26, allocations: 1.094 kB / 3.584 GB, free: 74.37 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002561/12.26, allocations: 1.065 MB / 3.585 GB, free: 74.36 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00399/12.27, allocations: 392.6 kB / 3.585 GB, free: 74.36 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01256/12.28, allocations: 3.365 MB / 3.589 GB, free: 73.79 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001206/12.28, allocations: 1.373 MB / 3.59 GB, free: 73.07 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002696/12.28, allocations: 0.6109 MB / 3.591 GB, free: 73.06 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001381/12.28, allocations: 0.5943 MB / 3.591 GB, free: 73.06 MB / 490.7 MB Notification: Performance of SimCode: time 1.253e-06/12.28, allocations: 0 / 3.591 GB, free: 73.06 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1891/12.47, allocations: 61.95 MB / 3.652 GB, free: 70.14 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002459/12.47, allocations: 201 kB / 3.652 GB, free: 69.86 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.293/17.77, allocations: 0 / 3.652 GB, free: 69.86 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates_res.mat does not exist to compare? outputFormat=mat