Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sources.TestSources,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Sources_TestSources",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.096/2.096, allocations: 209.4 MB / 216.9 MB, free: 6.664 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.441e-05/2.449e-05, allocations: 0 / 267.6 MB, free: 5.312 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1314/0.1315, allocations: 48.69 MB / 316.3 MB, free: 4.523 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.27/11.4, allocations: 3.661 GB / 3.97 GB, free: 87.75 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002998/11.4, allocations: 82.88 kB / 3.97 GB, free: 87.7 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.142/20.54, allocations: 1.414 GB / 5.384 GB, free: 28.49 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.695e-06/20.54, allocations: 0 / 5.384 GB, free: 28.49 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.000302/20.54, allocations: 56.58 kB / 5.384 GB, free: 28.48 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.03492/20.58, allocations: 7.095 MB / 5.391 GB, free: 24.71 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.569e-05/20.58, allocations: 12.41 kB / 5.391 GB, free: 24.71 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002498/20.58, allocations: 275.9 kB / 5.392 GB, free: 24.59 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006187/20.59, allocations: 1.513 MB / 5.393 GB, free: 24.18 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002091/20.59, allocations: 58.59 kB / 5.393 GB, free: 24.18 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001083/20.59, allocations: 112 kB / 5.393 GB, free: 24.18 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008484/20.6, allocations: 2.86 MB / 5.396 GB, free: 24.18 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008833/20.61, allocations: 2.625 MB / 5.399 GB, free: 23.91 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.955e-05/20.61, allocations: 0 / 5.399 GB, free: 23.91 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000474/20.61, allocations: 10.03 kB / 5.399 GB, free: 23.91 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003555/20.61, allocations: 157.5 kB / 5.399 GB, free: 23.91 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03472/20.64, allocations: 11.47 MB / 5.41 GB, free: 18.51 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005509/20.65, allocations: 1.599 MB / 5.412 GB, free: 18.48 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001838/20.65, allocations: 0.6739 MB / 5.412 GB, free: 18.46 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003117/20.65, allocations: 2.537 MB / 5.415 GB, free: 15.93 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.026e-05/20.65, allocations: 63.38 kB / 5.415 GB, free: 15.89 MB / 0.5105 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001959/20.66, allocations: 160.8 kB / 5.415 GB, free: 15.82 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=139): time 6.532e-06/20.66, allocations: 0 / 5.415 GB, free: 15.82 MB / 0.5105 GB Notification: Performance of matching and sorting (n=139): time 0.009292/20.67, allocations: 1.953 MB / 5.417 GB, free: 15.65 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.538e-05/20.67, allocations: 195.6 kB / 5.417 GB, free: 15.43 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002434/20.67, allocations: 1.143 MB / 5.418 GB, free: 15.24 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0006035/20.67, allocations: 35.64 kB / 5.418 GB, free: 15.21 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007927/20.67, allocations: 1.003 MB / 5.419 GB, free: 14.62 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008421/20.67, allocations: 472.9 kB / 5.42 GB, free: 14.32 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002774/20.67, allocations: 4.625 kB / 5.42 GB, free: 14.32 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001729/20.67, allocations: 397.2 kB / 5.42 GB, free: 14 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002103/20.67, allocations: 0.7647 MB / 5.421 GB, free: 14 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002786/20.68, allocations: 1.438 MB / 5.422 GB, free: 13.19 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02535/20.7, allocations: 3.186 MB / 5.425 GB, free: 13.16 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.796e-05/20.7, allocations: 5.344 kB / 5.425 GB, free: 13.16 MB / 0.5105 GB Notification: Performance of matching and sorting (n=275) (initialization): time 0.03099/20.73, allocations: 4.634 MB / 5.43 GB, free: 13.02 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.003082/20.74, allocations: 8.331 MB / 5.438 GB, free: 20.35 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001061/20.74, allocations: 20.22 kB / 5.438 GB, free: 20.35 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00136/20.74, allocations: 264.1 kB / 5.438 GB, free: 20.33 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004156/20.74, allocations: 0.4983 MB / 5.439 GB, free: 20.33 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003814/20.74, allocations: 1.642 MB / 5.44 GB, free: 19.29 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004219/20.75, allocations: 134.8 kB / 5.44 GB, free: 19.27 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009228/20.75, allocations: 163.3 kB / 5.441 GB, free: 19.27 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/20.75, allocations: 3.594 kB / 5.441 GB, free: 19.27 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02941/20.78, allocations: 4.3 MB / 5.445 GB, free: 19.21 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001046/20.78, allocations: 21.28 kB / 5.445 GB, free: 19.21 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004015/20.78, allocations: 138.2 kB / 5.445 GB, free: 19.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004548/20.78, allocations: 0.5485 MB / 5.445 GB, free: 19.19 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002028/20.79, allocations: 1.323 MB / 5.447 GB, free: 18.14 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003218/20.79, allocations: 111.8 kB / 5.447 GB, free: 18.12 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007389/20.79, allocations: 159.6 kB / 5.447 GB, free: 18.12 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.0009858/20.79, allocations: 172.9 kB / 5.447 GB, free: 17.98 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.008824/20.8, allocations: 1.915 MB / 5.449 GB, free: 17.81 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007788/20.8, allocations: 173.5 kB / 5.449 GB, free: 17.72 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01274/20.81, allocations: 3.024 MB / 5.452 GB, free: 17.48 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.008e-05/20.81, allocations: 15.84 kB / 5.452 GB, free: 17.48 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-05/20.81, allocations: 0 / 5.452 GB, free: 17.48 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-05/20.81, allocations: 14.39 kB / 5.452 GB, free: 17.48 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02001/20.83, allocations: 6.345 MB / 5.458 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.086e-05/20.83, allocations: 6.156 kB / 5.458 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002579/20.84, allocations: 282.8 kB / 5.459 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001434/20.84, allocations: 272.1 kB / 5.459 GB, free: 15.56 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006208/20.84, allocations: 41.94 kB / 5.459 GB, free: 15.56 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004085/20.84, allocations: 1.682 MB / 5.461 GB, free: 14.51 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.852e-05/20.84, allocations: 15.67 kB / 5.461 GB, free: 14.51 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01066/20.85, allocations: 3.043 MB / 5.464 GB, free: 13.12 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00116/20.86, allocations: 300 kB / 5.464 GB, free: 12.92 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001141/20.86, allocations: 20.91 kB / 5.464 GB, free: 12.92 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00312/20.86, allocations: 72.3 kB / 5.464 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006677/20.86, allocations: 139.4 kB / 5.464 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003654/20.86, allocations: 111.2 kB / 5.464 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002064/20.86, allocations: 0.854 MB / 5.465 GB, free: 12.78 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.042e-06/20.86, allocations: 0 / 5.465 GB, free: 12.78 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01517/20.88, allocations: 2.935 MB / 5.468 GB, free: 12.11 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.02872/20.91, allocations: 10.39 MB / 5.478 GB, free: 6.906 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.009111/20.92, allocations: 3.583 MB / 5.482 GB, free: 6.125 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.977e-05/20.92, allocations: 4.031 kB / 5.482 GB, free: 6.121 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002302/20.92, allocations: 0.836 MB / 5.482 GB, free: 6.078 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007006/20.93, allocations: 0.7434 MB / 5.483 GB, free: 6.047 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02213/20.95, allocations: 4.564 MB / 5.488 GB, free: 4.551 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002809/20.95, allocations: 1.642 MB / 5.489 GB, free: 3.816 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003815/20.95, allocations: 0.8768 MB / 5.49 GB, free: 3.812 MB / 0.5261 GB Notification: Performance of SimCode: time 1.684e-06/20.95, allocations: 0 / 5.49 GB, free: 3.812 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.309/26.26, allocations: 89.52 MB / 5.577 GB, free: 53.93 MB / 0.5417 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Sources.TestSources_res.mat does not exist to compare? outputFormat=mat