Running command: "" <> buildModelFMU(ModelicaTest.Math.TestMatrices2b,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2b",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.698/2.698, allocations: 249.5 MB / 261.6 MB, free: 2.164 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 4.204e-05/4.21e-05, allocations: 7.938 kB / 323.5 MB, free: 4.234 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4389/0.439, allocations: 58.83 MB / 382.3 MB, free: 10.21 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1964/0.6354, allocations: 88.59 MB / 470.9 MB, free: 3.812 MB / 394.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003334/0.6358, allocations: 63.97 kB / 470.9 MB, free: 3.75 MB / 394.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.1358/0.7716, allocations: 25.66 MB / 496.6 MB, free: 10.05 MB / 426.8 MB Notification: Performance of FrontEnd: time 1.783e-06/0.7717, allocations: 0 / 496.6 MB, free: 10.05 MB / 426.8 MB Notification: Performance of Transformations before backend: time 6.052e-06/0.7717, allocations: 0 / 496.6 MB, free: 10.05 MB / 426.8 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.0008521/0.7726, allocations: 448 kB / 497 MB, free: 9.566 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.155e-05/0.7726, allocations: 8.031 kB / 497.1 MB, free: 9.559 MB / 426.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.524e-05/0.7727, allocations: 30.56 kB / 497.1 MB, free: 9.52 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.03e-05/0.7727, allocations: 7.953 kB / 497.1 MB, free: 9.512 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00012/0.7728, allocations: 159.1 kB / 497.2 MB, free: 9.316 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.298e-05/0.7729, allocations: 0 / 497.2 MB, free: 9.316 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.292e-05/0.7729, allocations: 0 / 497.2 MB, free: 9.316 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.088e-05/0.773, allocations: 33.7 kB / 497.3 MB, free: 9.277 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/0.773, allocations: 0 / 497.3 MB, free: 9.277 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.105e-06/0.773, allocations: 4 kB / 497.3 MB, free: 9.273 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.773, allocations: 0 / 497.3 MB, free: 9.273 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.316e-05/0.7731, allocations: 7.922 kB / 497.3 MB, free: 9.266 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001581/0.7732, allocations: 145.6 kB / 497.4 MB, free: 9.074 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 4.454e-05/0.7733, allocations: 18.61 kB / 497.4 MB, free: 9.047 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.274e-05/0.7733, allocations: 4.859 kB / 497.5 MB, free: 9.039 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 8.676e-06/0.7734, allocations: 0 / 497.5 MB, free: 9.039 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.178e-05/0.7734, allocations: 68.33 kB / 497.5 MB, free: 8.957 MB / 426.8 MB Notification: Performance of pre-optimization done (n=1): time 1.553e-06/0.7734, allocations: 0 / 497.5 MB, free: 8.957 MB / 426.8 MB Notification: Performance of matching and sorting (n=1): time 0.0001769/0.7736, allocations: 63.33 kB / 497.6 MB, free: 8.883 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.222e-05/0.7737, allocations: 81.11 kB / 497.7 MB, free: 8.785 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.163e-05/0.7737, allocations: 85 kB / 497.7 MB, free: 8.695 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 1.796e-05/0.7738, allocations: 25.7 kB / 497.8 MB, free: 8.664 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.918e-05/0.7738, allocations: 80.14 kB / 497.8 MB, free: 8.582 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.025e-05/0.7738, allocations: 0 / 497.8 MB, free: 8.582 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.805e-06/0.7738, allocations: 4.031 kB / 497.9 MB, free: 8.578 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0001221/0.774, allocations: 314.8 kB / 498.2 MB, free: 8.262 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.091e-05/0.774, allocations: 3.938 kB / 498.2 MB, free: 8.258 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.877e-06/0.774, allocations: 8 kB / 498.2 MB, free: 8.25 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.101e-05/0.7741, allocations: 25.7 kB / 498.2 MB, free: 8.219 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.7741, allocations: 0 / 498.2 MB, free: 8.219 MB / 426.8 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.18e-05/0.7742, allocations: 63.39 kB / 498.3 MB, free: 8.145 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.75e-05/0.7742, allocations: 33.64 kB / 498.3 MB, free: 8.105 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.7742, allocations: 96 / 498.3 MB, free: 8.105 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.7743, allocations: 7.984 kB / 498.3 MB, free: 8.098 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.553e-06/0.7743, allocations: 4 kB / 498.3 MB, free: 8.094 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.7743, allocations: 0 / 498.3 MB, free: 8.094 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.09e-05/0.7743, allocations: 0 / 498.3 MB, free: 8.094 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.173e-06/0.7743, allocations: 3.938 kB / 498.3 MB, free: 8.09 MB / 426.8 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.019e-05/0.7744, allocations: 138.6 kB / 498.4 MB, free: 7.941 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.187e-06/0.7745, allocations: 0 / 498.4 MB, free: 7.941 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.67e-05/0.7745, allocations: 3.125 kB / 498.4 MB, free: 7.934 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.786e-06/0.7745, allocations: 0 / 498.4 MB, free: 7.934 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.7745, allocations: 4 kB / 498.4 MB, free: 7.93 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.7745, allocations: 0 / 498.4 MB, free: 7.93 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001117/0.7747, allocations: 157.6 kB / 498.6 MB, free: 7.727 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.7747, allocations: 0 / 498.6 MB, free: 7.727 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.052e-06/0.7747, allocations: 0 / 498.6 MB, free: 7.727 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.053e-06/0.7747, allocations: 0 / 498.6 MB, free: 7.727 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.344e-06/0.7747, allocations: 0 / 498.6 MB, free: 7.727 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.7747, allocations: 4 kB / 498.6 MB, free: 7.723 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.7747, allocations: 0 / 498.6 MB, free: 7.723 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001193/0.7749, allocations: 98.78 kB / 498.7 MB, free: 7.602 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.852e-05/0.7749, allocations: 77.11 kB / 498.8 MB, free: 7.508 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.398e-05/0.7749, allocations: 0 / 498.8 MB, free: 7.508 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.425e-05/0.775, allocations: 4 kB / 498.8 MB, free: 7.504 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.839e-05/0.775, allocations: 0 / 498.8 MB, free: 7.504 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.378e-06/0.775, allocations: 0 / 498.8 MB, free: 7.504 MB / 426.8 MB Notification: Performance of sorting global known variables: time 3.254e-05/0.775, allocations: 79.22 kB / 498.9 MB, free: 7.426 MB / 426.8 MB Notification: Performance of sort global known variables: time 4.01e-07/0.775, allocations: 0 / 498.9 MB, free: 7.426 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0008706/0.7759, allocations: 159.8 kB / 499 MB, free: 7.27 MB / 426.8 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.001648/0.7776, allocations: 0.8766 MB / 499.9 MB, free: 6.379 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0001063/0.7777, allocations: 63.33 kB / 500 MB, free: 6.305 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.7777, allocations: 4.062 kB / 500 MB, free: 6.301 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 4.357e-05/0.7778, allocations: 59.41 kB / 0.4883 GB, free: 6.23 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001049/0.7779, allocations: 5.344 kB / 0.4883 GB, free: 6.227 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004679/0.7784, allocations: 134.5 kB / 0.4884 GB, free: 6.059 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000289/0.7787, allocations: 0.677 MB / 0.4891 GB, free: 5.355 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 7.024e-06/0.7787, allocations: 0 / 0.4891 GB, free: 5.355 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.852e-05/0.7787, allocations: 7.438 kB / 0.4891 GB, free: 5.348 MB / 426.8 MB Notification: Performance of SimCode: time 1.052e-06/0.7787, allocations: 0 / 0.4891 GB, free: 5.348 MB / 426.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0325/0.8113, allocations: 5.247 MB / 0.4942 GB, free: 164 kB / 426.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003518/0.8117, allocations: 175.6 kB / 0.4944 GB, free: 15.93 MB / 442.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.872/3.684, allocations: 0 / 0.4944 GB, free: 15.93 MB / 442.8 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b_res.mat does not exist to compare? outputFormat=mat