Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sources.TestSources,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_TestComponents_Sources_TestSources",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.474/2.474, allocations: 235.1 MB / 242.3 MB, free: 9.582 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.169e-05/2.161e-05, allocations: 0 / 299.6 MB, free: 196 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3645/0.3645, allocations: 54.84 MB / 354.4 MB, free: 15.2 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.73/12.09, allocations: 3.668 GB / 4.014 GB, free: 105.1 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003104/12.09, allocations: 89.31 kB / 4.014 GB, free: 105 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.296/21.39, allocations: 1.424 GB / 5.438 GB, free: 32.96 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.725e-06/21.39, allocations: 0 / 5.438 GB, free: 32.96 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0002869/21.39, allocations: 56.64 kB / 5.438 GB, free: 32.95 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.03361/21.42, allocations: 7.095 MB / 5.444 GB, free: 28.78 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.347e-05/21.42, allocations: 7.5 kB / 5.445 GB, free: 28.78 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0024/21.42, allocations: 277.8 kB / 5.445 GB, free: 28.66 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006365/21.43, allocations: 1.506 MB / 5.446 GB, free: 28.21 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001699/21.43, allocations: 73.72 kB / 5.446 GB, free: 28.2 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009484/21.43, allocations: 107 kB / 5.446 GB, free: 28.2 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009122/21.44, allocations: 2.851 MB / 5.449 GB, free: 28.19 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008023/21.45, allocations: 2.627 MB / 5.452 GB, free: 27.91 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.263e-05/21.45, allocations: 0 / 5.452 GB, free: 27.91 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004559/21.45, allocations: 9.906 kB / 5.452 GB, free: 27.91 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003415/21.45, allocations: 165.7 kB / 5.452 GB, free: 27.91 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03279/21.48, allocations: 11.84 MB / 5.463 GB, free: 20.39 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005216/21.49, allocations: 1.592 MB / 5.465 GB, free: 19.8 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001652/21.49, allocations: 0.6711 MB / 5.466 GB, free: 19.54 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003109/21.49, allocations: 2.542 MB / 5.468 GB, free: 16.91 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.213e-05/21.49, allocations: 50.91 kB / 5.468 GB, free: 16.86 MB / 0.5573 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001795/21.49, allocations: 157.9 kB / 5.468 GB, free: 16.78 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=139): time 6.853e-06/21.49, allocations: 3.938 kB / 5.468 GB, free: 16.77 MB / 0.5573 GB Notification: Performance of matching and sorting (n=139): time 0.009137/21.5, allocations: 1.95 MB / 5.47 GB, free: 15.62 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.312e-05/21.5, allocations: 203.9 kB / 5.47 GB, free: 15.38 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002409/21.5, allocations: 1.136 MB / 5.472 GB, free: 14.35 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0004865/21.51, allocations: 29.7 kB / 5.472 GB, free: 14.31 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008162/21.51, allocations: 1.034 MB / 5.473 GB, free: 13.37 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006229/21.51, allocations: 472.7 kB / 5.473 GB, free: 12.94 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002469/21.51, allocations: 8 kB / 5.473 GB, free: 12.93 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001595/21.51, allocations: 391.3 kB / 5.473 GB, free: 12.57 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002061/21.51, allocations: 0.7656 MB / 5.474 GB, free: 11.88 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002416/21.51, allocations: 1.442 MB / 5.476 GB, free: 10.23 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0276/21.54, allocations: 3.172 MB / 5.479 GB, free: 7.875 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-05/21.54, allocations: 8 kB / 5.479 GB, free: 7.867 MB / 0.5573 GB Notification: Performance of matching and sorting (n=275) (initialization): time 0.03325/21.57, allocations: 4.723 MB / 5.483 GB, free: 4.105 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.003004/21.58, allocations: 8.363 MB / 5.492 GB, free: 11.14 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-05/21.58, allocations: 27.84 kB / 5.492 GB, free: 11.11 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00155/21.58, allocations: 263.8 kB / 5.492 GB, free: 10.89 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004726/21.58, allocations: 0.4946 MB / 5.492 GB, free: 10.47 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004138/21.59, allocations: 1.646 MB / 5.494 GB, free: 8.895 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004362/21.59, allocations: 139.9 kB / 5.494 GB, free: 8.785 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008857/21.59, allocations: 169.9 kB / 5.494 GB, free: 8.641 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/21.59, allocations: 4.938 kB / 5.494 GB, free: 8.637 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03394/21.63, allocations: 4.299 MB / 5.498 GB, free: 5.262 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.482e-05/21.63, allocations: 24 kB / 5.498 GB, free: 5.238 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005039/21.63, allocations: 133.3 kB / 5.499 GB, free: 5.121 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005208/21.63, allocations: 0.5505 MB / 5.499 GB, free: 4.652 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002469/21.63, allocations: 1.326 MB / 5.5 GB, free: 3.352 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003869/21.64, allocations: 98.81 kB / 5.5 GB, free: 3.273 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000954/21.64, allocations: 167.1 kB / 5.501 GB, free: 3.129 MB / 0.573 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.000904/21.64, allocations: 168.7 kB / 5.501 GB, free: 2.957 MB / 0.573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01017/21.65, allocations: 1.924 MB / 5.503 GB, free: 1.32 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008293/21.65, allocations: 173.9 kB / 5.503 GB, free: 1.148 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.5525/22.2, allocations: 3.223 MB / 5.506 GB, free: 49.69 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.696e-05/22.2, allocations: 17.19 kB / 5.506 GB, free: 49.69 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-05/22.2, allocations: 0 / 5.506 GB, free: 49.69 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.443e-05/22.2, allocations: 8.812 kB / 5.506 GB, free: 49.69 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0196/22.22, allocations: 6.348 MB / 5.512 GB, free: 47.91 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.966e-05/22.22, allocations: 10.25 kB / 5.512 GB, free: 47.91 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002414/22.23, allocations: 278.2 kB / 5.512 GB, free: 47.91 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00134/22.23, allocations: 263.2 kB / 5.513 GB, free: 47.89 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003486/22.23, allocations: 43.48 kB / 5.513 GB, free: 47.89 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003433/22.23, allocations: 1.683 MB / 5.514 GB, free: 46.86 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.76e-05/22.23, allocations: 14 kB / 5.514 GB, free: 46.86 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01024/22.24, allocations: 3.048 MB / 5.517 GB, free: 45.58 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001022/22.24, allocations: 290.5 kB / 5.518 GB, free: 45.45 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000684/22.24, allocations: 15.17 kB / 5.518 GB, free: 45.45 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002705/22.25, allocations: 73.81 kB / 5.518 GB, free: 45.45 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004363/22.25, allocations: 145.9 kB / 5.518 GB, free: 45.44 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003447/22.25, allocations: 104.9 kB / 5.518 GB, free: 45.44 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.001909/22.25, allocations: 0.8546 MB / 5.519 GB, free: 45.33 MB / 0.573 GB Notification: Performance of sort global known variables: time 7.22e-07/22.25, allocations: 1.281 kB / 5.519 GB, free: 45.33 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.01378/22.26, allocations: 2.939 MB / 5.522 GB, free: 45.27 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.0277/22.29, allocations: 10.41 MB / 5.532 GB, free: 40.69 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01013/22.3, allocations: 3.622 MB / 5.535 GB, free: 40.03 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-05/22.3, allocations: 5.656 kB / 5.535 GB, free: 40.03 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.002773/22.3, allocations: 0.8339 MB / 5.536 GB, free: 40.03 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007834/22.31, allocations: 0.7454 MB / 5.537 GB, free: 40.01 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01757/22.33, allocations: 4.464 MB / 5.541 GB, free: 39.21 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001716/22.33, allocations: 1.643 MB / 5.543 GB, free: 38.47 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.008879/22.34, allocations: 1.063 MB / 5.544 GB, free: 38.43 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002675/22.34, allocations: 0.8283 MB / 5.545 GB, free: 38.43 MB / 0.573 GB Notification: Performance of SimCode: time 1.583e-06/22.34, allocations: 1.062 kB / 5.545 GB, free: 38.43 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2585/22.6, allocations: 97 MB / 5.639 GB, free: 32.59 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003206/22.6, allocations: 189 kB / 5.64 GB, free: 32.39 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 8.323/30.92, allocations: 3.188 kB / 5.64 GB, free: 32.39 MB / 0.573 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Fluid.TestComponents.Sources.TestSources_res.mat does not exist to compare? outputFormat=mat