Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sources.TestSources,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_Sources_TestSources",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.442/2.442, allocations: 209.4 MB / 216.5 MB, free: 6.668 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.936e-05/2.933e-05, allocations: 4 kB / 267.6 MB, free: 4.941 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1163, allocations: 48.69 MB / 316.3 MB, free: 4.152 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.13/11.25, allocations: 3.661 GB / 3.97 GB, free: 92.27 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002852/11.25, allocations: 90.17 kB / 3.97 GB, free: 92.22 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.746/19.99, allocations: 1.414 GB / 5.384 GB, free: 28.22 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.625e-06/19.99, allocations: 0 / 5.384 GB, free: 28.22 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0003433/19.99, allocations: 57.36 kB / 5.384 GB, free: 28.21 MB / 0.5105 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.03535/20.03, allocations: 7.098 MB / 5.391 GB, free: 24.44 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.373e-05/20.03, allocations: 10.56 kB / 5.391 GB, free: 24.44 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00257/20.03, allocations: 275.1 kB / 5.392 GB, free: 24.32 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005992/20.04, allocations: 1.508 MB / 5.393 GB, free: 23.92 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001352/20.04, allocations: 61.41 kB / 5.393 GB, free: 23.92 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007466/20.04, allocations: 105.2 kB / 5.393 GB, free: 23.92 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008108/20.05, allocations: 2.859 MB / 5.396 GB, free: 23.91 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007734/20.06, allocations: 2.627 MB / 5.399 GB, free: 23.64 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.018e-05/20.06, allocations: 4.219 kB / 5.399 GB, free: 23.64 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004562/20.06, allocations: 5.688 kB / 5.399 GB, free: 23.64 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003258/20.06, allocations: 165 kB / 5.399 GB, free: 23.64 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03031/20.09, allocations: 11.48 MB / 5.41 GB, free: 18.24 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004816/20.09, allocations: 1.591 MB / 5.412 GB, free: 18.21 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001633/20.09, allocations: 0.6731 MB / 5.412 GB, free: 18.2 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00304/20.1, allocations: 2.545 MB / 5.415 GB, free: 15.66 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.311e-05/20.1, allocations: 56.22 kB / 5.415 GB, free: 15.62 MB / 0.5105 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001784/20.1, allocations: 162.8 kB / 5.415 GB, free: 15.55 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=139): time 5.32e-06/20.1, allocations: 0 / 5.415 GB, free: 15.55 MB / 0.5105 GB Notification: Performance of matching and sorting (n=139): time 0.008348/20.11, allocations: 1.942 MB / 5.417 GB, free: 15.38 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.983e-05/20.11, allocations: 198.8 kB / 5.417 GB, free: 15.16 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00231/20.11, allocations: 1.147 MB / 5.418 GB, free: 14.98 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0004075/20.11, allocations: 31.48 kB / 5.418 GB, free: 14.95 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008014/20.11, allocations: 1.027 MB / 5.419 GB, free: 14.42 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005824/20.11, allocations: 470.1 kB / 5.42 GB, free: 14.12 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002152/20.11, allocations: 7.781 kB / 5.42 GB, free: 14.12 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000159/20.11, allocations: 393.3 kB / 5.42 GB, free: 13.81 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00193/20.11, allocations: 0.7698 MB / 5.421 GB, free: 13.8 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002284/20.12, allocations: 1.432 MB / 5.422 GB, free: 13 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02464/20.14, allocations: 3.187 MB / 5.425 GB, free: 12.97 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.918e-05/20.14, allocations: 3.906 kB / 5.425 GB, free: 12.97 MB / 0.5105 GB Notification: Performance of matching and sorting (n=275) (initialization): time 0.03078/20.17, allocations: 4.718 MB / 5.43 GB, free: 12.79 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.002473/20.17, allocations: 8.364 MB / 5.438 GB, free: 20.11 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.334e-05/20.17, allocations: 20.47 kB / 5.438 GB, free: 20.11 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001356/20.17, allocations: 266.4 kB / 5.438 GB, free: 20.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004112/20.18, allocations: 0.5026 MB / 5.439 GB, free: 20.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00363/20.18, allocations: 1.645 MB / 5.44 GB, free: 19.05 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004396/20.19, allocations: 134.7 kB / 5.44 GB, free: 19.04 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001137/20.19, allocations: 162.9 kB / 5.441 GB, free: 19.04 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/20.19, allocations: 3.562 kB / 5.441 GB, free: 19.04 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03037/20.22, allocations: 4.307 MB / 5.445 GB, free: 18.97 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001048/20.22, allocations: 22.52 kB / 5.445 GB, free: 18.97 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004584/20.22, allocations: 132 kB / 5.445 GB, free: 18.95 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004631/20.22, allocations: 0.5558 MB / 5.446 GB, free: 18.95 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002034/20.23, allocations: 1.319 MB / 5.447 GB, free: 17.92 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003659/20.23, allocations: 105.3 kB / 5.447 GB, free: 17.91 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008789/20.23, allocations: 168.2 kB / 5.447 GB, free: 17.91 MB / 0.5261 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.0009829/20.23, allocations: 168 kB / 5.447 GB, free: 17.79 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.009005/20.24, allocations: 1.917 MB / 5.449 GB, free: 17.62 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008674/20.24, allocations: 175.4 kB / 5.449 GB, free: 17.54 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01337/20.25, allocations: 3.021 MB / 5.452 GB, free: 17.3 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-05/20.26, allocations: 21.92 kB / 5.452 GB, free: 17.3 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.189e-05/20.26, allocations: 0 / 5.452 GB, free: 17.3 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-05/20.26, allocations: 6.984 kB / 5.452 GB, free: 17.3 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01966/20.27, allocations: 6.349 MB / 5.458 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.828e-05/20.27, allocations: 7.656 kB / 5.458 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002408/20.28, allocations: 286.9 kB / 5.459 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001305/20.28, allocations: 260.6 kB / 5.459 GB, free: 15.43 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003545/20.28, allocations: 46.69 kB / 5.459 GB, free: 15.43 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003496/20.28, allocations: 1.687 MB / 5.461 GB, free: 14.37 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.608e-05/20.28, allocations: 13.91 kB / 5.461 GB, free: 14.37 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009693/20.29, allocations: 3.049 MB / 5.464 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001033/20.29, allocations: 291.4 kB / 5.464 GB, free: 12.79 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006617/20.29, allocations: 15.88 kB / 5.464 GB, free: 12.79 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002461/20.3, allocations: 75.5 kB / 5.464 GB, free: 12.78 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004153/20.3, allocations: 136.8 kB / 5.464 GB, free: 12.76 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003105/20.3, allocations: 109.3 kB / 5.464 GB, free: 12.76 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0018/20.3, allocations: 0.85 MB / 5.465 GB, free: 12.65 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.51e-07/20.3, allocations: 0 / 5.465 GB, free: 12.65 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01371/20.31, allocations: 2.937 MB / 5.468 GB, free: 11.98 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (146): * Single equations (assignments): 143 * 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.02685/20.34, allocations: 10.39 MB / 5.478 GB, free: 6.773 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.009362/20.35, allocations: 3.632 MB / 5.482 GB, free: 5.984 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-05/20.35, allocations: 3.406 kB / 5.482 GB, free: 5.984 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002372/20.35, allocations: 0.8304 MB / 5.483 GB, free: 5.941 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007651/20.36, allocations: 0.7429 MB / 5.483 GB, free: 5.91 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01814/20.38, allocations: 4.471 MB / 5.488 GB, free: 4.434 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001784/20.38, allocations: 1.645 MB / 5.489 GB, free: 3.691 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.007872/20.39, allocations: 1.06 MB / 5.49 GB, free: 3.605 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002214/20.39, allocations: 0.8273 MB / 5.491 GB, free: 3.598 MB / 0.5261 GB Notification: Performance of SimCode: time 1.422e-06/20.39, allocations: 0 / 5.491 GB, free: 3.598 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7516/21.14, allocations: 96.99 MB / 5.586 GB, free: 54.07 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002234/21.14, allocations: 184.5 kB / 5.586 GB, free: 53.87 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.977/29.12, allocations: 3.281 kB / 5.586 GB, free: 53.87 MB / 0.5417 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sources.TestSources_res.mat does not exist to compare? outputFormat=mat