Running command: "" <> buildModelFMU(ModelicaTest.Math.TestMatrices,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Math_TestMatrices",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.308/2.308, allocations: 235 MB / 247.1 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.139e-05/3.149e-05, allocations: 0 / 305 MB, free: 5.086 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4089/0.409, allocations: 54.85 MB / 359.9 MB, free: 3.145 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1532/0.5622, allocations: 81.35 MB / 441.2 MB, free: 15.57 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002664/0.5625, allocations: 59.98 kB / 441.3 MB, free: 15.51 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01287/0.5754, allocations: 2.683 MB / 443.9 MB, free: 12.84 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.5755, allocations: 0 / 443.9 MB, free: 12.84 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.02e-06/0.5755, allocations: 4 kB / 443.9 MB, free: 12.84 MB / 378.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.0004463/0.576, allocations: 376.1 kB / 444.3 MB, free: 12.42 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.086e-05/0.576, allocations: 12.03 kB / 444.3 MB, free: 12.41 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.292e-05/0.5761, allocations: 34.56 kB / 444.4 MB, free: 12.37 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.314e-05/0.5761, allocations: 0 / 444.4 MB, free: 12.37 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001063/0.5762, allocations: 159.1 kB / 444.5 MB, free: 12.17 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/0.5762, allocations: 1.031 kB / 444.5 MB, free: 12.17 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.916e-05/0.5763, allocations: 13.3 kB / 444.5 MB, free: 12.16 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.224e-05/0.5764, allocations: 33.64 kB / 444.6 MB, free: 12.12 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.365e-06/0.5764, allocations: 4 kB / 444.6 MB, free: 12.12 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.765e-06/0.5764, allocations: 0 / 444.6 MB, free: 12.12 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.5764, allocations: 0 / 444.6 MB, free: 12.12 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.154e-05/0.5765, allocations: 4 kB / 444.6 MB, free: 12.11 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001516/0.5766, allocations: 141.7 kB / 444.7 MB, free: 11.93 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.551e-05/0.5767, allocations: 26.55 kB / 444.7 MB, free: 11.89 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.929e-05/0.5767, allocations: 8.797 kB / 444.7 MB, free: 11.88 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.777e-06/0.5767, allocations: 0 / 444.7 MB, free: 11.88 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.711e-05/0.5768, allocations: 65.53 kB / 444.8 MB, free: 11.8 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 1.713e-06/0.5768, allocations: 0 / 444.8 MB, free: 11.8 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.000179/0.577, allocations: 63.45 kB / 444.9 MB, free: 11.73 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.092e-05/0.5771, allocations: 77.11 kB / 444.9 MB, free: 11.63 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.165e-05/0.5771, allocations: 85 kB / 445 MB, free: 11.54 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.552e-05/0.5772, allocations: 25.7 kB / 445.1 MB, free: 11.51 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.923e-05/0.5772, allocations: 88.14 kB / 445.1 MB, free: 11.42 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.25e-05/0.5772, allocations: 8.016 kB / 445.1 MB, free: 11.41 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.006e-06/0.5773, allocations: 0 / 445.1 MB, free: 11.41 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001356/0.5774, allocations: 310.8 kB / 445.4 MB, free: 11.1 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.063e-05/0.5774, allocations: 0 / 445.4 MB, free: 11.1 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.169e-05/0.5774, allocations: 7.938 kB / 445.5 MB, free: 11.09 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.452e-05/0.5775, allocations: 29.69 kB / 445.5 MB, free: 11.06 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-06/0.5775, allocations: 0 / 445.5 MB, free: 11.06 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.444e-05/0.5776, allocations: 60.72 kB / 445.5 MB, free: 10.99 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.01e-05/0.5777, allocations: 29.8 kB / 445.6 MB, free: 10.95 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.5777, allocations: 4 kB / 445.6 MB, free: 10.95 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.5777, allocations: 3.953 kB / 445.6 MB, free: 10.95 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.593e-06/0.5777, allocations: 0 / 445.6 MB, free: 10.95 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.5777, allocations: 7.984 kB / 445.6 MB, free: 10.94 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.916e-05/0.5778, allocations: 1 kB / 445.6 MB, free: 10.94 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.426e-06/0.5778, allocations: 0 / 445.6 MB, free: 10.94 MB / 378.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.306e-05/0.5779, allocations: 132.8 kB / 445.7 MB, free: 10.8 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.648e-06/0.5779, allocations: 4 kB / 445.7 MB, free: 10.79 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.706e-05/0.5779, allocations: 7.125 kB / 445.7 MB, free: 10.79 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.5779, allocations: 0 / 445.7 MB, free: 10.79 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.578, allocations: 3.953 kB / 445.7 MB, free: 10.78 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.578, allocations: 0 / 445.7 MB, free: 10.78 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001111/0.5781, allocations: 150.3 kB / 445.9 MB, free: 10.59 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.5781, allocations: 0.9375 kB / 445.9 MB, free: 10.59 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.062e-06/0.5781, allocations: 0 / 445.9 MB, free: 10.59 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.549e-06/0.5781, allocations: 0 / 445.9 MB, free: 10.59 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.939e-06/0.5781, allocations: 3.938 kB / 445.9 MB, free: 10.58 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.5782, allocations: 3.938 kB / 445.9 MB, free: 10.58 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.5782, allocations: 0 / 445.9 MB, free: 10.58 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001223/0.5783, allocations: 100 kB / 446 MB, free: 10.46 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.307e-05/0.5784, allocations: 77.11 kB / 446.1 MB, free: 10.36 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.616e-05/0.5784, allocations: 1.75 kB / 446.1 MB, free: 10.36 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.454e-05/0.5784, allocations: 4 kB / 446.1 MB, free: 10.36 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.678e-05/0.5784, allocations: 0 / 446.1 MB, free: 10.36 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-06/0.5785, allocations: 0 / 446.1 MB, free: 10.36 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.95e-05/0.5785, allocations: 79.23 kB / 446.1 MB, free: 10.28 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.5785, allocations: 4.031 kB / 446.2 MB, free: 10.28 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004724/0.579, allocations: 83.92 kB / 446.2 MB, free: 10.2 MB / 378.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.0009316/0.5799, allocations: 0.7354 MB / 447 MB, free: 9.43 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 9.595e-05/0.5801, allocations: 55.41 kB / 447 MB, free: 9.363 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.5801, allocations: 1.688 kB / 447 MB, free: 9.363 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.786e-05/0.5801, allocations: 59.47 kB / 447.1 MB, free: 9.293 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.888e-05/0.5802, allocations: 10.09 kB / 447.1 MB, free: 9.285 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003471/0.5806, allocations: 118.5 kB / 447.2 MB, free: 9.133 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002808/0.5809, allocations: 0.6731 MB / 447.9 MB, free: 8.434 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.951e-06/0.5809, allocations: 0 / 447.9 MB, free: 8.434 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.531e-05/0.5809, allocations: 7.438 kB / 447.9 MB, free: 8.426 MB / 378.7 MB Notification: Performance of SimCode: time 6.82e-07/0.5809, allocations: 0 / 447.9 MB, free: 8.426 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02234/0.6033, allocations: 2.046 MB / 449.9 MB, free: 6.461 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002625/0.6036, allocations: 178.6 kB / 450.1 MB, free: 6.234 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.337/2.941, allocations: 3.938 kB / 450.1 MB, free: 6.23 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices_res.mat does not exist to compare? outputFormat=mat