Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestVolume,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Vessels_TestVolume",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.645/2.645, allocations: 235.1 MB / 242.2 MB, free: 15.84 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.616e-05/2.615e-05, allocations: 0 / 299.5 MB, free: 6.508 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4052/0.4053, allocations: 54.85 MB / 354.3 MB, free: 14.06 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.741/8.146, allocations: 2.595 GB / 2.941 GB, free: 1.32 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002947/8.146, allocations: 81.77 kB / 2.941 GB, free: 1.277 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.925/10.07, allocations: 351.4 MB / 3.285 GB, free: 48.13 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.655e-06/10.07, allocations: 0 / 3.285 GB, free: 48.13 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.614e-05/10.07, allocations: 12 kB / 3.285 GB, free: 48.12 MB / 490.7 MB 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.007831/10.08, allocations: 1.642 MB / 3.286 GB, free: 46.44 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.075e-05/10.08, allocations: 15.92 kB / 3.286 GB, free: 46.43 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005185/10.08, allocations: 444 kB / 3.287 GB, free: 45.99 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001799/10.09, allocations: 0.5836 MB / 3.287 GB, free: 45.38 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001731/10.09, allocations: 93.05 kB / 3.287 GB, free: 45.27 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001606/10.09, allocations: 39.94 kB / 3.287 GB, free: 45.23 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001848/10.09, allocations: 0.7288 MB / 3.288 GB, free: 44.5 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001783/10.09, allocations: 0.8284 MB / 3.289 GB, free: 43.62 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.036e-05/10.09, allocations: 4 kB / 3.289 GB, free: 43.62 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001189/10.09, allocations: 0 / 3.289 GB, free: 43.62 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.317e-05/10.09, allocations: 40.95 kB / 3.289 GB, free: 43.58 MB / 490.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.1325/10.22, allocations: 36.86 MB / 3.325 GB, free: 3.465 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001255/10.22, allocations: 491.2 kB / 3.325 GB, free: 2.977 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005308/10.23, allocations: 264.7 kB / 3.326 GB, free: 2.715 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4634/10.69, allocations: 31.5 MB / 3.356 GB, free: 55.94 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.015e-05/10.69, allocations: 50.12 kB / 3.356 GB, free: 55.89 MB / 490.7 MB Notification: Performance of pre-optimization done (n=42): time 3.858e-06/10.69, allocations: 0 / 3.356 GB, free: 55.89 MB / 490.7 MB Notification: Performance of matching and sorting (n=54): time 0.02844/10.72, allocations: 3.253 MB / 3.36 GB, free: 55.68 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.201e-05/10.72, allocations: 107.2 kB / 3.36 GB, free: 55.55 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006948/10.72, allocations: 417.1 kB / 3.36 GB, free: 55.44 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001313/10.72, allocations: 25.7 kB / 3.36 GB, free: 55.41 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002783/10.72, allocations: 362.3 kB / 3.36 GB, free: 55.23 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002265/10.72, allocations: 176.1 kB / 3.361 GB, free: 55.14 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.841e-05/10.72, allocations: 3.219 kB / 3.361 GB, free: 55.14 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001202/10.72, allocations: 374.9 kB / 3.361 GB, free: 54.82 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008612/10.72, allocations: 392.1 kB / 3.361 GB, free: 54.82 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009932/10.72, allocations: 0.609 MB / 3.362 GB, free: 54.56 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003469/10.72, allocations: 0.6923 MB / 3.363 GB, free: 54.55 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.718e-06/10.72, allocations: 0 / 3.363 GB, free: 54.55 MB / 490.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.006021/10.73, allocations: 1.608 MB / 3.364 GB, free: 54.46 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000675/10.73, allocations: 2.701 MB / 3.367 GB, free: 51.65 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.373e-05/10.73, allocations: 8.25 kB / 3.367 GB, free: 51.65 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002807/10.73, allocations: 1.08 MB / 3.368 GB, free: 51.62 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001091/10.74, allocations: 150.6 kB / 3.368 GB, free: 51.62 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005999/10.74, allocations: 2.887 MB / 3.371 GB, free: 50.06 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002013/10.74, allocations: 97.38 kB / 3.371 GB, free: 50.06 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001971/10.74, allocations: 41.72 kB / 3.371 GB, free: 50.06 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/10.74, allocations: 3.531 kB / 3.371 GB, free: 50.06 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003815/10.75, allocations: 0.9749 MB / 3.372 GB, free: 50.01 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.411e-05/10.75, allocations: 6.969 kB / 3.372 GB, free: 50.01 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007582/10.75, allocations: 250.2 kB / 3.372 GB, free: 49.98 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001501/10.75, allocations: 190.6 kB / 3.372 GB, free: 49.98 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004207/10.75, allocations: 4.261 MB / 3.377 GB, free: 46.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001344/10.76, allocations: 61.44 kB / 3.377 GB, free: 46.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001138/10.76, allocations: 40.53 kB / 3.377 GB, free: 46.4 MB / 490.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.Volume.medium.h:DUMMY_DER(fixed = false ) "Specific enthalpy of medium" type: Real $DER.Volume.medium.p:DUMMY_DER(fixed = false ) "Absolute pressure of medium" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (73): * Single equations (assignments): 70 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 7,2 1,3 9} Notification: Performance of prepare postOptimizeDAE: time 0.0004578/10.76, allocations: 136.2 kB / 3.377 GB, free: 46.29 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005163/10.76, allocations: 1.325 MB / 3.378 GB, free: 46.2 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003032/10.76, allocations: 59.16 kB / 3.378 GB, free: 46.17 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009826/10.77, allocations: 4.201 MB / 3.382 GB, free: 45.9 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.584e-05/10.77, allocations: 44.36 kB / 3.382 GB, free: 45.9 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/10.77, allocations: 0 / 3.382 GB, free: 45.9 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.12e-05/10.77, allocations: 3.516 kB / 3.382 GB, free: 45.9 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01282/10.78, allocations: 5.771 MB / 3.388 GB, free: 45.45 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.476e-05/10.78, allocations: 0 / 3.388 GB, free: 45.45 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005873/10.79, allocations: 67.33 kB / 3.388 GB, free: 45.45 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005524/10.79, allocations: 2.498 MB / 3.39 GB, free: 45.34 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001841/10.79, allocations: 13.8 kB / 3.39 GB, free: 45.34 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007906/10.8, allocations: 4.573 MB / 3.395 GB, free: 43.71 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.709e-06/10.8, allocations: 0 / 3.395 GB, free: 43.71 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007228/10.81, allocations: 3.239 MB / 3.398 GB, free: 43.39 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009208/10.81, allocations: 332.1 kB / 3.398 GB, free: 43.23 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002844/10.81, allocations: 2.625 kB / 3.398 GB, free: 43.23 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001587/10.81, allocations: 67.64 kB / 3.398 GB, free: 43.23 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003034/10.81, allocations: 71.55 kB / 3.399 GB, free: 43.23 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001161/10.81, allocations: 30.62 kB / 3.399 GB, free: 43.23 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0006223/10.81, allocations: 350.8 kB / 3.399 GB, free: 43.14 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.31e-07/10.81, allocations: 0 / 3.399 GB, free: 43.14 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00766/10.82, allocations: 1.361 MB / 3.4 GB, free: 43.14 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 24 ($cse1.region3boundary,$cse2.region3boundary,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse6.phase,$cse6.region,$cse8.phase,$cse8.region,$cse9.region3boundary,$cse10.region3boundary,$cse11.phase,$cse11.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,Volume.heatTransfer.states[1].phase,Volume.inFlow[1],Volume.inFlow[2],FlowSource.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 8,2 1,3 15} Notification: Performance of Backend phase and start with SimCode phase: time 0.01976/10.84, allocations: 4.929 MB / 3.405 GB, free: 42.17 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.007439/10.85, allocations: 2.143 MB / 3.407 GB, free: 41.95 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.106e-06/10.85, allocations: 0 / 3.407 GB, free: 41.95 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004412/10.85, allocations: 1.124 MB / 3.408 GB, free: 41.93 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00281/10.85, allocations: 253.8 kB / 3.408 GB, free: 41.92 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009305/10.86, allocations: 2.535 MB / 3.411 GB, free: 41.43 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007665/10.86, allocations: 1.16 MB / 3.412 GB, free: 40.72 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002551/10.87, allocations: 0.8169 MB / 3.413 GB, free: 40.71 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007093/10.87, allocations: 373.8 kB / 3.413 GB, free: 40.7 MB / 490.7 MB Notification: Performance of SimCode: time 1.432e-06/10.87, allocations: 0 / 3.413 GB, free: 40.7 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1499/11.02, allocations: 53.59 MB / 3.466 GB, free: 30.33 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002087/11.02, allocations: 179.4 kB / 3.466 GB, free: 30.14 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.04/16.06, allocations: 0 / 3.466 GB, free: 30.14 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume_res.mat does not exist to compare? outputFormat=mat