Running command: "" <> buildModelFMU(ModelicaTest.FluxTubes.Sources,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Sources",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.659/2.659, allocations: 249.5 MB / 261.6 MB, free: 2.172 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 5.102e-05/5.111e-05, allocations: 4 kB / 323.5 MB, free: 4.227 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4521/0.4522, allocations: 58.83 MB / 382.3 MB, free: 10.23 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1786/0.6309, allocations: 87.77 MB / 470.1 MB, free: 4.648 MB / 394.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003019/0.6313, allocations: 71.91 kB / 470.1 MB, free: 4.578 MB / 394.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.06043/0.6917, allocations: 6.973 MB / 477.1 MB, free: 13.57 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.993e-06/0.6918, allocations: 0 / 477.1 MB, free: 13.57 MB / 410.8 MB Notification: Performance of Transformations before backend: time 1.873e-05/0.6918, allocations: 8 kB / 477.1 MB, free: 13.56 MB / 410.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001626/0.6934, allocations: 0.5841 MB / 477.7 MB, free: 12.93 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 6.344e-05/0.6935, allocations: 8.031 kB / 477.7 MB, free: 12.93 MB / 410.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001337/0.6937, allocations: 70.53 kB / 477.8 MB, free: 12.85 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001104/0.6938, allocations: 39.53 kB / 477.8 MB, free: 12.81 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005363/0.6943, allocations: 276.2 kB / 478.1 MB, free: 12.5 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.398e-05/0.6944, allocations: 24.78 kB / 478.1 MB, free: 12.47 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.757e-05/0.6945, allocations: 36 kB / 478.1 MB, free: 12.44 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008051/0.6953, allocations: 322.3 kB / 478.5 MB, free: 12.1 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.024e-05/0.6953, allocations: 4 kB / 478.5 MB, free: 12.1 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.314e-05/0.6954, allocations: 8 kB / 478.5 MB, free: 12.09 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.497e-05/0.6954, allocations: 8 kB / 478.5 MB, free: 12.08 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006335/0.6961, allocations: 216.6 kB / 478.7 MB, free: 11.87 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002927/0.699, allocations: 1.292 MB / 480 MB, free: 10.5 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005268/0.6996, allocations: 170.5 kB / 480.1 MB, free: 10.29 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001456/0.6997, allocations: 59.62 kB / 480.2 MB, free: 10.22 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 3.971e-05/0.6998, allocations: 4 kB / 480.2 MB, free: 10.22 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.143e-05/0.6998, allocations: 46.53 kB / 480.3 MB, free: 10.16 MB / 410.8 MB Notification: Performance of pre-optimization done (n=15): time 3.927e-06/0.6999, allocations: 0 / 480.3 MB, free: 10.16 MB / 410.8 MB Notification: Performance of matching and sorting (n=15): time 0.0005069/0.7004, allocations: 137.2 kB / 480.4 MB, free: 10.02 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.283e-05/0.7005, allocations: 132.5 kB / 480.5 MB, free: 9.863 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004744/0.701, allocations: 290.6 kB / 480.8 MB, free: 9.574 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 2.405e-05/0.701, allocations: 25.7 kB / 480.8 MB, free: 9.543 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002155/0.7012, allocations: 243.4 kB / 481.1 MB, free: 9.301 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 8.811e-05/0.7013, allocations: 55.19 kB / 481.1 MB, free: 9.246 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.203e-05/0.7014, allocations: 8 kB / 481.1 MB, free: 9.238 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 0.0001553/0.7015, allocations: 334.8 kB / 481.5 MB, free: 8.902 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001815/0.7017, allocations: 56.56 kB / 481.5 MB, free: 8.844 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002549/0.702, allocations: 143.9 kB / 481.6 MB, free: 8.664 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000226/0.7022, allocations: 67.97 kB / 481.7 MB, free: 8.598 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.7022, allocations: 0 / 481.7 MB, free: 8.598 MB / 410.8 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006622/0.7029, allocations: 249 kB / 482 MB, free: 8.348 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.47e-05/0.703, allocations: 8 kB / 482 MB, free: 8.34 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.148e-06/0.703, allocations: 0 / 482 MB, free: 8.34 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.539e-05/0.703, allocations: 8 kB / 482 MB, free: 8.332 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006739/0.7037, allocations: 84.14 kB / 482.1 MB, free: 8.25 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.015e-05/0.7037, allocations: 7.984 kB / 482.1 MB, free: 8.242 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004978/0.7042, allocations: 55.52 kB / 482.1 MB, free: 8.188 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.516e-05/0.7043, allocations: 12 kB / 482.1 MB, free: 8.176 MB / 410.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001171/0.7044, allocations: 116.9 kB / 482.2 MB, free: 8.055 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001382/0.7046, allocations: 35.58 kB / 482.3 MB, free: 8.02 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001206/0.7047, allocations: 38.39 kB / 482.3 MB, free: 7.977 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.955e-06/0.7047, allocations: 4 kB / 482.3 MB, free: 7.973 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.7047, allocations: 0 / 482.3 MB, free: 7.973 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.646e-06/0.7047, allocations: 4 kB / 482.3 MB, free: 7.969 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001226/0.706, allocations: 0.5876 MB / 482.9 MB, free: 7.309 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/0.706, allocations: 0 / 482.9 MB, free: 7.309 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003959/0.7064, allocations: 47.91 kB / 483 MB, free: 7.262 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.917e-06/0.7065, allocations: 0 / 483 MB, free: 7.262 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.031e-05/0.7065, allocations: 4 kB / 483 MB, free: 7.258 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.295e-06/0.7065, allocations: 4.188 kB / 483 MB, free: 7.254 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/0.7065, allocations: 4 kB / 483 MB, free: 7.25 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005354/0.7071, allocations: 426.5 kB / 483.4 MB, free: 6.766 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001263/0.7072, allocations: 108.8 kB / 483.5 MB, free: 6.641 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.919e-05/0.7073, allocations: 11.94 kB / 483.5 MB, free: 6.629 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004043/0.7077, allocations: 27.89 kB / 483.5 MB, free: 6.602 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.352e-05/0.7078, allocations: 23.94 kB / 483.6 MB, free: 6.578 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.788e-05/0.7078, allocations: 4 kB / 483.6 MB, free: 6.574 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.0003683/0.7082, allocations: 226.2 kB / 483.8 MB, free: 6.352 MB / 410.8 MB Notification: Performance of sort global known variables: time 6.51e-07/0.7082, allocations: 0 / 483.8 MB, free: 6.352 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.000602/0.7088, allocations: 71.84 kB / 483.8 MB, free: 6.281 MB / 410.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001094/0.7099, allocations: 1.361 MB / 485.2 MB, free: 4.855 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0004962/0.7105, allocations: 131.9 kB / 485.3 MB, free: 4.727 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.7105, allocations: 0.5 kB / 485.3 MB, free: 4.727 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001936/0.7107, allocations: 63.92 kB / 485.4 MB, free: 4.664 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004358/0.7111, allocations: 24.12 kB / 485.4 MB, free: 4.645 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001475/0.7126, allocations: 413.9 kB / 485.8 MB, free: 4.188 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004738/0.7131, allocations: 0.7794 MB / 486.6 MB, free: 3.383 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.0002215/0.7134, allocations: 18.08 kB / 486.6 MB, free: 3.367 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002224/0.7136, allocations: 103.4 kB / 486.7 MB, free: 3.266 MB / 410.8 MB Notification: Performance of SimCode: time 1.343e-06/0.7136, allocations: 4 kB / 486.7 MB, free: 3.262 MB / 410.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03044/0.7441, allocations: 4.443 MB / 491.2 MB, free: 14.89 MB / 426.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004052/0.7445, allocations: 138 kB / 491.3 MB, free: 14.66 MB / 426.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.854/3.598, allocations: 0 / 491.3 MB, free: 14.66 MB / 426.8 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources_res.mat does not exist to compare? outputFormat=mat