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.46/2.46, allocations: 235.1 MB / 242.2 MB, free: 15.84 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.907e-05/2.917e-05, allocations: 0 / 299.5 MB, free: 6.516 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4039/0.404, allocations: 54.86 MB / 354.3 MB, free: 14.08 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.44/11.84, allocations: 3.668 GB / 4.014 GB, free: 116.7 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003101/11.84, allocations: 89.06 kB / 4.014 GB, free: 116.7 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.779/20.62, allocations: 1.424 GB / 5.437 GB, free: 34.49 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.504e-06/20.62, allocations: 0 / 5.437 GB, free: 34.49 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0002626/20.62, allocations: 62.55 kB / 5.437 GB, free: 34.48 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.03425/20.66, allocations: 7.083 MB / 5.444 GB, free: 30.33 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.232e-05/20.66, allocations: 7.844 kB / 5.444 GB, free: 30.33 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002346/20.66, allocations: 278.2 kB / 5.445 GB, free: 30.21 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005963/20.67, allocations: 1.51 MB / 5.446 GB, free: 29.76 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000151/20.67, allocations: 68.64 kB / 5.446 GB, free: 29.75 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008169/20.67, allocations: 105.7 kB / 5.446 GB, free: 29.75 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008708/20.67, allocations: 2.861 MB / 5.449 GB, free: 29.74 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007771/20.68, allocations: 2.622 MB / 5.452 GB, free: 29.47 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.714e-05/20.68, allocations: 2.688 kB / 5.452 GB, free: 29.47 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004364/20.68, allocations: 3.375 kB / 5.452 GB, free: 29.47 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003208/20.68, allocations: 163.1 kB / 5.452 GB, free: 29.47 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03148/20.71, allocations: 11.83 MB / 5.463 GB, free: 23.56 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004961/20.72, allocations: 1.602 MB / 5.465 GB, free: 23.52 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001661/20.72, allocations: 0.6727 MB / 5.466 GB, free: 23.5 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002953/20.72, allocations: 2.538 MB / 5.468 GB, free: 20.96 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.422e-05/20.72, allocations: 54.97 kB / 5.468 GB, free: 20.92 MB / 0.5573 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001772/20.73, allocations: 162 kB / 5.468 GB, free: 20.85 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=139): time 5.28e-06/20.73, allocations: 0 / 5.468 GB, free: 20.85 MB / 0.5573 GB Notification: Performance of matching and sorting (n=139): time 0.00866/20.74, allocations: 1.949 MB / 5.47 GB, free: 20.68 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.224e-05/20.74, allocations: 195.8 kB / 5.47 GB, free: 20.46 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002271/20.74, allocations: 1.143 MB / 5.471 GB, free: 20.27 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0004936/20.74, allocations: 35.58 kB / 5.472 GB, free: 20.24 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008053/20.74, allocations: 1.02 MB / 5.473 GB, free: 19.72 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006734/20.74, allocations: 481.3 kB / 5.473 GB, free: 19.41 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002334/20.74, allocations: 3.344 kB / 5.473 GB, free: 19.41 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.00016/20.74, allocations: 390.3 kB / 5.473 GB, free: 19.11 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001945/20.74, allocations: 0.7754 MB / 5.474 GB, free: 19.09 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00235/20.74, allocations: 1.427 MB / 5.476 GB, free: 18.09 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02493/20.77, allocations: 3.183 MB / 5.479 GB, free: 17.48 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.654e-05/20.77, allocations: 6.812 kB / 5.479 GB, free: 17.48 MB / 0.5573 GB Notification: Performance of matching and sorting (n=275) (initialization): time 0.03112/20.8, allocations: 4.721 MB / 5.483 GB, free: 16.32 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.002021/20.8, allocations: 8.369 MB / 5.491 GB, free: 7.445 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.442e-05/20.8, allocations: 24.92 kB / 5.491 GB, free: 7.441 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001324/20.8, allocations: 265.3 kB / 5.492 GB, free: 7.371 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004143/20.81, allocations: 0.4975 MB / 5.492 GB, free: 7.32 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00336/20.81, allocations: 1.644 MB / 5.494 GB, free: 6.086 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00421/20.82, allocations: 137.8 kB / 5.494 GB, free: 6.055 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008798/20.82, allocations: 164.8 kB / 5.494 GB, free: 6.035 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/20.82, allocations: 6.625 kB / 5.494 GB, free: 6.035 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02911/20.85, allocations: 4.294 MB / 5.498 GB, free: 4.82 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.09e-05/20.85, allocations: 24.19 kB / 5.498 GB, free: 4.797 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004028/20.85, allocations: 143.4 kB / 5.498 GB, free: 4.672 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004422/20.85, allocations: 0.549 MB / 5.499 GB, free: 4.207 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001664/20.85, allocations: 1.322 MB / 5.5 GB, free: 2.906 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003554/20.86, allocations: 106.8 kB / 5.5 GB, free: 2.824 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007202/20.86, allocations: 162.4 kB / 5.501 GB, free: 2.684 MB / 0.5573 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.0008477/20.86, allocations: 172.2 kB / 5.501 GB, free: 2.508 MB / 0.5573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.008135/20.87, allocations: 1.908 MB / 5.503 GB, free: 0.8867 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006877/20.87, allocations: 177.8 kB / 5.503 GB, free: 0.7109 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01365/20.88, allocations: 3.034 MB / 5.506 GB, free: 14.26 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.309e-05/20.88, allocations: 24 kB / 5.506 GB, free: 14.23 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.332e-05/20.88, allocations: 4 kB / 5.506 GB, free: 14.23 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-05/20.88, allocations: 10.41 kB / 5.506 GB, free: 14.23 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02068/20.9, allocations: 6.34 MB / 5.512 GB, free: 8.645 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.307e-05/20.9, allocations: 8 kB / 5.512 GB, free: 8.637 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002559/20.9, allocations: 285.6 kB / 5.512 GB, free: 8.398 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00144/20.91, allocations: 263.9 kB / 5.512 GB, free: 8.184 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004738/20.91, allocations: 43.64 kB / 5.512 GB, free: 8.148 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003706/20.91, allocations: 1.683 MB / 5.514 GB, free: 6.547 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.238e-05/20.91, allocations: 15.94 kB / 5.514 GB, free: 6.531 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01055/20.92, allocations: 3.04 MB / 5.517 GB, free: 3.43 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001107/20.92, allocations: 296.2 kB / 5.517 GB, free: 3.145 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008208/20.92, allocations: 15.95 kB / 5.517 GB, free: 3.129 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002737/20.93, allocations: 73.47 kB / 5.517 GB, free: 3.074 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005448/20.93, allocations: 144.9 kB / 5.518 GB, free: 2.973 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003668/20.93, allocations: 105.7 kB / 5.518 GB, free: 2.879 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.002088/20.93, allocations: 0.8543 MB / 5.519 GB, free: 2.113 MB / 0.573 GB Notification: Performance of sort global known variables: time 8.82e-07/20.93, allocations: 0 / 5.519 GB, free: 2.113 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.5817/21.51, allocations: 3.032 MB / 5.521 GB, free: 50.16 MB / 0.573 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.02895/21.54, allocations: 10.39 MB / 5.532 GB, free: 45.73 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.009433/21.55, allocations: 3.622 MB / 5.535 GB, free: 45.07 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-05/21.55, allocations: 4.625 kB / 5.535 GB, free: 45.07 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.002523/21.55, allocations: 0.8343 MB / 5.536 GB, free: 45.07 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007267/21.56, allocations: 0.7516 MB / 5.537 GB, free: 45.05 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0181/21.58, allocations: 4.469 MB / 5.541 GB, free: 44.26 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002373/21.58, allocations: 1.649 MB / 5.543 GB, free: 43.52 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.009604/21.59, allocations: 1.061 MB / 5.544 GB, free: 43.48 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003014/21.59, allocations: 0.824 MB / 5.545 GB, free: 43.47 MB / 0.573 GB Notification: Performance of SimCode: time 2.194e-06/21.59, allocations: 0.9688 kB / 5.545 GB, free: 43.47 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2719/21.86, allocations: 96.99 MB / 5.639 GB, free: 37.54 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002599/21.86, allocations: 176.7 kB / 5.639 GB, free: 37.35 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.018/29.88, allocations: 7.562 kB / 5.639 GB, free: 37.34 MB / 0.573 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