Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.255/2.255, allocations: 235 MB / 247.2 MB, free: 14.34 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.78e-05/3.807e-05, allocations: 4 kB / 305 MB, free: 5.059 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3927/0.3928, allocations: 54.86 MB / 359.9 MB, free: 2.793 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.866/2.259, allocations: 0.628 GB / 0.9794 GB, free: 101.6 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003877/2.259, allocations: 81.2 kB / 0.9795 GB, free: 101.5 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.976/4.235, allocations: 352.9 MB / 1.324 GB, free: 71.16 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.964e-06/4.236, allocations: 2.969 kB / 1.324 GB, free: 71.16 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.742e-05/4.236, allocations: 26.69 kB / 1.324 GB, free: 71.16 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.005429/4.241, allocations: 1.568 MB / 1.326 GB, free: 70.47 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.737e-05/4.241, allocations: 7.719 kB / 1.326 GB, free: 70.47 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002495/4.241, allocations: 113.4 kB / 1.326 GB, free: 70.43 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001608/4.243, allocations: 200.5 kB / 1.326 GB, free: 70.38 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002556/4.246, allocations: 0.8354 MB / 1.327 GB, free: 70.11 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.789e-05/4.246, allocations: 54.5 kB / 1.327 GB, free: 70.11 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002019/4.246, allocations: 61.77 kB / 1.327 GB, free: 70.11 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002444/4.248, allocations: 1.112 MB / 1.328 GB, free: 69.93 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.648e-05/4.248, allocations: 3.781 kB / 1.328 GB, free: 69.93 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001548/4.249, allocations: 29.97 kB / 1.328 GB, free: 69.93 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001613/4.249, allocations: 81 kB / 1.328 GB, free: 69.93 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002506/4.251, allocations: 1.099 MB / 1.329 GB, free: 69.93 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.009906/4.261, allocations: 4.307 MB / 1.333 GB, free: 68.13 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001949/4.263, allocations: 0.738 MB / 1.334 GB, free: 68.1 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007559/4.264, allocations: 354.1 kB / 1.335 GB, free: 68.09 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004122/4.264, allocations: 319.5 kB / 1.335 GB, free: 67.81 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.246e-05/4.264, allocations: 38.66 kB / 1.335 GB, free: 67.77 MB / 490.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001113/4.266, allocations: 113.5 kB / 1.335 GB, free: 67.76 MB / 490.7 MB Notification: Performance of pre-optimization done (n=61): time 3.647e-06/4.266, allocations: 3.156 kB / 1.335 GB, free: 67.76 MB / 490.7 MB Notification: Performance of matching and sorting (n=61): time 0.004265/4.27, allocations: 1.068 MB / 1.336 GB, free: 67.65 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.485e-05/4.27, allocations: 213.2 kB / 1.336 GB, free: 67.4 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001269/4.271, allocations: 0.713 MB / 1.337 GB, free: 67.27 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001027/4.271, allocations: 41.02 kB / 1.337 GB, free: 67.24 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003454/4.272, allocations: 462.1 kB / 1.337 GB, free: 67.06 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000228/4.272, allocations: 218 kB / 1.338 GB, free: 66.95 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.363e-05/4.272, allocations: 19.09 kB / 1.338 GB, free: 66.95 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.864e-05/4.272, allocations: 338.2 kB / 1.338 GB, free: 66.64 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008745/4.273, allocations: 358.5 kB / 1.338 GB, free: 66.64 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001039/4.274, allocations: 0.5879 MB / 1.339 GB, free: 66.37 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001031/4.275, allocations: 466.1 kB / 1.339 GB, free: 66.36 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.733e-06/4.275, allocations: 0 / 1.339 GB, free: 66.36 MB / 490.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.00313/4.278, allocations: 1.238 MB / 1.341 GB, free: 66.25 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000526/4.279, allocations: 2.452 MB / 1.343 GB, free: 63.71 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.638e-05/4.279, allocations: 9.25 kB / 1.343 GB, free: 63.71 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008193/4.287, allocations: 0.823 MB / 1.344 GB, free: 63.71 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001301/4.288, allocations: 175.9 kB / 1.344 GB, free: 63.71 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002169/4.291, allocations: 1.185 MB / 1.345 GB, free: 63.17 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0016/4.292, allocations: 69.56 kB / 1.345 GB, free: 63.17 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001784/4.292, allocations: 72.77 kB / 1.345 GB, free: 63.17 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/4.292, allocations: 3.844 kB / 1.345 GB, free: 63.17 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003358/4.296, allocations: 1.044 MB / 1.346 GB, free: 63.14 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.987e-05/4.296, allocations: 5.188 kB / 1.346 GB, free: 63.14 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001207/4.297, allocations: 169.6 kB / 1.346 GB, free: 63.12 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001591/4.299, allocations: 203.9 kB / 1.347 GB, free: 63.12 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003949/4.303, allocations: 2.149 MB / 1.349 GB, free: 61.85 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001655/4.304, allocations: 65.31 kB / 1.349 GB, free: 61.84 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002105/4.305, allocations: 75.69 kB / 1.349 GB, free: 61.84 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.0003935/4.305, allocations: 153.4 kB / 1.349 GB, free: 61.73 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002967/4.305, allocations: 89.88 kB / 1.349 GB, free: 61.69 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004049/4.309, allocations: 1.273 MB / 1.35 GB, free: 61.58 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.205e-05/4.31, allocations: 9.938 kB / 1.35 GB, free: 61.58 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/4.31, allocations: 0 / 1.35 GB, free: 61.58 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.164e-05/4.31, allocations: 3.75 kB / 1.35 GB, free: 61.58 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004676/4.314, allocations: 1.91 MB / 1.352 GB, free: 61.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.546e-06/4.314, allocations: 0 / 1.352 GB, free: 61.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006753/4.315, allocations: 89.81 kB / 1.352 GB, free: 61.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005483/4.32, allocations: 0.6765 MB / 1.353 GB, free: 61.19 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002123/4.321, allocations: 30.17 kB / 1.353 GB, free: 61.19 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001874/4.323, allocations: 1.162 MB / 1.354 GB, free: 60.65 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.061e-06/4.323, allocations: 6.656 kB / 1.354 GB, free: 60.65 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002481/4.325, allocations: 1.136 MB / 1.355 GB, free: 60.3 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004287/4.326, allocations: 176.1 kB / 1.355 GB, free: 60.16 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002463/4.326, allocations: 16.12 kB / 1.355 GB, free: 60.16 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001109/4.327, allocations: 45.28 kB / 1.355 GB, free: 60.16 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001579/4.327, allocations: 55.03 kB / 1.355 GB, free: 60.15 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001122/4.327, allocations: 41.94 kB / 1.355 GB, free: 60.15 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001077/4.328, allocations: 0.5526 MB / 1.356 GB, free: 60.05 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.41e-07/4.328, allocations: 1.469 kB / 1.356 GB, free: 60.05 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005206/4.334, allocations: 1.226 MB / 1.357 GB, free: 59.81 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.008269/4.342, allocations: 3.825 MB / 1.361 GB, free: 58.18 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004238/4.346, allocations: 1.491 MB / 1.362 GB, free: 58.05 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.508e-06/4.346, allocations: 0 / 1.362 GB, free: 58.05 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001086/4.347, allocations: 390 kB / 1.363 GB, free: 58.04 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004237/4.352, allocations: 491.5 kB / 1.363 GB, free: 58.02 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01403/4.366, allocations: 3.455 MB / 1.367 GB, free: 57.39 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006291/4.366, allocations: 1.07 MB / 1.368 GB, free: 56.68 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.003302/4.37, allocations: 0.5039 MB / 1.368 GB, free: 56.66 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007682/4.371, allocations: 342.1 kB / 1.369 GB, free: 56.65 MB / 490.7 MB Notification: Performance of SimCode: time 1.052e-06/4.371, allocations: 288 / 1.369 GB, free: 56.65 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1351/4.506, allocations: 58.57 MB / 1.426 GB, free: 26.89 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002825/4.506, allocations: 232.1 kB / 1.426 GB, free: 26.59 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.908/9.414, allocations: 3.281 kB / 1.426 GB, free: 26.59 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal_res.mat does not exist to compare? outputFormat=mat