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.449/2.449, allocations: 235 MB / 247.1 MB, free: 14.61 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.497e-05/4.518e-05, allocations: 4 kB / 305 MB, free: 5.293 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4318/0.4319, allocations: 54.85 MB / 359.9 MB, free: 3.074 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.89/11.32, allocations: 3.668 GB / 4.02 GB, free: 64.24 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002878/11.32, allocations: 89.69 kB / 4.02 GB, free: 64.19 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.971/20.29, allocations: 1.437 GB / 5.456 GB, free: 12.4 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.104e-06/20.29, allocations: 4 kB / 5.456 GB, free: 12.39 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0002786/20.29, allocations: 57.62 kB / 5.457 GB, free: 12.34 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.03245/20.32, allocations: 7.083 MB / 5.463 GB, free: 5.172 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.256e-05/20.32, allocations: 12.03 kB / 5.463 GB, free: 5.16 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001087/20.32, allocations: 270.1 kB / 5.464 GB, free: 4.887 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001693/20.33, allocations: 281.1 kB / 5.464 GB, free: 4.609 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005704/20.33, allocations: 1.508 MB / 5.465 GB, free: 3.047 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002103/20.33, allocations: 147.5 kB / 5.466 GB, free: 2.902 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008725/20.33, allocations: 176 kB / 5.466 GB, free: 2.73 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008121/20.34, allocations: 2.887 MB / 5.469 GB, free: 15.76 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.822e-05/20.34, allocations: 7.938 kB / 5.469 GB, free: 15.75 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005116/20.34, allocations: 83.95 kB / 5.469 GB, free: 15.67 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003639/20.34, allocations: 159.6 kB / 5.469 GB, free: 15.52 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01024/20.35, allocations: 3.122 MB / 5.472 GB, free: 12.39 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03808/20.39, allocations: 11.25 MB / 5.483 GB, free: 432 kB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.5547/20.94, allocations: 1.81 MB / 5.485 GB, free: 39.83 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002638/20.95, allocations: 0.7472 MB / 5.485 GB, free: 39.82 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004423/20.95, allocations: 3.492 MB / 5.489 GB, free: 36.26 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.644e-05/20.95, allocations: 58.11 kB / 5.489 GB, free: 36.22 MB / 0.573 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002076/20.95, allocations: 207.7 kB / 5.489 GB, free: 36.22 MB / 0.573 GB Notification: Performance of pre-optimization done (n=150): time 8.416e-06/20.95, allocations: 1 kB / 5.489 GB, free: 36.22 MB / 0.573 GB Notification: Performance of matching and sorting (n=150): time 0.006981/20.96, allocations: 1.781 MB / 5.491 GB, free: 36.14 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.887e-05/20.96, allocations: 197.2 kB / 5.491 GB, free: 35.92 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003779/20.96, allocations: 1.315 MB / 5.492 GB, free: 35.75 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0008044/20.97, allocations: 57.05 kB / 5.492 GB, free: 35.71 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001226/20.97, allocations: 0.989 MB / 5.493 GB, free: 35.35 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001118/20.97, allocations: 0.5184 MB / 5.494 GB, free: 35.09 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003323/20.97, allocations: 45.75 kB / 5.494 GB, free: 35.09 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0002248/20.97, allocations: 393.5 kB / 5.494 GB, free: 34.79 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002696/20.97, allocations: 0.7946 MB / 5.495 GB, free: 34.78 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003567/20.97, allocations: 1.479 MB / 5.496 GB, free: 33.96 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003692/20.98, allocations: 1.2 MB / 5.498 GB, free: 33.78 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.519e-05/20.98, allocations: 5.938 kB / 5.498 GB, free: 33.78 MB / 0.573 GB Notification: Performance of matching and sorting (n=275) (initialization): time 0.01077/20.99, allocations: 2.89 MB / 5.5 GB, free: 33.46 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.00221/20.99, allocations: 8.443 MB / 5.509 GB, free: 24.79 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001089/20.99, allocations: 20.34 kB / 5.509 GB, free: 24.79 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005641/21, allocations: 0.6063 MB / 5.509 GB, free: 24.78 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004486/21, allocations: 0.4956 MB / 5.51 GB, free: 24.78 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002467/21, allocations: 1.507 MB / 5.511 GB, free: 23.73 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004458/21.01, allocations: 168.6 kB / 5.511 GB, free: 23.73 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001048/21.01, allocations: 166.1 kB / 5.512 GB, free: 23.73 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/21.01, allocations: 2.875 kB / 5.512 GB, free: 23.73 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008864/21.02, allocations: 2.6 MB / 5.514 GB, free: 23.51 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.426e-05/21.02, allocations: 19.47 kB / 5.514 GB, free: 23.51 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002166/21.02, allocations: 335.6 kB / 5.514 GB, free: 23.49 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004555/21.03, allocations: 0.5544 MB / 5.515 GB, free: 23.49 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001239/21.03, allocations: 1.26 MB / 5.516 GB, free: 22.45 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003769/21.03, allocations: 149.4 kB / 5.516 GB, free: 22.45 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007527/21.03, allocations: 155.8 kB / 5.516 GB, free: 22.45 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.001009/21.03, allocations: 257.8 kB / 5.517 GB, free: 22.34 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007359/21.03, allocations: 185.9 kB / 5.517 GB, free: 22.25 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009755/21.04, allocations: 3.113 MB / 5.52 GB, free: 22.02 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.222e-05/21.04, allocations: 20.12 kB / 5.52 GB, free: 22.02 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.027e-05/21.04, allocations: 2.969 kB / 5.52 GB, free: 22.02 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-05/21.04, allocations: 8.672 kB / 5.52 GB, free: 22.02 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01339/21.06, allocations: 4.564 MB / 5.524 GB, free: 21.43 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.597e-05/21.06, allocations: 7.719 kB / 5.524 GB, free: 21.43 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002559/21.06, allocations: 304.2 kB / 5.525 GB, free: 21.43 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004389/21.06, allocations: 0.5483 MB / 5.525 GB, free: 21.41 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005255/21.06, allocations: 62.64 kB / 5.525 GB, free: 21.41 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001776/21.07, allocations: 1.516 MB / 5.527 GB, free: 20.37 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.337e-06/21.07, allocations: 6.312 kB / 5.527 GB, free: 20.37 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006208/21.07, allocations: 2.511 MB / 5.529 GB, free: 19.5 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001117/21.07, allocations: 294.4 kB / 5.53 GB, free: 19.3 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008156/21.07, allocations: 39.2 kB / 5.53 GB, free: 19.3 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002942/21.08, allocations: 105.5 kB / 5.53 GB, free: 19.3 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005912/21.08, allocations: 133.3 kB / 5.53 GB, free: 19.29 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003969/21.08, allocations: 117.6 kB / 5.53 GB, free: 19.29 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.002461/21.08, allocations: 1.027 MB / 5.531 GB, free: 19.18 MB / 0.573 GB Notification: Performance of sort global known variables: time 8.41e-07/21.08, allocations: 0 / 5.531 GB, free: 19.18 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0146/21.1, allocations: 3.079 MB / 5.534 GB, free: 19.13 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.02312/21.12, allocations: 8.354 MB / 5.542 GB, free: 16.18 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01047/21.13, allocations: 3.872 MB / 5.546 GB, free: 15.49 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-05/21.13, allocations: 7.312 kB / 5.546 GB, free: 15.49 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.002521/21.13, allocations: 0.9175 MB / 5.547 GB, free: 15.48 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007227/21.14, allocations: 0.8512 MB / 5.548 GB, free: 15.45 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01636/21.16, allocations: 4.635 MB / 5.552 GB, free: 14.7 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001456/21.16, allocations: 1.661 MB / 5.554 GB, free: 13.96 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.007965/21.17, allocations: 1.172 MB / 5.555 GB, free: 13.91 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002306/21.17, allocations: 0.8484 MB / 5.556 GB, free: 13.9 MB / 0.573 GB Notification: Performance of SimCode: time 1.533e-06/21.17, allocations: 0 / 5.556 GB, free: 13.9 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4016/21.57, allocations: 124.3 MB / 5.677 GB, free: 4.977 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003895/21.57, allocations: 234.5 kB / 5.677 GB, free: 4.707 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.085/30.66, allocations: 3.938 kB / 5.677 GB, free: 4.703 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