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 1.941/1.941, allocations: 209.3 MB / 221.5 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.641e-05/3.66e-05, allocations: 8 kB / 273.2 MB, free: 152 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1089, allocations: 48.71 MB / 321.9 MB, free: 15.35 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.38/11.49, allocations: 3.662 GB / 3.976 GB, free: 19.47 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003075/11.49, allocations: 83.95 kB / 3.976 GB, free: 19.39 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.738/20.23, allocations: 1.427 GB / 5.403 GB, free: 23.23 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.697e-06/20.23, allocations: 0 / 5.403 GB, free: 23.23 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0003018/20.23, allocations: 59.94 kB / 5.403 GB, free: 23.22 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.03236/20.26, allocations: 7.089 MB / 5.41 GB, free: 19.05 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.957e-05/20.26, allocations: 11.59 kB / 5.41 GB, free: 19.05 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001346/20.26, allocations: 269.2 kB / 5.41 GB, free: 19 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002146/20.27, allocations: 281.7 kB / 5.411 GB, free: 18.88 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00569/20.27, allocations: 1.512 MB / 5.412 GB, free: 18.43 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002172/20.27, allocations: 139.7 kB / 5.412 GB, free: 18.42 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001019/20.27, allocations: 183 kB / 5.412 GB, free: 18.42 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008673/20.28, allocations: 2.887 MB / 5.415 GB, free: 18.14 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.772e-05/20.28, allocations: 3.938 kB / 5.415 GB, free: 18.13 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005285/20.28, allocations: 81.27 kB / 5.415 GB, free: 18.13 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003252/20.28, allocations: 167.5 kB / 5.416 GB, free: 18.12 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009573/20.29, allocations: 3.12 MB / 5.419 GB, free: 18.1 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03135/20.32, allocations: 10.89 MB / 5.429 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006026/20.33, allocations: 1.824 MB / 5.431 GB, free: 12.21 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002132/20.33, allocations: 0.7498 MB / 5.432 GB, free: 11.93 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003728/20.34, allocations: 3.494 MB / 5.435 GB, free: 8.246 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.776e-05/20.34, allocations: 55.72 kB / 5.435 GB, free: 8.188 MB / 0.5105 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001957/20.34, allocations: 209.8 kB / 5.435 GB, free: 8.066 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=150): time 5.801e-06/20.34, allocations: 0 / 5.435 GB, free: 8.066 MB / 0.5105 GB Notification: Performance of matching and sorting (n=150): time 0.005959/20.34, allocations: 1.782 MB / 5.437 GB, free: 7.395 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.764e-05/20.34, allocations: 196.6 kB / 5.437 GB, free: 7.176 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002811/20.35, allocations: 1.318 MB / 5.439 GB, free: 6.645 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0005916/20.35, allocations: 57.67 kB / 5.439 GB, free: 6.59 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008165/20.35, allocations: 0.9825 MB / 5.44 GB, free: 5.824 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008275/20.35, allocations: 0.5148 MB / 5.44 GB, free: 5.422 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000266/20.35, allocations: 47.84 kB / 5.44 GB, free: 5.387 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000163/20.35, allocations: 392 kB / 5.441 GB, free: 5.047 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00237/20.35, allocations: 0.7981 MB / 5.441 GB, free: 4.5 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00287/20.36, allocations: 1.48 MB / 5.443 GB, free: 2.809 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003069/20.36, allocations: 1.2 MB / 5.444 GB, free: 1.734 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.362e-05/20.36, allocations: 8 kB / 5.444 GB, free: 1.727 MB / 0.5105 GB Notification: Performance of matching and sorting (n=275) (initialization): time 0.01098/20.37, allocations: 2.993 MB / 5.447 GB, free: 15.37 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.003971/20.37, allocations: 8.447 MB / 5.455 GB, free: 6.398 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-05/20.37, allocations: 20.06 kB / 5.455 GB, free: 6.379 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005246/20.38, allocations: 0.6201 MB / 5.456 GB, free: 5.918 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004242/20.38, allocations: 0.4954 MB / 5.456 GB, free: 5.492 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002638/20.39, allocations: 1.509 MB / 5.458 GB, free: 4.012 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004201/20.39, allocations: 174.8 kB / 5.458 GB, free: 3.867 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009033/20.39, allocations: 160.7 kB / 5.458 GB, free: 3.727 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/20.39, allocations: 4.625 kB / 5.458 GB, free: 3.723 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009008/20.4, allocations: 2.596 MB / 5.461 GB, free: 1.375 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.324e-05/20.4, allocations: 20 kB / 5.461 GB, free: 1.355 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002202/20.4, allocations: 332 kB / 5.461 GB, free: 1.109 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004728/20.41, allocations: 0.5521 MB / 5.461 GB, free: 0.6406 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5526/20.96, allocations: 1.247 MB / 5.463 GB, free: 39.72 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003722/20.96, allocations: 152.1 kB / 5.463 GB, free: 39.72 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008115/20.96, allocations: 163.1 kB / 5.463 GB, free: 39.72 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.0009564/20.97, allocations: 243.9 kB / 5.463 GB, free: 39.62 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007269/20.97, allocations: 184.6 kB / 5.463 GB, free: 39.62 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01279/20.98, allocations: 3.117 MB / 5.466 GB, free: 39.44 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.114e-05/20.98, allocations: 18.86 kB / 5.466 GB, free: 39.44 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.189e-05/20.98, allocations: 2.031 kB / 5.466 GB, free: 39.44 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.199e-05/20.98, allocations: 7.266 kB / 5.466 GB, free: 39.44 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01628/21, allocations: 4.566 MB / 5.471 GB, free: 38.88 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.109e-05/21, allocations: 4.344 kB / 5.471 GB, free: 38.88 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002969/21, allocations: 306.4 kB / 5.471 GB, free: 38.88 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004833/21, allocations: 0.5597 MB / 5.472 GB, free: 38.86 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005869/21, allocations: 60.14 kB / 5.472 GB, free: 38.86 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002054/21.01, allocations: 1.51 MB / 5.473 GB, free: 37.82 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-05/21.01, allocations: 8.781 kB / 5.473 GB, free: 37.82 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007955/21.01, allocations: 2.5 MB / 5.476 GB, free: 36.95 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001149/21.02, allocations: 297 kB / 5.476 GB, free: 36.75 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00102/21.02, allocations: 35.59 kB / 5.476 GB, free: 36.75 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003049/21.02, allocations: 113 kB / 5.476 GB, free: 36.75 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006549/21.02, allocations: 136.7 kB / 5.476 GB, free: 36.75 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004416/21.02, allocations: 112.5 kB / 5.476 GB, free: 36.75 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.003076/21.02, allocations: 1.03 MB / 5.477 GB, free: 36.63 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8.72e-07/21.02, allocations: 0.625 kB / 5.477 GB, free: 36.63 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01559/21.04, allocations: 3.077 MB / 5.48 GB, free: 36.58 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.02408/21.06, allocations: 8.351 MB / 5.489 GB, free: 33.64 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01139/21.08, allocations: 3.861 MB / 5.492 GB, free: 32.98 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.707e-05/21.08, allocations: 3.969 kB / 5.492 GB, free: 32.98 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003256/21.08, allocations: 0.9243 MB / 5.493 GB, free: 32.96 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008036/21.09, allocations: 0.8472 MB / 5.494 GB, free: 32.93 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0189/21.11, allocations: 4.638 MB / 5.499 GB, free: 32.25 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002369/21.11, allocations: 1.652 MB / 5.5 GB, free: 31.52 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.009937/21.12, allocations: 1.174 MB / 5.501 GB, free: 31.46 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002779/21.12, allocations: 0.8454 MB / 5.502 GB, free: 31.46 MB / 0.5261 GB Notification: Performance of SimCode: time 1.453e-06/21.12, allocations: 1.031 kB / 5.502 GB, free: 31.46 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2768/21.4, allocations: 124.3 MB / 5.624 GB, free: 3.582 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002007/21.4, allocations: 234.6 kB / 5.624 GB, free: 3.312 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.276/30.67, allocations: 0 / 5.624 GB, free: 3.312 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