Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sources.TestSources,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Sources_TestSources",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.639/2.639, allocations: 249.5 MB / 261.6 MB, free: 2.164 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 4.901e-05/4.888e-05, allocations: 4 kB / 323.5 MB, free: 4.215 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4601/0.4602, allocations: 58.83 MB / 382.3 MB, free: 10.33 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.97/11.43, allocations: 3.612 GB / 3.986 GB, free: 134.3 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002446/11.43, allocations: 91.52 kB / 3.986 GB, free: 134.3 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 9.152/20.58, allocations: 1.441 GB / 5.427 GB, free: 33.21 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.883e-06/20.58, allocations: 0 / 5.427 GB, free: 33.21 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0002282/20.58, allocations: 59.27 kB / 5.427 GB, free: 33.21 MB / 0.5886 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.03412/20.62, allocations: 7.103 MB / 5.434 GB, free: 29.96 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.831e-05/20.62, allocations: 10.09 kB / 5.434 GB, free: 29.96 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001175/20.62, allocations: 267.1 kB / 5.434 GB, free: 29.91 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00334/20.62, allocations: 279.4 kB / 5.435 GB, free: 29.79 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00896/20.63, allocations: 1.432 MB / 5.436 GB, free: 29.4 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004257/20.63, allocations: 145.4 kB / 5.436 GB, free: 29.4 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001541/20.63, allocations: 179.8 kB / 5.436 GB, free: 29.4 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01233/20.64, allocations: 2.904 MB / 5.439 GB, free: 29.12 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.602e-05/20.64, allocations: 1.5 kB / 5.439 GB, free: 29.12 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006253/20.64, allocations: 80.56 kB / 5.439 GB, free: 29.12 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004171/20.64, allocations: 162.5 kB / 5.439 GB, free: 29.11 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02424/20.67, allocations: 3.104 MB / 5.442 GB, free: 29.11 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05456/20.72, allocations: 11.27 MB / 5.453 GB, free: 24.68 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007659/20.73, allocations: 2.257 MB / 5.456 GB, free: 24.66 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002971/20.73, allocations: 0.9688 MB / 5.457 GB, free: 24.65 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003734/20.74, allocations: 3.398 MB / 5.46 GB, free: 21.08 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.315e-05/20.74, allocations: 62.84 kB / 5.46 GB, free: 21.04 MB / 0.5886 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002677/20.74, allocations: 274.8 kB / 5.46 GB, free: 20.93 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=156): time 1.133e-05/20.74, allocations: 1.531 kB / 5.46 GB, free: 20.93 MB / 0.5886 GB Notification: Performance of matching and sorting (n=156): time 0.007722/20.75, allocations: 2.26 MB / 5.462 GB, free: 20.75 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.486e-05/20.75, allocations: 195.6 kB / 5.463 GB, free: 20.53 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00396/20.75, allocations: 1.671 MB / 5.464 GB, free: 20.29 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0007564/20.75, allocations: 67.8 kB / 5.464 GB, free: 20.25 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009327/20.75, allocations: 0.8945 MB / 5.465 GB, free: 19.91 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009397/20.76, allocations: 0.5281 MB / 5.466 GB, free: 19.57 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003304/20.76, allocations: 43.84 kB / 5.466 GB, free: 19.57 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001597/20.76, allocations: 384.1 kB / 5.466 GB, free: 19.27 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002925/20.76, allocations: 0.9963 MB / 5.467 GB, free: 19.27 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003587/20.76, allocations: 1.384 MB / 5.468 GB, free: 18.86 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003651/20.77, allocations: 1.335 MB / 5.47 GB, free: 18.68 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.035e-05/20.77, allocations: 3.875 kB / 5.47 GB, free: 18.68 MB / 0.5886 GB Notification: Performance of matching and sorting (n=248) (initialization): time 0.01022/20.78, allocations: 3.128 MB / 5.473 GB, free: 18.34 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.001071/20.78, allocations: 4.115 MB / 5.477 GB, free: 14.03 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.742e-05/20.78, allocations: 10.38 kB / 5.477 GB, free: 14.03 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006328/20.78, allocations: 0.7044 MB / 5.477 GB, free: 14.01 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004361/20.79, allocations: 461.7 kB / 5.478 GB, free: 14.01 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002575/20.79, allocations: 1.635 MB / 5.479 GB, free: 12.96 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004635/20.8, allocations: 155 kB / 5.48 GB, free: 12.95 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001002/20.8, allocations: 149.7 kB / 5.48 GB, free: 12.95 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/20.8, allocations: 3.344 kB / 5.48 GB, free: 12.95 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009405/20.81, allocations: 2.797 MB / 5.483 GB, free: 12.72 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-05/20.81, allocations: 11.86 kB / 5.483 GB, free: 12.72 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00246/20.81, allocations: 351.1 kB / 5.483 GB, free: 12.7 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004903/20.81, allocations: 0.5018 MB / 5.483 GB, free: 12.7 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002037/20.82, allocations: 1.321 MB / 5.485 GB, free: 27.67 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004317/20.82, allocations: 140.8 kB / 5.485 GB, free: 27.66 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001016/20.82, allocations: 146.3 kB / 5.485 GB, free: 27.66 MB / 0.6043 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * 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 (235): * Single equations (assignments): 228 * 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.001081/20.82, allocations: 226.6 kB / 5.485 GB, free: 27.54 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008271/20.82, allocations: 216.5 kB / 5.485 GB, free: 27.44 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01222/20.84, allocations: 3.628 MB / 5.489 GB, free: 27.18 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.741e-05/20.84, allocations: 21.81 kB / 5.489 GB, free: 27.18 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.225e-05/20.84, allocations: 0 / 5.489 GB, free: 27.18 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.277e-05/20.84, allocations: 15.77 kB / 5.489 GB, free: 27.18 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01778/20.85, allocations: 5.444 MB / 5.494 GB, free: 26.54 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.009e-05/20.85, allocations: 5.438 kB / 5.494 GB, free: 26.54 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00306/20.86, allocations: 320.7 kB / 5.495 GB, free: 26.54 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005781/20.86, allocations: 0.652 MB / 5.495 GB, free: 26.52 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006459/20.86, allocations: 68.92 kB / 5.495 GB, free: 26.52 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002429/20.87, allocations: 1.632 MB / 5.497 GB, free: 25.47 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.063e-05/20.87, allocations: 6.625 kB / 5.497 GB, free: 25.47 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008589/20.87, allocations: 3.093 MB / 5.5 GB, free: 24.45 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001454/20.88, allocations: 354 kB / 5.5 GB, free: 24.23 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001342/20.88, allocations: 40.09 kB / 5.5 GB, free: 24.23 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004218/20.88, allocations: 123.7 kB / 5.5 GB, free: 24.23 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007292/20.88, allocations: 139 kB / 5.501 GB, free: 24.22 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005108/20.88, allocations: 135.2 kB / 5.501 GB, free: 24.22 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 0.003491/20.89, allocations: 1.366 MB / 5.502 GB, free: 24.06 MB / 0.6043 GB Notification: Performance of sort global known variables: time 1.353e-06/20.89, allocations: 2.594 kB / 5.502 GB, free: 24.06 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.01632/20.9, allocations: 3.094 MB / 5.505 GB, free: 23.46 MB / 0.6043 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (165): * Single equations (assignments): 162 * 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.02536/20.93, allocations: 9.084 MB / 5.514 GB, free: 19.69 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 0.01281/20.94, allocations: 4.329 MB / 5.518 GB, free: 19.03 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 2.002e-05/20.94, allocations: 3.828 kB / 5.518 GB, free: 19.03 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 0.003661/20.94, allocations: 1.128 MB / 5.519 GB, free: 19.03 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01142/20.96, allocations: 1.217 MB / 5.52 GB, free: 18.98 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01834/20.97, allocations: 4.703 MB / 5.525 GB, free: 17.72 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0021/20.98, allocations: 1.658 MB / 5.527 GB, free: 16.98 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 0.01058/20.99, allocations: 1.301 MB / 5.528 GB, free: 16.92 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002841/20.99, allocations: 0.8747 MB / 5.529 GB, free: 16.91 MB / 0.6043 GB Notification: Performance of SimCode: time 2.024e-06/20.99, allocations: 0 / 5.529 GB, free: 16.91 MB / 0.6043 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9276/21.92, allocations: 138.8 MB / 5.664 GB, free: 73.17 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002443/21.92, allocations: 225.3 kB / 5.664 GB, free: 72.91 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.893/31.81, allocations: 0 / 5.664 GB, free: 72.91 MB / 0.6355 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sources.TestSources_res.mat does not exist to compare? outputFormat=mat