Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestVolume,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Vessels_TestVolume",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.721/2.721, allocations: 270 MB / 283.6 MB, free: 1.883 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.177e-05/4.192e-05, allocations: 4 kB / 348.5 MB, free: 2.664 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4318/0.4318, allocations: 61.87 MB / 410.4 MB, free: 10.62 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.962/9.394, allocations: 2.77 GB / 3.171 GB, free: 131.5 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003017/9.395, allocations: 81.3 kB / 3.171 GB, free: 131.5 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.094/11.49, allocations: 360.7 MB / 3.523 GB, free: 68.86 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.204e-06/11.49, allocations: 0 / 3.523 GB, free: 68.86 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.192e-05/11.49, allocations: 22.89 kB / 3.523 GB, free: 68.86 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.009706/11.5, allocations: 1.651 MB / 3.525 GB, free: 68.25 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.818e-05/11.5, allocations: 7.156 kB / 3.525 GB, free: 68.25 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000296/11.5, allocations: 107.6 kB / 3.525 GB, free: 68.21 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007594/11.51, allocations: 447.6 kB / 3.525 GB, free: 68.18 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002235/11.51, allocations: 0.5629 MB / 3.526 GB, free: 67.95 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001881/11.51, allocations: 114.8 kB / 3.526 GB, free: 67.88 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002104/11.51, allocations: 54.09 kB / 3.526 GB, free: 67.88 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005189/11.51, allocations: 1.152 MB / 3.527 GB, free: 67.69 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.278e-05/11.51, allocations: 0.75 kB / 3.527 GB, free: 67.69 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001772/11.51, allocations: 25.16 kB / 3.527 GB, free: 67.69 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.404e-05/11.51, allocations: 36.89 kB / 3.527 GB, free: 67.69 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004821/11.52, allocations: 0.9933 MB / 3.528 GB, free: 67.69 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.01255/11.53, allocations: 5.002 MB / 3.533 GB, free: 64.8 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003262/11.54, allocations: 0.8568 MB / 3.534 GB, free: 64.77 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007669/11.54, allocations: 334.2 kB / 3.534 GB, free: 64.77 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07669/11.61, allocations: 24.18 MB / 3.558 GB, free: 50.11 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.653e-05/11.61, allocations: 42.22 kB / 3.558 GB, free: 50.07 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=47): time 4.007e-06/11.61, allocations: 0 / 3.558 GB, free: 50.07 MB / 0.5261 GB Notification: Performance of matching and sorting (n=47): time 0.005653/11.62, allocations: 1.318 MB / 3.559 GB, free: 49.98 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.668e-05/11.62, allocations: 108.5 kB / 3.559 GB, free: 49.86 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009409/11.62, allocations: 0.5175 MB / 3.56 GB, free: 49.74 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 9.87e-05/11.62, allocations: 32.14 kB / 3.56 GB, free: 49.71 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002426/11.62, allocations: 320.6 kB / 3.56 GB, free: 49.57 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001839/11.62, allocations: 157 kB / 3.56 GB, free: 49.49 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.931e-05/11.62, allocations: 10.91 kB / 3.56 GB, free: 49.49 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001372/11.62, allocations: 381.5 kB / 3.56 GB, free: 49.17 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006744/11.62, allocations: 278.1 kB / 3.561 GB, free: 49.17 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007582/11.62, allocations: 435.6 kB / 3.561 GB, free: 48.99 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006931/11.62, allocations: 297.7 kB / 3.561 GB, free: 48.99 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.641e-06/11.62, allocations: 2.438 kB / 3.561 GB, free: 48.99 MB / 0.5261 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002423/11.62, allocations: 0.9362 MB / 3.562 GB, free: 48.9 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.352e-05/11.62, allocations: 7.938 kB / 3.562 GB, free: 48.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.145e-05/11.63, allocations: 3.375 kB / 3.562 GB, free: 48.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001351/11.63, allocations: 404.4 kB / 3.563 GB, free: 48.88 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008134/11.63, allocations: 117.8 kB / 3.563 GB, free: 48.88 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001924/11.63, allocations: 1.586 MB / 3.564 GB, free: 47.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001223/11.63, allocations: 118.5 kB / 3.564 GB, free: 47.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.936e-05/11.63, allocations: 29.47 kB / 3.564 GB, free: 47.8 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.0002282/11.63, allocations: 150 kB / 3.565 GB, free: 47.69 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001585/11.63, allocations: 66.05 kB / 3.565 GB, free: 47.65 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006319/11.64, allocations: 3.504 MB / 3.568 GB, free: 47.33 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.118e-05/11.64, allocations: 44.06 kB / 3.568 GB, free: 47.33 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/11.64, allocations: 3.891 kB / 3.568 GB, free: 47.33 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.538e-06/11.64, allocations: 0 / 3.568 GB, free: 47.33 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002318/11.64, allocations: 1.571 MB / 3.57 GB, free: 47.03 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.094e-06/11.64, allocations: 5.844 kB / 3.57 GB, free: 47.03 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006525/11.64, allocations: 87.34 kB / 3.57 GB, free: 47.03 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002002/11.64, allocations: 1.06 MB / 3.571 GB, free: 46.97 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.647e-05/11.64, allocations: 14.5 kB / 3.571 GB, free: 46.97 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002701/11.65, allocations: 2.323 MB / 3.573 GB, free: 45.89 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/11.65, allocations: 0 / 3.573 GB, free: 45.89 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004992/11.65, allocations: 2.476 MB / 3.575 GB, free: 45.57 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006962/11.65, allocations: 346.3 kB / 3.576 GB, free: 45.38 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001687/11.65, allocations: 14.39 kB / 3.576 GB, free: 45.38 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001029/11.65, allocations: 70.16 kB / 3.576 GB, free: 45.37 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002272/11.65, allocations: 67.19 kB / 3.576 GB, free: 45.37 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.649e-05/11.65, allocations: 20.5 kB / 3.576 GB, free: 45.37 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0008609/11.65, allocations: 0.5045 MB / 3.576 GB, free: 45.27 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.6e-07/11.65, allocations: 0 / 3.576 GB, free: 45.27 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005784/11.66, allocations: 1.209 MB / 3.578 GB, free: 45.08 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.01305/11.67, allocations: 4.02 MB / 3.582 GB, free: 44.07 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002849/11.68, allocations: 1.028 MB / 3.583 GB, free: 44.05 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/11.68, allocations: 3.656 kB / 3.583 GB, free: 44.05 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001766/11.68, allocations: 0.8201 MB / 3.583 GB, free: 44.04 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002941/11.68, allocations: 346.3 kB / 3.584 GB, free: 44.04 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007831/11.69, allocations: 2.45 MB / 3.586 GB, free: 43.43 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007199/11.69, allocations: 1.18 MB / 3.587 GB, free: 42.73 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001105/11.69, allocations: 357.8 kB / 3.588 GB, free: 42.71 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005886/11.69, allocations: 395.2 kB / 3.588 GB, free: 42.71 MB / 0.5261 GB Notification: Performance of SimCode: time 1.753e-06/11.69, allocations: 1.125 kB / 3.588 GB, free: 42.71 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1369/11.83, allocations: 57.22 MB / 3.644 GB, free: 39.91 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002479/11.83, allocations: 224.3 kB / 3.644 GB, free: 39.61 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.263/17.09, allocations: 3.938 kB / 3.644 GB, free: 39.61 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume_res.mat does not exist to compare? outputFormat=mat