Running command: "" <> buildModelFMU(ModelicaTest.Utilities.TestInternal,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Utilities_TestInternal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.418/2.418, allocations: 235.1 MB / 242.2 MB, free: 15.86 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.388e-05/2.421e-05, allocations: 0 / 299.5 MB, free: 6.531 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4196/0.4197, allocations: 54.85 MB / 354.3 MB, free: 14.07 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1576/0.5774, allocations: 79.05 MB / 433.4 MB, free: 3.188 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002455/0.5777, allocations: 63.97 kB / 433.4 MB, free: 3.125 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006375/0.5841, allocations: 1.656 MB / 435.1 MB, free: 1.469 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.5841, allocations: 0 / 435.1 MB, free: 1.469 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.5841, allocations: 0 / 435.1 MB, free: 1.469 MB / 362.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.0003382/0.5845, allocations: 356.2 kB / 435.4 MB, free: 1.07 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.677e-05/0.5845, allocations: 8.031 kB / 435.5 MB, free: 1.062 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.294e-05/0.5846, allocations: 7.891 kB / 435.5 MB, free: 1.055 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001158/0.5847, allocations: 163.1 kB / 435.6 MB, free: 0.8555 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/0.5847, allocations: 0 / 435.6 MB, free: 0.8555 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.151e-05/0.5848, allocations: 4 kB / 435.6 MB, free: 0.8516 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.646e-05/0.5848, allocations: 0 / 435.6 MB, free: 0.8516 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.048e-05/0.5849, allocations: 33.62 kB / 435.7 MB, free: 0.8125 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.234e-06/0.5849, allocations: 0 / 435.7 MB, free: 0.8125 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.5849, allocations: 4 kB / 435.7 MB, free: 0.8086 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.5849, allocations: 3.953 kB / 435.7 MB, free: 0.8047 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001346/0.5851, allocations: 126.2 kB / 435.8 MB, free: 0.6445 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.072e-05/0.5851, allocations: 18.58 kB / 435.8 MB, free: 0.6172 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.756e-05/0.5852, allocations: 8.953 kB / 435.8 MB, free: 0.6055 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.588e-06/0.5852, allocations: 0 / 435.8 MB, free: 0.6055 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.446e-05/0.5852, allocations: 56.27 kB / 435.9 MB, free: 0.5352 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 1.583e-06/0.5852, allocations: 0 / 435.9 MB, free: 0.5352 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001803/0.5854, allocations: 37.62 kB / 435.9 MB, free: 0.4922 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.566e-05/0.5855, allocations: 89.14 kB / 436 MB, free: 396 kB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.966e-05/0.5856, allocations: 88.91 kB / 436.1 MB, free: 300 kB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.41e-05/0.5856, allocations: 25.7 kB / 436.1 MB, free: 268 kB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.007e-05/0.5857, allocations: 80.14 kB / 436.2 MB, free: 184 kB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.721e-05/0.5857, allocations: 0 / 436.2 MB, free: 184 kB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.504e-06/0.5857, allocations: 0 / 436.2 MB, free: 184 kB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001588/0.5859, allocations: 314.8 kB / 436.5 MB, free: 15.86 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.097e-06/0.5859, allocations: 0 / 436.5 MB, free: 15.86 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.673e-06/0.5859, allocations: 4 kB / 436.5 MB, free: 15.86 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.425e-05/0.586, allocations: 4.062 kB / 436.5 MB, free: 15.86 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.586, allocations: 0 / 436.5 MB, free: 15.86 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.83e-05/0.5861, allocations: 37.69 kB / 436.5 MB, free: 15.81 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.769e-05/0.5861, allocations: 35.42 kB / 436.6 MB, free: 15.77 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.5861, allocations: 3.938 kB / 436.6 MB, free: 15.77 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.5862, allocations: 0 / 436.6 MB, free: 15.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.691e-06/0.5862, allocations: 7.922 kB / 436.6 MB, free: 15.76 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.5862, allocations: 0 / 436.6 MB, free: 15.76 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.919e-05/0.5862, allocations: 4 kB / 436.6 MB, free: 15.76 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-06/0.5862, allocations: 0 / 436.6 MB, free: 15.76 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 0.0001048/0.5864, allocations: 138.7 kB / 436.7 MB, free: 15.61 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.691e-05/0.5865, allocations: 41.7 kB / 436.8 MB, free: 15.56 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.564e-06/0.5865, allocations: 0 / 436.8 MB, free: 15.56 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.402e-05/0.5865, allocations: 7.703 kB / 436.8 MB, free: 15.56 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.5865, allocations: 0 / 436.8 MB, free: 15.56 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.5865, allocations: 0 / 436.8 MB, free: 15.56 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.5865, allocations: 0 / 436.8 MB, free: 15.56 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000113/0.5867, allocations: 138.1 kB / 436.9 MB, free: 15.39 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.5867, allocations: 0 / 436.9 MB, free: 15.39 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.052e-06/0.5867, allocations: 4.031 kB / 436.9 MB, free: 15.38 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.5867, allocations: 0 / 436.9 MB, free: 15.38 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.624e-06/0.5867, allocations: 0 / 436.9 MB, free: 15.38 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.5867, allocations: 0 / 436.9 MB, free: 15.38 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.5867, allocations: 0 / 436.9 MB, free: 15.38 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001192/0.5869, allocations: 73.02 kB / 437 MB, free: 15.29 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.318e-05/0.5869, allocations: 77.11 kB / 437.1 MB, free: 15.2 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.415e-05/0.5869, allocations: 0 / 437.1 MB, free: 15.2 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.238e-05/0.587, allocations: 4.031 kB / 437.1 MB, free: 15.2 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.263e-05/0.587, allocations: 0 / 437.1 MB, free: 15.2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.148e-06/0.587, allocations: 4 kB / 437.1 MB, free: 15.19 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.493e-05/0.587, allocations: 75.28 kB / 437.1 MB, free: 15.12 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.5871, allocations: 0 / 437.1 MB, free: 15.12 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003248/0.5874, allocations: 35.97 kB / 437.2 MB, free: 15.08 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.001001/0.5884, allocations: 0.7665 MB / 437.9 MB, free: 14.34 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 9.505e-05/0.5885, allocations: 59.41 kB / 438 MB, free: 14.27 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.5885, allocations: 0 / 438 MB, free: 14.27 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.261e-05/0.5886, allocations: 55.41 kB / 438 MB, free: 14.2 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001032/0.5887, allocations: 0 / 438 MB, free: 14.2 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003006/0.589, allocations: 103.3 kB / 438.1 MB, free: 14.06 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002768/0.5893, allocations: 0.6729 MB / 438.8 MB, free: 13.36 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.082e-06/0.5893, allocations: 0 / 438.8 MB, free: 13.36 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.305e-05/0.5893, allocations: 7.438 kB / 438.8 MB, free: 13.36 MB / 378.7 MB Notification: Performance of SimCode: time 6.72e-07/0.5894, allocations: 0 / 438.8 MB, free: 13.36 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06394/0.6533, allocations: 1.089 MB / 439.9 MB, free: 12.27 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002731/0.6536, allocations: 151.9 kB / 440.1 MB, free: 12.08 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.178/2.832, allocations: 0 / 440.1 MB, free: 12.08 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Utilities.TestInternal_res.mat does not exist to compare? outputFormat=mat