Running command: "" <> buildModelFMU(ModelicaTest.Math.TestMatrices,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Math_TestMatrices",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.661/2.661, allocations: 270 MB / 283.6 MB, free: 3.121 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 5.278e-05/5.297e-05, allocations: 7.938 kB / 348.5 MB, free: 10.7 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2133/0.2134, allocations: 61.88 MB / 410.3 MB, free: 12.89 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.576/0.7894, allocations: 87.45 MB / 497.8 MB, free: 496 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002562/0.7897, allocations: 63.97 kB / 497.9 MB, free: 432 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01366/0.8034, allocations: 2.751 MB / 0.4889 GB, free: 13.68 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.943e-06/0.8035, allocations: 0 / 0.4889 GB, free: 13.68 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.401e-06/0.8035, allocations: 0 / 0.4889 GB, free: 13.68 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004555/0.804, allocations: 390.5 kB / 0.4893 GB, free: 13.25 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.761e-05/0.804, allocations: 8.031 kB / 0.4893 GB, free: 13.24 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.781e-05/0.8041, allocations: 34.56 kB / 0.4893 GB, free: 13.2 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.312e-05/0.8041, allocations: 0 / 0.4893 GB, free: 13.2 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001119/0.8042, allocations: 171 kB / 0.4895 GB, free: 12.99 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/0.8043, allocations: 0 / 0.4895 GB, free: 12.99 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.427e-05/0.8043, allocations: 4 kB / 0.4895 GB, free: 12.99 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.28e-05/0.8044, allocations: 29.7 kB / 0.4895 GB, free: 12.95 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.204e-06/0.8044, allocations: 0 / 0.4895 GB, free: 12.95 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.326e-06/0.8044, allocations: 4 kB / 0.4895 GB, free: 12.95 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.8044, allocations: 0 / 0.4895 GB, free: 12.95 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.852e-05/0.8044, allocations: 0 / 0.4895 GB, free: 12.95 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001551/0.8046, allocations: 157.6 kB / 0.4896 GB, free: 12.75 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.972e-05/0.8047, allocations: 14.58 kB / 0.4897 GB, free: 12.72 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.983e-05/0.8047, allocations: 8.797 kB / 0.4897 GB, free: 12.71 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.622e-06/0.8047, allocations: 4.094 kB / 0.4897 GB, free: 12.71 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.166e-05/0.8048, allocations: 64.2 kB / 0.4897 GB, free: 12.63 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 1.643e-06/0.8048, allocations: 0 / 0.4897 GB, free: 12.63 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001742/0.805, allocations: 59.41 kB / 0.4898 GB, free: 12.56 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.282e-05/0.8051, allocations: 81.09 kB / 0.4899 GB, free: 12.46 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.845e-05/0.8051, allocations: 85 kB / 0.4899 GB, free: 12.37 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.237e-05/0.8052, allocations: 29.7 kB / 0.49 GB, free: 12.34 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.3e-05/0.8052, allocations: 80.14 kB / 0.4901 GB, free: 12.25 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.982e-05/0.8052, allocations: 0 / 0.4901 GB, free: 12.25 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.136e-06/0.8053, allocations: 4.031 kB / 0.4901 GB, free: 12.25 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001526/0.8054, allocations: 310.8 kB / 0.4904 GB, free: 11.94 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.028e-05/0.8054, allocations: 7.938 kB / 0.4904 GB, free: 11.93 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.074e-06/0.8055, allocations: 0 / 0.4904 GB, free: 11.93 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.212e-05/0.8055, allocations: 25.7 kB / 0.4904 GB, free: 11.9 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.8055, allocations: 0 / 0.4904 GB, free: 11.9 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.923e-05/0.8056, allocations: 71.28 kB / 0.4905 GB, free: 11.82 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.026e-05/0.8057, allocations: 33.7 kB / 0.4905 GB, free: 11.78 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.8057, allocations: 96 / 0.4905 GB, free: 11.78 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.8057, allocations: 4 kB / 0.4905 GB, free: 11.77 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.403e-06/0.8057, allocations: 0 / 0.4905 GB, free: 11.77 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.8057, allocations: 0 / 0.4905 GB, free: 11.77 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.947e-05/0.8058, allocations: 0 / 0.4905 GB, free: 11.77 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.403e-06/0.8058, allocations: 0 / 0.4905 GB, free: 11.77 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 9.49e-05/0.8059, allocations: 134.7 kB / 0.4906 GB, free: 11.63 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.202e-05/0.8059, allocations: 3.953 kB / 0.4906 GB, free: 11.62 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.089e-05/0.8059, allocations: 11.09 kB / 0.4906 GB, free: 11.61 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.8059, allocations: 0 / 0.4906 GB, free: 11.61 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.279e-06/0.806, allocations: 4 kB / 0.4906 GB, free: 11.61 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.806, allocations: 4 kB / 0.4906 GB, free: 11.6 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001084/0.8061, allocations: 141.7 kB / 0.4908 GB, free: 11.41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.8061, allocations: 0 / 0.4908 GB, free: 11.41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.152e-06/0.8061, allocations: 0 / 0.4908 GB, free: 11.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/0.8061, allocations: 3.953 kB / 0.4908 GB, free: 11.41 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.915e-06/0.8061, allocations: 0 / 0.4908 GB, free: 11.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.53e-06/0.8062, allocations: 4 kB / 0.4908 GB, free: 11.41 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/0.8062, allocations: 3.984 kB / 0.4908 GB, free: 11.4 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000121/0.8063, allocations: 90.78 kB / 0.4909 GB, free: 11.29 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.388e-05/0.8064, allocations: 81.11 kB / 0.4909 GB, free: 11.19 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.8064, allocations: 7.938 kB / 0.491 GB, free: 11.18 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.219e-05/0.8064, allocations: 0 / 0.491 GB, free: 11.18 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.605e-05/0.8064, allocations: 0 / 0.491 GB, free: 11.18 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.128e-06/0.8064, allocations: 0 / 0.491 GB, free: 11.18 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.787e-05/0.8065, allocations: 75.28 kB / 0.491 GB, free: 11.11 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.8065, allocations: 7.938 kB / 0.491 GB, free: 11.1 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005058/0.807, allocations: 87.89 kB / 0.4911 GB, free: 11.02 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 1 (result) * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0009952/0.808, allocations: 0.7454 MB / 0.4918 GB, free: 10.24 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 9.794e-05/0.8081, allocations: 55.41 kB / 0.4919 GB, free: 10.17 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.8082, allocations: 0 / 0.4919 GB, free: 10.17 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.666e-05/0.8082, allocations: 59.34 kB / 0.492 GB, free: 10.1 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001064/0.8083, allocations: 10.58 kB / 0.492 GB, free: 10.09 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003656/0.8087, allocations: 114.6 kB / 0.4921 GB, free: 9.945 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002815/0.809, allocations: 0.677 MB / 0.4927 GB, free: 9.242 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.795e-06/0.809, allocations: 4 kB / 0.4927 GB, free: 9.238 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.412e-05/0.809, allocations: 7.438 kB / 0.4927 GB, free: 9.23 MB / 410.7 MB Notification: Performance of SimCode: time 7.52e-07/0.8091, allocations: 0 / 0.4927 GB, free: 9.23 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02002/0.8291, allocations: 2.031 MB / 0.4947 GB, free: 7.277 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003221/0.8295, allocations: 173.3 kB / 0.4949 GB, free: 7.059 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.616/3.446, allocations: 3.938 kB / 0.4949 GB, free: 7.055 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices_res.mat does not exist to compare? outputFormat=mat