Running command: "" <> buildModelFMU(ModelicaTest.Math.TestMatrices2b,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Math_TestMatrices2b",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.346/2.346, allocations: 235 MB / 247.1 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.157e-05/4.176e-05, allocations: 4 kB / 305 MB, free: 5.086 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4223/0.4224, allocations: 54.85 MB / 359.9 MB, free: 3.152 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1569/0.5793, allocations: 83.69 MB / 443.5 MB, free: 13.23 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002463/0.5796, allocations: 63.97 kB / 443.6 MB, free: 13.17 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1376/0.7173, allocations: 25.63 MB / 469.2 MB, free: 3.539 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.784e-06/0.7173, allocations: 0 / 469.2 MB, free: 3.539 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.68e-06/0.7174, allocations: 0 / 469.2 MB, free: 3.539 MB / 394.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.0007673/0.7181, allocations: 436 kB / 469.7 MB, free: 3.062 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.926e-05/0.7182, allocations: 12.03 kB / 469.7 MB, free: 3.051 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.922e-05/0.7183, allocations: 30.56 kB / 469.7 MB, free: 3.012 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.752e-05/0.7183, allocations: 1.031 kB / 469.7 MB, free: 3.012 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.615e-05/0.7184, allocations: 163 kB / 469.9 MB, free: 2.812 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.272e-05/0.7184, allocations: 0 / 469.9 MB, free: 2.812 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.67e-05/0.7185, allocations: 8 kB / 469.9 MB, free: 2.805 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.493e-05/0.7186, allocations: 29.69 kB / 469.9 MB, free: 2.77 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.7186, allocations: 3.953 kB / 469.9 MB, free: 2.766 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.7186, allocations: 4 kB / 469.9 MB, free: 2.762 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.7186, allocations: 7.938 kB / 469.9 MB, free: 2.754 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.149e-05/0.7187, allocations: 4 kB / 469.9 MB, free: 2.75 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001478/0.7188, allocations: 141.7 kB / 470.1 MB, free: 2.562 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.318e-05/0.7189, allocations: 18.61 kB / 470.1 MB, free: 2.535 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.734e-05/0.7189, allocations: 6.172 kB / 470.1 MB, free: 2.527 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.905e-06/0.7189, allocations: 0 / 470.1 MB, free: 2.527 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.419e-05/0.719, allocations: 60.33 kB / 470.1 MB, free: 2.453 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 1.463e-06/0.719, allocations: 4 kB / 470.1 MB, free: 2.449 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001766/0.7192, allocations: 71.28 kB / 470.2 MB, free: 2.367 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.982e-05/0.7192, allocations: 77.11 kB / 470.3 MB, free: 2.273 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.108e-05/0.7193, allocations: 85 kB / 470.4 MB, free: 2.184 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.366e-05/0.7193, allocations: 29.7 kB / 470.4 MB, free: 2.148 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.565e-05/0.7194, allocations: 80.14 kB / 470.5 MB, free: 2.066 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.769e-05/0.7194, allocations: 3.984 kB / 470.5 MB, free: 2.062 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.484e-06/0.7194, allocations: 0 / 470.5 MB, free: 2.062 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001283/0.7195, allocations: 314.9 kB / 470.8 MB, free: 1.746 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.788e-06/0.7196, allocations: 0 / 470.8 MB, free: 1.746 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.899e-06/0.7196, allocations: 4 kB / 470.8 MB, free: 1.742 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.566e-05/0.7196, allocations: 35 kB / 470.8 MB, free: 1.703 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.7196, allocations: 0 / 470.8 MB, free: 1.703 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.235e-05/0.7197, allocations: 63.34 kB / 470.9 MB, free: 1.629 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.817e-05/0.7198, allocations: 29.7 kB / 470.9 MB, free: 1.594 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.7198, allocations: 0 / 470.9 MB, free: 1.594 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.7198, allocations: 0 / 470.9 MB, free: 1.594 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.453e-06/0.7198, allocations: 4.094 kB / 470.9 MB, free: 1.59 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.7199, allocations: 7.953 kB / 470.9 MB, free: 1.582 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.972e-05/0.7199, allocations: 0 / 470.9 MB, free: 1.582 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.046e-05/0.7199, allocations: 3.984 kB / 470.9 MB, free: 1.578 MB / 394.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 8.779e-05/0.72, allocations: 126.7 kB / 471.1 MB, free: 1.441 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.112e-05/0.72, allocations: 4 kB / 471.1 MB, free: 1.438 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.494e-05/0.7201, allocations: 7.062 kB / 471.1 MB, free: 1.43 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.7201, allocations: 0 / 471.1 MB, free: 1.43 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.7201, allocations: 0.6562 kB / 471.1 MB, free: 1.43 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.7201, allocations: 7.953 kB / 471.1 MB, free: 1.422 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001279/0.7202, allocations: 153.7 kB / 471.2 MB, free: 1.223 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.7202, allocations: 0 / 471.2 MB, free: 1.223 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.052e-06/0.7203, allocations: 0 / 471.2 MB, free: 1.223 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.7203, allocations: 0 / 471.2 MB, free: 1.223 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.305e-06/0.7203, allocations: 0 / 471.2 MB, free: 1.223 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/0.7203, allocations: 1.219 kB / 471.2 MB, free: 1.223 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.741e-06/0.7203, allocations: 3.984 kB / 471.2 MB, free: 1.219 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001332/0.7204, allocations: 102.7 kB / 471.3 MB, free: 1.094 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.242e-05/0.7205, allocations: 77.11 kB / 471.4 MB, free: 1 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.459e-05/0.7205, allocations: 0 / 471.4 MB, free: 1 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.508e-05/0.7205, allocations: 4 kB / 471.4 MB, free: 0.9961 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.26e-05/0.7206, allocations: 0 / 471.4 MB, free: 0.9961 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.759e-06/0.7206, allocations: 0 / 471.4 MB, free: 0.9961 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.616e-05/0.7206, allocations: 75.28 kB / 471.5 MB, free: 0.9219 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.7206, allocations: 0 / 471.5 MB, free: 0.9219 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008613/0.7215, allocations: 159.9 kB / 471.6 MB, free: 0.7656 MB / 394.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.001812/0.7233, allocations: 0.8816 MB / 472.5 MB, free: 15.87 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001262/0.7235, allocations: 59.41 kB / 472.6 MB, free: 15.8 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.7235, allocations: 4 kB / 472.6 MB, free: 15.8 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.465e-05/0.7236, allocations: 59.41 kB / 472.6 MB, free: 15.73 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001039/0.7237, allocations: 3.938 kB / 472.7 MB, free: 15.72 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000605/0.7243, allocations: 139.8 kB / 472.8 MB, free: 15.55 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002815/0.7246, allocations: 0.677 MB / 473.5 MB, free: 14.85 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.875e-06/0.7246, allocations: 0 / 473.5 MB, free: 14.85 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.635e-05/0.7247, allocations: 7.438 kB / 473.5 MB, free: 14.84 MB / 410.7 MB Notification: Performance of SimCode: time 1.263e-06/0.7247, allocations: 0 / 473.5 MB, free: 14.84 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03463/0.7593, allocations: 5.258 MB / 478.7 MB, free: 9.637 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003352/0.7597, allocations: 180.7 kB / 478.9 MB, free: 9.41 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.556/3.315, allocations: 0 / 478.9 MB, free: 9.41 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices2b_res.mat does not exist to compare? outputFormat=mat