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.064/2.064, allocations: 209.3 MB / 221.5 MB, free: 1.926 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.222e-05/3.239e-05, allocations: 4 kB / 273.2 MB, free: 144 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1129/0.113, allocations: 48.7 MB / 321.9 MB, free: 15.34 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.12/11.23, allocations: 3.662 GB / 3.976 GB, free: 16.84 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002969/11.23, allocations: 83.94 kB / 3.976 GB, free: 16.76 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.697/19.93, allocations: 1.427 GB / 5.403 GB, free: 23 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.196e-06/19.93, allocations: 0 / 5.403 GB, free: 23 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0002841/19.93, allocations: 58.73 kB / 5.403 GB, free: 22.99 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.03477/19.97, allocations: 7.083 MB / 5.41 GB, free: 18.82 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.283e-05/19.97, allocations: 11.78 kB / 5.41 GB, free: 18.82 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001203/19.97, allocations: 269.1 kB / 5.41 GB, free: 18.78 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001714/19.97, allocations: 286.3 kB / 5.411 GB, free: 18.65 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00548/19.97, allocations: 1.503 MB / 5.412 GB, free: 18.2 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002209/19.97, allocations: 145.2 kB / 5.412 GB, free: 18.2 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007796/19.98, allocations: 180.6 kB / 5.412 GB, free: 18.2 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00806/19.98, allocations: 2.871 MB / 5.415 GB, free: 17.91 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.825e-05/19.98, allocations: 7.062 kB / 5.415 GB, free: 17.91 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004935/19.98, allocations: 79.06 kB / 5.415 GB, free: 17.9 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003059/19.98, allocations: 156.3 kB / 5.416 GB, free: 17.89 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008924/19.99, allocations: 3.1 MB / 5.419 GB, free: 17.88 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03208/20.03, allocations: 10.9 MB / 5.429 GB, free: 12.04 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005527/20.03, allocations: 1.795 MB / 5.431 GB, free: 11.4 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002016/20.03, allocations: 0.7458 MB / 5.432 GB, free: 11.11 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003944/20.04, allocations: 3.495 MB / 5.435 GB, free: 7.41 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.889e-05/20.04, allocations: 55.66 kB / 5.435 GB, free: 7.359 MB / 0.5105 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002005/20.04, allocations: 205 kB / 5.435 GB, free: 7.238 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=150): time 5.37e-06/20.04, allocations: 0 / 5.435 GB, free: 7.238 MB / 0.5105 GB Notification: Performance of matching and sorting (n=150): time 0.005635/20.04, allocations: 1.793 MB / 5.437 GB, free: 6.543 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.526e-05/20.05, allocations: 201.2 kB / 5.437 GB, free: 6.305 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002658/20.05, allocations: 1.311 MB / 5.439 GB, free: 5.109 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0005325/20.05, allocations: 57.7 kB / 5.439 GB, free: 5.047 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007594/20.05, allocations: 0.9844 MB / 5.44 GB, free: 4.145 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007061/20.05, allocations: 0.5131 MB / 5.44 GB, free: 3.668 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002492/20.05, allocations: 44 kB / 5.44 GB, free: 3.625 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001534/20.05, allocations: 392 kB / 5.44 GB, free: 3.266 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002189/20.05, allocations: 0.7941 MB / 5.441 GB, free: 2.535 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002614/20.06, allocations: 1.468 MB / 5.443 GB, free: 0.8633 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003064/20.06, allocations: 1.195 MB / 5.444 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.289e-05/20.06, allocations: 8 kB / 5.444 GB, free: 15.78 MB / 0.5261 GB Notification: Performance of matching and sorting (n=275) (initialization): time 0.00918/20.07, allocations: 2.835 MB / 5.447 GB, free: 13.21 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.003662/20.07, allocations: 8.453 MB / 5.455 GB, free: 4.227 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.857e-05/20.07, allocations: 24 kB / 5.455 GB, free: 4.203 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005386/20.08, allocations: 0.6047 MB / 5.456 GB, free: 3.754 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004298/20.08, allocations: 0.4914 MB / 5.456 GB, free: 3.332 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002456/20.08, allocations: 1.505 MB / 5.457 GB, free: 1.855 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004145/20.09, allocations: 174.1 kB / 5.458 GB, free: 1.711 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007219/20.09, allocations: 161.4 kB / 5.458 GB, free: 1.57 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/20.09, allocations: 4 kB / 5.458 GB, free: 1.566 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.4921/20.58, allocations: 2.536 MB / 5.46 GB, free: 38.76 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.811e-05/20.58, allocations: 21.11 kB / 5.46 GB, free: 38.76 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002354/20.58, allocations: 325.7 kB / 5.461 GB, free: 38.74 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004903/20.59, allocations: 0.5503 MB / 5.461 GB, free: 38.74 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001372/20.59, allocations: 1.262 MB / 5.462 GB, free: 37.71 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00373/20.59, allocations: 153.2 kB / 5.463 GB, free: 37.71 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007464/20.59, allocations: 161.3 kB / 5.463 GB, free: 37.71 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.0008736/20.59, allocations: 245.3 kB / 5.463 GB, free: 37.61 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006548/20.6, allocations: 187.3 kB / 5.463 GB, free: 37.61 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01067/20.61, allocations: 3.119 MB / 5.466 GB, free: 37.42 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.766e-05/20.61, allocations: 16.25 kB / 5.466 GB, free: 37.42 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.045e-05/20.61, allocations: 0 / 5.466 GB, free: 37.42 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.217e-05/20.61, allocations: 10.55 kB / 5.466 GB, free: 37.42 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01511/20.62, allocations: 4.545 MB / 5.471 GB, free: 36.86 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.615e-05/20.62, allocations: 4.812 kB / 5.471 GB, free: 36.86 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002726/20.62, allocations: 312.2 kB / 5.471 GB, free: 36.86 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004636/20.63, allocations: 0.5515 MB / 5.471 GB, free: 36.84 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005176/20.63, allocations: 58.67 kB / 5.471 GB, free: 36.84 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001852/20.63, allocations: 1.514 MB / 5.473 GB, free: 35.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.217e-05/20.63, allocations: 8.062 kB / 5.473 GB, free: 35.8 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007079/20.64, allocations: 2.502 MB / 5.475 GB, free: 34.93 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001066/20.64, allocations: 295.7 kB / 5.476 GB, free: 34.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001004/20.64, allocations: 36.41 kB / 5.476 GB, free: 34.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003304/20.64, allocations: 112 kB / 5.476 GB, free: 34.73 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006313/20.64, allocations: 143.7 kB / 5.476 GB, free: 34.72 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000422/20.65, allocations: 113.5 kB / 5.476 GB, free: 34.72 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002452/20.65, allocations: 1.028 MB / 5.477 GB, free: 34.61 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7.21e-07/20.65, allocations: 0.6562 kB / 5.477 GB, free: 34.61 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01496/20.66, allocations: 3.08 MB / 5.48 GB, free: 34.55 MB / 0.5261 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.02274/20.69, allocations: 8.395 MB / 5.488 GB, free: 31.56 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01038/20.7, allocations: 3.782 MB / 5.492 GB, free: 30.9 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.49e-05/20.7, allocations: 3.406 kB / 5.492 GB, free: 30.9 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002759/20.7, allocations: 0.9039 MB / 5.493 GB, free: 30.89 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007554/20.71, allocations: 0.8472 MB / 5.494 GB, free: 30.86 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01591/20.72, allocations: 4.64 MB / 5.498 GB, free: 30.17 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001506/20.72, allocations: 1.654 MB / 5.5 GB, free: 29.44 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.008816/20.73, allocations: 1.171 MB / 5.501 GB, free: 29.38 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002547/20.74, allocations: 0.8452 MB / 5.502 GB, free: 29.38 MB / 0.5261 GB Notification: Performance of SimCode: time 1.553e-06/20.74, allocations: 0 / 5.502 GB, free: 29.38 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2735/21.01, allocations: 124.5 MB / 5.623 GB, free: 0.9766 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003036/21.01, allocations: 237.2 kB / 5.624 GB, free: 0.7031 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.379/30.39, allocations: 0 / 5.624 GB, free: 0.7031 MB / 0.5261 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