Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.6/2.6, allocations: 235 MB / 247.6 MB, free: 14.39 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.436e-05/4.46e-05, allocations: 4 kB / 305 MB, free: 5.559 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5057/0.5058, allocations: 54.85 MB / 359.9 MB, free: 2.715 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.984/2.49, allocations: 0.628 GB / 0.9794 GB, free: 102.3 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002944/2.491, allocations: 84.33 kB / 0.9795 GB, free: 102.3 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.008/4.499, allocations: 352.9 MB / 1.324 GB, free: 70.46 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.855e-06/4.499, allocations: 0 / 1.324 GB, free: 70.46 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001166/4.499, allocations: 28.41 kB / 1.324 GB, free: 70.46 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: 173 * Number of variables: 173 Notification: Performance of Generate backend data structure: time 0.007003/4.506, allocations: 1.568 MB / 1.326 GB, free: 69.79 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.746e-05/4.506, allocations: 9.969 kB / 1.326 GB, free: 69.79 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004761/4.506, allocations: 118.1 kB / 1.326 GB, free: 69.75 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001871/4.508, allocations: 201.3 kB / 1.326 GB, free: 69.69 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003207/4.512, allocations: 0.8287 MB / 1.327 GB, free: 69.43 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.742e-05/4.512, allocations: 50.16 kB / 1.327 GB, free: 69.43 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002338/4.512, allocations: 67.75 kB / 1.327 GB, free: 69.43 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002783/4.515, allocations: 1.114 MB / 1.328 GB, free: 69.25 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.791e-05/4.515, allocations: 0 / 1.328 GB, free: 69.25 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001665/4.515, allocations: 29.62 kB / 1.328 GB, free: 69.25 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001799/4.515, allocations: 79.97 kB / 1.328 GB, free: 69.25 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002779/4.518, allocations: 1.104 MB / 1.329 GB, free: 69.24 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.01267/4.531, allocations: 4.31 MB / 1.333 GB, free: 67.45 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002262/4.533, allocations: 0.7313 MB / 1.334 GB, free: 67.41 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008675/4.534, allocations: 351.6 kB / 1.334 GB, free: 67.41 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004665/4.534, allocations: 323 kB / 1.335 GB, free: 67.12 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.221e-05/4.535, allocations: 45.22 kB / 1.335 GB, free: 67.09 MB / 490.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001272/4.536, allocations: 114.1 kB / 1.335 GB, free: 67.07 MB / 490.7 MB Notification: Performance of pre-optimization done (n=61): time 3.677e-06/4.536, allocations: 0 / 1.335 GB, free: 67.07 MB / 490.7 MB Notification: Performance of matching and sorting (n=61): time 0.004533/4.54, allocations: 1.073 MB / 1.336 GB, free: 66.96 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.126e-05/4.541, allocations: 216.2 kB / 1.336 GB, free: 66.71 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001463/4.542, allocations: 0.7112 MB / 1.337 GB, free: 66.58 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002454/4.542, allocations: 41.14 kB / 1.337 GB, free: 66.55 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003303/4.543, allocations: 466.5 kB / 1.337 GB, free: 66.31 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002788/4.543, allocations: 216.9 kB / 1.338 GB, free: 66.21 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.413e-05/4.543, allocations: 18 kB / 1.338 GB, free: 66.21 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.608e-05/4.543, allocations: 347.4 kB / 1.338 GB, free: 65.89 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009349/4.544, allocations: 358.8 kB / 1.338 GB, free: 65.89 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001098/4.545, allocations: 0.5918 MB / 1.339 GB, free: 65.62 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001069/4.546, allocations: 460.2 kB / 1.339 GB, free: 65.61 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.216e-06/4.546, allocations: 0 / 1.339 GB, free: 65.61 MB / 490.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.003088/4.549, allocations: 1.187 MB / 1.34 GB, free: 65.53 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005719/4.55, allocations: 2.447 MB / 1.343 GB, free: 63 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.769e-05/4.55, allocations: 7.781 kB / 1.343 GB, free: 63 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008349/4.558, allocations: 0.8262 MB / 1.344 GB, free: 62.98 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001323/4.56, allocations: 176 kB / 1.344 GB, free: 62.98 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002244/4.562, allocations: 1.177 MB / 1.345 GB, free: 62.45 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001657/4.564, allocations: 70.42 kB / 1.345 GB, free: 62.45 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001693/4.564, allocations: 74.42 kB / 1.345 GB, free: 62.45 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/4.564, allocations: 2.625 kB / 1.345 GB, free: 62.45 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003364/4.567, allocations: 1.046 MB / 1.346 GB, free: 62.42 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.412e-05/4.567, allocations: 11.56 kB / 1.346 GB, free: 62.42 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001021/4.568, allocations: 146.2 kB / 1.346 GB, free: 62.41 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00145/4.57, allocations: 205.4 kB / 1.346 GB, free: 62.41 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003665/4.574, allocations: 2.106 MB / 1.349 GB, free: 61.14 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001295/4.575, allocations: 65.59 kB / 1.349 GB, free: 61.14 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001589/4.575, allocations: 67.09 kB / 1.349 GB, free: 61.14 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 84 * 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 {3 19} Notification: Performance of prepare postOptimizeDAE: time 0.0003777/4.575, allocations: 157.9 kB / 1.349 GB, free: 61.04 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000319/4.576, allocations: 92.69 kB / 1.349 GB, free: 60.99 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003979/4.58, allocations: 1.283 MB / 1.35 GB, free: 60.88 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.335e-05/4.58, allocations: 9.484 kB / 1.35 GB, free: 60.88 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/4.58, allocations: 0 / 1.35 GB, free: 60.88 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.121e-05/4.58, allocations: 6.75 kB / 1.35 GB, free: 60.88 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004262/4.584, allocations: 1.898 MB / 1.352 GB, free: 60.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.116e-06/4.584, allocations: 0 / 1.352 GB, free: 60.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006636/4.585, allocations: 84.73 kB / 1.352 GB, free: 60.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005427/4.59, allocations: 0.6734 MB / 1.353 GB, free: 60.49 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001936/4.591, allocations: 28.19 kB / 1.353 GB, free: 60.49 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001881/4.592, allocations: 1.166 MB / 1.354 GB, free: 59.96 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/4.593, allocations: 3 kB / 1.354 GB, free: 59.96 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002547/4.595, allocations: 1.131 MB / 1.355 GB, free: 59.61 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004078/4.596, allocations: 179.7 kB / 1.355 GB, free: 59.46 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002199/4.596, allocations: 16.41 kB / 1.355 GB, free: 59.46 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001116/4.597, allocations: 50.81 kB / 1.355 GB, free: 59.46 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001535/4.597, allocations: 55.38 kB / 1.355 GB, free: 59.46 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001121/4.597, allocations: 44.3 kB / 1.355 GB, free: 59.46 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001049/4.598, allocations: 0.5607 MB / 1.356 GB, free: 59.36 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.433e-06/4.598, allocations: 2.031 kB / 1.356 GB, free: 59.36 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005248/4.603, allocations: 1.221 MB / 1.357 GB, free: 59.12 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 36 * 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 {3 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.008313/4.612, allocations: 3.819 MB / 1.361 GB, free: 57.49 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004176/4.616, allocations: 1.468 MB / 1.362 GB, free: 57.37 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.055e-06/4.616, allocations: 0 / 1.362 GB, free: 57.37 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001071/4.617, allocations: 392.2 kB / 1.363 GB, free: 57.36 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004098/4.621, allocations: 498.2 kB / 1.363 GB, free: 57.34 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01449/4.636, allocations: 3.483 MB / 1.367 GB, free: 56.68 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006703/4.637, allocations: 1.07 MB / 1.368 GB, free: 55.97 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001082/4.638, allocations: 374.6 kB / 1.368 GB, free: 55.97 MB / 490.7 MB Notification: Performance of SimCode: time 1.272e-06/4.638, allocations: 2.312 kB / 1.368 GB, free: 55.97 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.401/8.039, allocations: 34.38 MB / 1.402 GB, free: 52.22 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal_res.mat does not exist to compare? outputFormat=mat