Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sources.TestSources,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Sources_TestSources",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.403/2.403, allocations: 235 MB / 247.2 MB, free: 14.35 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.031e-05/4.053e-05, allocations: 0 / 305 MB, free: 5.07 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4089/0.409, allocations: 54.86 MB / 359.9 MB, free: 2.777 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.84/11.25, allocations: 3.668 GB / 4.02 GB, free: 63.54 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002568/11.25, allocations: 85.27 kB / 4.02 GB, free: 63.49 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.838/20.09, allocations: 1.437 GB / 5.457 GB, free: 11.2 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.535e-06/20.09, allocations: 0 / 5.457 GB, free: 11.2 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0002701/20.09, allocations: 59.05 kB / 5.457 GB, free: 11.14 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 480 * Number of variables: 480 Notification: Performance of Generate backend data structure: time 0.03411/20.12, allocations: 7.087 MB / 5.463 GB, free: 3.965 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.117e-05/20.12, allocations: 12.03 kB / 5.464 GB, free: 3.953 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001185/20.12, allocations: 270.1 kB / 5.464 GB, free: 3.68 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001881/20.12, allocations: 281 kB / 5.464 GB, free: 3.402 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005889/20.13, allocations: 1.511 MB / 5.466 GB, free: 1.84 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000233/20.13, allocations: 147.5 kB / 5.466 GB, free: 1.695 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001006/20.13, allocations: 176 kB / 5.466 GB, free: 1.523 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009179/20.14, allocations: 2.868 MB / 5.469 GB, free: 14.57 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.988e-05/20.14, allocations: 3.938 kB / 5.469 GB, free: 14.57 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000544/20.14, allocations: 79.97 kB / 5.469 GB, free: 14.49 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003747/20.14, allocations: 163.6 kB / 5.469 GB, free: 14.33 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01057/20.15, allocations: 3.088 MB / 5.472 GB, free: 11.24 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5643/20.72, allocations: 11.24 MB / 5.483 GB, free: 37.84 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007437/20.72, allocations: 1.795 MB / 5.485 GB, free: 37.81 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002657/20.73, allocations: 0.7512 MB / 5.485 GB, free: 37.8 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004354/20.73, allocations: 3.491 MB / 5.489 GB, free: 34.23 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000131/20.73, allocations: 56.88 kB / 5.489 GB, free: 34.2 MB / 0.573 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002288/20.73, allocations: 206 kB / 5.489 GB, free: 34.2 MB / 0.573 GB Notification: Performance of pre-optimization done (n=150): time 1.241e-05/20.73, allocations: 0.5625 kB / 5.489 GB, free: 34.2 MB / 0.573 GB Notification: Performance of matching and sorting (n=150): time 0.007623/20.74, allocations: 1.784 MB / 5.491 GB, free: 34.09 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.848e-05/20.74, allocations: 198.4 kB / 5.491 GB, free: 33.87 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003668/20.75, allocations: 1.313 MB / 5.492 GB, free: 33.69 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0006374/20.75, allocations: 60.95 kB / 5.492 GB, free: 33.66 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001269/20.75, allocations: 0.9907 MB / 5.493 GB, free: 33.29 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001125/20.75, allocations: 0.5176 MB / 5.494 GB, free: 33.04 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003657/20.75, allocations: 47.22 kB / 5.494 GB, free: 33.04 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0002231/20.75, allocations: 391.7 kB / 5.494 GB, free: 32.73 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002742/20.75, allocations: 0.7939 MB / 5.495 GB, free: 32.72 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003941/20.76, allocations: 1.465 MB / 5.496 GB, free: 31.92 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003999/20.76, allocations: 1.2 MB / 5.498 GB, free: 31.73 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.82e-05/20.76, allocations: 10.17 kB / 5.498 GB, free: 31.73 MB / 0.573 GB Notification: Performance of matching and sorting (n=275) (initialization): time 0.01153/20.77, allocations: 2.83 MB / 5.5 GB, free: 31.41 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.002163/20.77, allocations: 8.442 MB / 5.509 GB, free: 22.75 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001386/20.77, allocations: 25.2 kB / 5.509 GB, free: 22.74 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005983/20.78, allocations: 0.6071 MB / 5.509 GB, free: 22.73 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004788/20.78, allocations: 0.4976 MB / 5.51 GB, free: 22.73 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002709/20.79, allocations: 1.507 MB / 5.511 GB, free: 21.68 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004921/20.79, allocations: 171.8 kB / 5.511 GB, free: 21.67 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001032/20.79, allocations: 162.4 kB / 5.511 GB, free: 21.67 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/20.79, allocations: 5 kB / 5.511 GB, free: 21.67 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008989/20.8, allocations: 2.542 MB / 5.514 GB, free: 21.46 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001108/20.8, allocations: 21.72 kB / 5.514 GB, free: 21.46 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002278/20.8, allocations: 325 kB / 5.514 GB, free: 21.44 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004645/20.81, allocations: 0.5551 MB / 5.515 GB, free: 21.44 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001298/20.81, allocations: 1.262 MB / 5.516 GB, free: 20.4 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003904/20.81, allocations: 151.5 kB / 5.516 GB, free: 20.4 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009855/20.82, allocations: 157.9 kB / 5.516 GB, free: 20.4 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 94 * Number of states: 0 () * Number of discrete variables: 5 (traceSubstance.ind,traceSubstance2.ind,traceSubstance3.ind,traceSubstance4.ind,traceSubstance1.ind) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (262): * Single equations (assignments): 255 * Array equations: 0 * Algorithm blocks: 5 * 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 {1 6,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.001136/20.82, allocations: 243.7 kB / 5.517 GB, free: 20.29 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007604/20.82, allocations: 183.7 kB / 5.517 GB, free: 20.2 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01084/20.83, allocations: 3.123 MB / 5.52 GB, free: 19.97 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.621e-05/20.83, allocations: 18.03 kB / 5.52 GB, free: 19.97 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.266e-05/20.83, allocations: 3.953 kB / 5.52 GB, free: 19.97 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.498e-05/20.83, allocations: 7.5 kB / 5.52 GB, free: 19.97 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01523/20.84, allocations: 4.545 MB / 5.524 GB, free: 19.39 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.821e-05/20.84, allocations: 3.406 kB / 5.524 GB, free: 19.39 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002772/20.85, allocations: 309.6 kB / 5.525 GB, free: 19.39 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004609/20.85, allocations: 0.5605 MB / 5.525 GB, free: 19.37 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005563/20.85, allocations: 58.62 kB / 5.525 GB, free: 19.37 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001782/20.85, allocations: 1.507 MB / 5.527 GB, free: 18.33 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.979e-06/20.85, allocations: 6.969 kB / 5.527 GB, free: 18.33 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006616/20.86, allocations: 2.507 MB / 5.529 GB, free: 17.46 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001106/20.86, allocations: 300.2 kB / 5.529 GB, free: 17.26 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009489/20.86, allocations: 41.23 kB / 5.529 GB, free: 17.26 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003193/20.87, allocations: 106 kB / 5.53 GB, free: 17.25 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006478/20.87, allocations: 132.5 kB / 5.53 GB, free: 17.25 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004267/20.87, allocations: 117.8 kB / 5.53 GB, free: 17.25 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.002781/20.87, allocations: 1.025 MB / 5.531 GB, free: 17.13 MB / 0.573 GB Notification: Performance of sort global known variables: time 3.035e-06/20.87, allocations: 0 / 5.531 GB, free: 17.13 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.01705/20.89, allocations: 3.085 MB / 5.534 GB, free: 17.08 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (159): * Single equations (assignments): 156 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 {1 9,1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.02422/20.91, allocations: 8.401 MB / 5.542 GB, free: 14.07 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01084/20.92, allocations: 3.792 MB / 5.546 GB, free: 13.41 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-05/20.92, allocations: 3.844 kB / 5.546 GB, free: 13.41 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.00285/20.93, allocations: 0.9016 MB / 5.547 GB, free: 13.4 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007841/20.93, allocations: 0.8514 MB / 5.547 GB, free: 13.37 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01756/20.95, allocations: 4.63 MB / 5.552 GB, free: 12.62 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001543/20.95, allocations: 1.657 MB / 5.554 GB, free: 11.88 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.009143/20.96, allocations: 1.166 MB / 5.555 GB, free: 11.83 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00268/20.96, allocations: 0.8431 MB / 5.555 GB, free: 11.82 MB / 0.573 GB Notification: Performance of SimCode: time 1.854e-06/20.96, allocations: 0 / 5.555 GB, free: 11.82 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3482/21.31, allocations: 124.5 MB / 5.677 GB, free: 3.41 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002926/21.31, allocations: 229.4 kB / 5.677 GB, free: 3.145 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.349/30.66, allocations: 0 / 5.677 GB, free: 3.145 MB / 0.5886 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sources.TestSources_res.mat does not exist to compare? outputFormat=mat