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.016/2.016, allocations: 209.3 MB / 221.9 MB, free: 1.926 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.514e-05/4.517e-05, allocations: 4 kB / 273.2 MB, free: 0.6289 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.1213, allocations: 48.7 MB / 321.9 MB, free: 15.83 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.33/11.45, allocations: 3.662 GB / 3.976 GB, free: 20.59 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002903/11.45, allocations: 83.95 kB / 3.976 GB, free: 20.51 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.034/20.48, allocations: 1.427 GB / 5.403 GB, free: 23.7 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.144e-06/20.48, allocations: 0 / 5.403 GB, free: 23.7 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0002501/20.48, allocations: 60.88 kB / 5.403 GB, free: 23.69 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.03451/20.52, allocations: 7.084 MB / 5.41 GB, free: 19.52 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.778e-05/20.52, allocations: 14.81 kB / 5.41 GB, free: 19.52 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001301/20.52, allocations: 272.9 kB / 5.41 GB, free: 19.47 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00205/20.52, allocations: 282.6 kB / 5.411 GB, free: 19.34 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006012/20.53, allocations: 1.501 MB / 5.412 GB, free: 18.89 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002672/20.53, allocations: 146.5 kB / 5.412 GB, free: 18.89 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009268/20.53, allocations: 181.3 kB / 5.412 GB, free: 18.89 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00846/20.54, allocations: 2.866 MB / 5.415 GB, free: 18.61 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.948e-05/20.54, allocations: 11.11 kB / 5.415 GB, free: 18.61 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005014/20.54, allocations: 79.56 kB / 5.415 GB, free: 18.61 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003078/20.54, allocations: 162 kB / 5.416 GB, free: 18.6 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009271/20.55, allocations: 3.092 MB / 5.419 GB, free: 18.59 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03472/20.58, allocations: 10.9 MB / 5.429 GB, free: 13.49 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006322/20.59, allocations: 1.802 MB / 5.431 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002186/20.59, allocations: 0.7481 MB / 5.432 GB, free: 12.55 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003888/20.59, allocations: 3.488 MB / 5.435 GB, free: 8.875 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.239e-05/20.59, allocations: 54.44 kB / 5.435 GB, free: 8.82 MB / 0.5105 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002175/20.6, allocations: 209.7 kB / 5.435 GB, free: 8.703 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=150): time 7.434e-06/20.6, allocations: 0 / 5.435 GB, free: 8.703 MB / 0.5105 GB Notification: Performance of matching and sorting (n=150): time 0.00628/20.6, allocations: 1.785 MB / 5.437 GB, free: 8.027 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.405e-05/20.6, allocations: 201.4 kB / 5.437 GB, free: 7.805 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002913/20.61, allocations: 1.309 MB / 5.439 GB, free: 7.273 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0006133/20.61, allocations: 65.36 kB / 5.439 GB, free: 7.219 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008004/20.61, allocations: 0.9494 MB / 5.44 GB, free: 6.422 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.000892/20.61, allocations: 0.5087 MB / 5.44 GB, free: 6.023 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002918/20.61, allocations: 49.91 kB / 5.44 GB, free: 5.988 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001727/20.61, allocations: 393.9 kB / 5.44 GB, free: 5.641 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002401/20.61, allocations: 0.7979 MB / 5.441 GB, free: 5.02 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003082/20.61, allocations: 1.471 MB / 5.443 GB, free: 3.34 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003229/20.62, allocations: 1.189 MB / 5.444 GB, free: 2.273 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.728e-05/20.62, allocations: 8 kB / 5.444 GB, free: 2.266 MB / 0.5105 GB Notification: Performance of matching and sorting (n=275) (initialization): time 0.009616/20.63, allocations: 2.789 MB / 5.447 GB, free: 15.92 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.003709/20.63, allocations: 8.331 MB / 5.455 GB, free: 6.938 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.73e-05/20.63, allocations: 20 kB / 5.455 GB, free: 6.918 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005395/20.64, allocations: 0.6109 MB / 5.455 GB, free: 6.465 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00435/20.64, allocations: 0.4991 MB / 5.456 GB, free: 6.039 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002583/20.64, allocations: 1.501 MB / 5.457 GB, free: 4.57 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004597/20.65, allocations: 170.2 kB / 5.457 GB, free: 4.43 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001031/20.65, allocations: 159.7 kB / 5.458 GB, free: 4.289 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/20.65, allocations: 4 kB / 5.458 GB, free: 4.285 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008716/20.66, allocations: 2.54 MB / 5.46 GB, free: 1.996 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.554e-05/20.66, allocations: 22.3 kB / 5.46 GB, free: 1.977 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002231/20.66, allocations: 329.2 kB / 5.46 GB, free: 1.734 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004791/20.67, allocations: 0.5516 MB / 5.461 GB, free: 1.266 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001493/20.67, allocations: 1.262 MB / 5.462 GB, free: 0 / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.5005/21.17, allocations: 142.1 kB / 5.462 GB, free: 40.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009368/21.17, allocations: 162.3 kB / 5.462 GB, free: 40.4 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.0009254/21.17, allocations: 245.2 kB / 5.463 GB, free: 40.29 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007207/21.17, allocations: 186.8 kB / 5.463 GB, free: 40.29 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01223/21.18, allocations: 3.121 MB / 5.466 GB, free: 40.11 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.212e-05/21.18, allocations: 20.38 kB / 5.466 GB, free: 40.11 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.083e-05/21.18, allocations: 1.281 kB / 5.466 GB, free: 40.11 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.007e-05/21.18, allocations: 10.3 kB / 5.466 GB, free: 40.11 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01645/21.2, allocations: 4.541 MB / 5.47 GB, free: 39.55 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.084e-05/21.2, allocations: 9.125 kB / 5.47 GB, free: 39.55 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003006/21.2, allocations: 310.7 kB / 5.471 GB, free: 39.55 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005033/21.21, allocations: 0.5518 MB / 5.471 GB, free: 39.54 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006068/21.21, allocations: 55.91 kB / 5.471 GB, free: 39.54 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002014/21.21, allocations: 1.509 MB / 5.473 GB, free: 38.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.595e-05/21.21, allocations: 14.03 kB / 5.473 GB, free: 38.5 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007552/21.22, allocations: 2.5 MB / 5.475 GB, free: 37.64 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001167/21.22, allocations: 297.3 kB / 5.475 GB, free: 37.44 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00115/21.22, allocations: 40.23 kB / 5.476 GB, free: 37.44 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003288/21.22, allocations: 108.8 kB / 5.476 GB, free: 37.43 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007153/21.22, allocations: 133 kB / 5.476 GB, free: 37.43 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004362/21.22, allocations: 116.1 kB / 5.476 GB, free: 37.43 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.003241/21.23, allocations: 1.025 MB / 5.477 GB, free: 37.31 MB / 0.5261 GB Notification: Performance of sort global known variables: time 9.61e-07/21.23, allocations: 0 / 5.477 GB, free: 37.31 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01576/21.24, allocations: 3.083 MB / 5.48 GB, free: 37.26 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.02357/21.27, allocations: 8.396 MB / 5.488 GB, free: 34.28 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0107/21.28, allocations: 3.738 MB / 5.492 GB, free: 33.62 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.772e-05/21.28, allocations: 2.594 kB / 5.492 GB, free: 33.62 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003087/21.28, allocations: 0.9004 MB / 5.493 GB, free: 33.62 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008084/21.29, allocations: 0.8579 MB / 5.493 GB, free: 33.59 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01808/21.31, allocations: 4.735 MB / 5.498 GB, free: 32.86 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001582/21.31, allocations: 1.648 MB / 5.5 GB, free: 32.13 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002962/21.31, allocations: 0.8988 MB / 5.501 GB, free: 32.12 MB / 0.5261 GB Notification: Performance of SimCode: time 2.224e-06/21.31, allocations: 0 / 5.501 GB, free: 32.12 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.813/26.13, allocations: 91.02 MB / 5.589 GB, free: 25.25 MB / 0.5261 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