Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionVolume",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.964/1.964, allocations: 209.4 MB / 216.9 MB, free: 6.668 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.321e-05/2.33e-05, allocations: 4 kB / 267.6 MB, free: 5.316 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.1064, allocations: 48.7 MB / 316.3 MB, free: 4.523 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.94/2.047, allocations: 0.6248 GB / 0.9337 GB, free: 32.95 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002904/2.047, allocations: 83.08 kB / 0.9337 GB, free: 32.91 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.422/4.469, allocations: 411.7 MB / 1.336 GB, free: 48.32 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.974e-06/4.469, allocations: 0 / 1.336 GB, free: 48.32 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001161/4.469, allocations: 30.73 kB / 1.336 GB, free: 48.32 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.007673/4.477, allocations: 1.886 MB / 1.338 GB, free: 47.64 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.495e-05/4.477, allocations: 11.62 kB / 1.338 GB, free: 47.64 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002156/4.479, allocations: 210.9 kB / 1.338 GB, free: 47.58 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003328/4.483, allocations: 0.8927 MB / 1.339 GB, free: 47.32 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.77e-05/4.483, allocations: 31.58 kB / 1.339 GB, free: 47.32 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003199/4.483, allocations: 42 kB / 1.339 GB, free: 47.32 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003635/4.487, allocations: 1.024 MB / 1.34 GB, free: 47.31 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003484/4.49, allocations: 1.107 MB / 1.341 GB, free: 47.11 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.378e-05/4.49, allocations: 5.594 kB / 1.341 GB, free: 47.11 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002244/4.491, allocations: 7.172 kB / 1.341 GB, free: 47.11 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002275/4.491, allocations: 75.73 kB / 1.341 GB, free: 47.1 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.01602/4.507, allocations: 4.796 MB / 1.346 GB, free: 44.91 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001651/4.509, allocations: 0.5226 MB / 1.346 GB, free: 44.88 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008575/4.509, allocations: 302.7 kB / 1.346 GB, free: 44.87 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005415/4.51, allocations: 313.6 kB / 1.347 GB, free: 44.59 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.759e-05/4.51, allocations: 41.41 kB / 1.347 GB, free: 44.55 MB / 442.7 MB Notification: Performance of pre-optimization done (n=56): time 5.23e-06/4.51, allocations: 3.656 kB / 1.347 GB, free: 44.55 MB / 442.7 MB Notification: Performance of matching and sorting (n=61): time 0.01806/4.528, allocations: 2.375 MB / 1.349 GB, free: 44 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.118e-05/4.528, allocations: 222.5 kB / 1.349 GB, free: 43.75 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001783/4.53, allocations: 0.7028 MB / 1.35 GB, free: 43.62 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001641/4.53, allocations: 25.7 kB / 1.35 GB, free: 43.59 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004968/4.531, allocations: 0.5356 MB / 1.351 GB, free: 43.3 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003527/4.531, allocations: 211.1 kB / 1.351 GB, free: 43.2 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001391/4.531, allocations: 0 / 1.351 GB, free: 43.2 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001301/4.531, allocations: 352.9 kB / 1.351 GB, free: 42.89 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00127/4.533, allocations: 381.8 kB / 1.351 GB, free: 42.89 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001506/4.534, allocations: 0.6476 MB / 1.352 GB, free: 42.57 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02089/4.555, allocations: 1.908 MB / 1.354 GB, free: 42.56 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.299e-05/4.555, allocations: 7.344 kB / 1.354 GB, free: 42.56 MB / 442.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.02142/4.577, allocations: 2.685 MB / 1.357 GB, free: 42.48 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006811/4.577, allocations: 2.888 MB / 1.359 GB, free: 39.5 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.007e-05/4.578, allocations: 10.97 kB / 1.359 GB, free: 39.5 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003263/4.581, allocations: 480.1 kB / 1.36 GB, free: 39.48 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001498/4.582, allocations: 190 kB / 1.36 GB, free: 39.48 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003356/4.586, allocations: 1.445 MB / 1.361 GB, free: 38.94 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001949/4.588, allocations: 56.33 kB / 1.362 GB, free: 38.94 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002282/4.588, allocations: 96.19 kB / 1.362 GB, free: 38.94 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/4.588, allocations: 1.906 kB / 1.362 GB, free: 38.94 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01733/4.605, allocations: 2.423 MB / 1.364 GB, free: 38.91 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.857e-05/4.605, allocations: 10.16 kB / 1.364 GB, free: 38.91 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002171/4.608, allocations: 307 kB / 1.364 GB, free: 38.91 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001463/4.609, allocations: 214.7 kB / 1.364 GB, free: 38.91 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001333/4.61, allocations: 0.9753 MB / 1.365 GB, free: 38.38 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001301/4.612, allocations: 54.17 kB / 1.365 GB, free: 38.38 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001911/4.612, allocations: 93.95 kB / 1.366 GB, free: 38.38 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 95 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 28} Notification: Performance of prepare postOptimizeDAE: time 0.0003833/4.612, allocations: 125.8 kB / 1.366 GB, free: 38.27 MB / 442.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002915/4.615, allocations: 0.8203 MB / 1.366 GB, free: 38.16 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002166/4.616, allocations: 102.2 kB / 1.367 GB, free: 38.11 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00383/4.619, allocations: 1.081 MB / 1.368 GB, free: 38.02 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.118e-05/4.619, allocations: 6.844 kB / 1.368 GB, free: 38.02 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.846e-06/4.619, allocations: 6.766 kB / 1.368 GB, free: 38.02 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.167e-06/4.619, allocations: 0 / 1.368 GB, free: 38.02 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004795/4.624, allocations: 1.802 MB / 1.369 GB, free: 37.71 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.512e-06/4.624, allocations: 0 / 1.369 GB, free: 37.71 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001272/4.626, allocations: 152 kB / 1.37 GB, free: 37.71 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000138/4.626, allocations: 27.73 kB / 1.37 GB, free: 37.71 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.901e-05/4.626, allocations: 21.88 kB / 1.37 GB, free: 37.71 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000838/4.627, allocations: 1.222 MB / 1.371 GB, free: 36.52 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/4.627, allocations: 5.406 kB / 1.371 GB, free: 36.52 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003585/4.63, allocations: 1.381 MB / 1.372 GB, free: 36.26 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004263/4.631, allocations: 185 kB / 1.372 GB, free: 36.11 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002796/4.631, allocations: 0 / 1.372 GB, free: 36.11 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001173/4.632, allocations: 47.95 kB / 1.372 GB, free: 36.11 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001831/4.632, allocations: 55.03 kB / 1.372 GB, free: 36.11 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001198/4.633, allocations: 46.73 kB / 1.372 GB, free: 36.11 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0009351/4.634, allocations: 0.5222 MB / 1.373 GB, free: 36.02 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.21e-07/4.634, allocations: 0 / 1.373 GB, free: 36.02 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005075/4.639, allocations: 1.196 MB / 1.374 GB, free: 35.84 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (junction.medium.p,junction.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 62 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009754/4.648, allocations: 4.119 MB / 1.378 GB, free: 34.54 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003756/4.652, allocations: 1.434 MB / 1.38 GB, free: 34.52 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.454e-06/4.652, allocations: 5.438 kB / 1.38 GB, free: 34.52 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009092/4.653, allocations: 461.5 kB / 1.38 GB, free: 34.42 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003749/4.657, allocations: 460.4 kB / 1.38 GB, free: 34.41 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01753/4.675, allocations: 3.686 MB / 1.384 GB, free: 33.71 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006747/4.675, allocations: 1.092 MB / 1.385 GB, free: 33.01 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001545/4.677, allocations: 458.7 kB / 1.386 GB, free: 33.01 MB / 442.7 MB Notification: Performance of SimCode: time 2.525e-06/4.677, allocations: 0 / 1.386 GB, free: 33.01 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.035/8.711, allocations: 38.44 MB / 1.423 GB, free: 30.25 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume_res.mat does not exist to compare? outputFormat=mat