Running command: "" <> buildModelFMU(ModelicaTest.Utilities.TestInternal,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Utilities_TestInternal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.639/2.639, allocations: 270 MB / 283.6 MB, free: 3.125 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.653e-05/4.662e-05, allocations: 7.938 kB / 348.5 MB, free: 10.74 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1369/0.137, allocations: 61.89 MB / 410.4 MB, free: 12.93 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5271/0.6642, allocations: 85.72 MB / 496.1 MB, free: 2.305 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002448/0.6645, allocations: 59.97 kB / 496.1 MB, free: 2.246 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006771/0.6713, allocations: 1.67 MB / 497.8 MB, free: 0.5859 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.6713, allocations: 0 / 497.8 MB, free: 0.5859 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.05e-06/0.6713, allocations: 0.5625 kB / 497.8 MB, free: 0.5859 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.0003589/0.6717, allocations: 360.2 kB / 498.2 MB, free: 188 kB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.982e-05/0.6718, allocations: 8.031 kB / 498.2 MB, free: 180 kB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.107e-05/0.6718, allocations: 30.56 kB / 498.2 MB, free: 140 kB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.412e-05/0.6718, allocations: 4 kB / 498.2 MB, free: 136 kB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001406/0.672, allocations: 163 kB / 498.4 MB, free: 15.93 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.266e-05/0.672, allocations: 0 / 498.4 MB, free: 15.93 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.44e-05/0.672, allocations: 7.938 kB / 498.4 MB, free: 15.93 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.15e-05/0.6721, allocations: 33.69 kB / 498.4 MB, free: 15.89 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.6722, allocations: 0 / 498.4 MB, free: 15.89 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.797e-06/0.6722, allocations: 4 kB / 498.4 MB, free: 15.88 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.6722, allocations: 0 / 498.4 MB, free: 15.88 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.826e-05/0.6722, allocations: 0 / 498.4 MB, free: 15.88 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00016/0.6724, allocations: 149.7 kB / 498.6 MB, free: 15.69 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.512e-05/0.6725, allocations: 18.52 kB / 498.6 MB, free: 15.66 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.125e-05/0.6725, allocations: 4.859 kB / 498.6 MB, free: 15.65 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.107e-06/0.6725, allocations: 12.02 kB / 498.6 MB, free: 15.64 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.757e-05/0.6726, allocations: 64.22 kB / 498.7 MB, free: 15.56 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 1.633e-06/0.6726, allocations: 0 / 498.7 MB, free: 15.56 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002045/0.6728, allocations: 59.41 kB / 498.7 MB, free: 15.49 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.725e-05/0.6729, allocations: 83.84 kB / 498.8 MB, free: 15.39 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.967e-05/0.673, allocations: 88.91 kB / 498.9 MB, free: 15.3 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.678e-05/0.673, allocations: 25.7 kB / 498.9 MB, free: 15.27 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.764e-05/0.673, allocations: 80.14 kB / 499 MB, free: 15.19 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.789e-05/0.6731, allocations: 0 / 499 MB, free: 15.19 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.886e-06/0.6731, allocations: 0 / 499 MB, free: 15.19 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000134/0.6732, allocations: 318.9 kB / 499.3 MB, free: 14.87 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.535e-05/0.6733, allocations: 4 kB / 499.3 MB, free: 14.86 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.795e-06/0.6733, allocations: 0 / 499.3 MB, free: 14.86 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.34e-05/0.6733, allocations: 25.7 kB / 499.3 MB, free: 14.83 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.6733, allocations: 0 / 499.3 MB, free: 14.83 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.07e-05/0.6734, allocations: 67.34 kB / 499.4 MB, free: 14.75 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.836e-05/0.6735, allocations: 33.7 kB / 499.4 MB, free: 14.71 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.512e-05/0.6735, allocations: 3.984 kB / 499.4 MB, free: 14.71 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.326e-05/0.6736, allocations: 8.047 kB / 499.4 MB, free: 14.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.284e-06/0.6736, allocations: 0 / 499.4 MB, free: 14.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.6736, allocations: 0 / 499.4 MB, free: 14.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.312e-05/0.6736, allocations: 0 / 499.4 MB, free: 14.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.626e-06/0.6737, allocations: 0 / 499.4 MB, free: 14.7 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 0.0001222/0.6738, allocations: 133.3 kB / 499.6 MB, free: 14.56 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.267e-05/0.6738, allocations: 0 / 499.6 MB, free: 14.56 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.089e-05/0.6739, allocations: 7.078 kB / 499.6 MB, free: 14.55 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.225e-06/0.6739, allocations: 3.953 kB / 499.6 MB, free: 14.55 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.6739, allocations: 4 kB / 499.6 MB, free: 14.54 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.655e-06/0.6739, allocations: 4 kB / 499.6 MB, free: 14.54 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001804/0.6741, allocations: 149.6 kB / 499.7 MB, free: 14.34 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.6741, allocations: 0 / 499.7 MB, free: 14.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.793e-06/0.6741, allocations: 0 / 499.7 MB, free: 14.34 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.6742, allocations: 0 / 499.7 MB, free: 14.34 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/0.6742, allocations: 0 / 499.7 MB, free: 14.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.134e-05/0.6742, allocations: 11.98 kB / 499.7 MB, free: 14.33 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/0.6742, allocations: 3.953 kB / 499.7 MB, free: 14.33 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001894/0.6744, allocations: 94.77 kB / 499.8 MB, free: 14.21 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.674e-05/0.6745, allocations: 77.11 kB / 499.9 MB, free: 14.12 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.097e-05/0.6745, allocations: 4 kB / 499.9 MB, free: 14.11 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.374e-05/0.6746, allocations: 0 / 499.9 MB, free: 14.11 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.396e-05/0.6746, allocations: 7.938 kB / 499.9 MB, free: 14.11 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.949e-06/0.6747, allocations: 3.953 kB / 499.9 MB, free: 14.1 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.301e-05/0.6747, allocations: 75.28 kB / 500 MB, free: 14.03 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.12e-07/0.6747, allocations: 0 / 500 MB, free: 14.03 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000593/0.6754, allocations: 35.97 kB / 0.4883 GB, free: 13.99 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.001671/0.6771, allocations: 0.8144 MB / 0.4891 GB, free: 13.21 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001413/0.6772, allocations: 59.41 kB / 0.4892 GB, free: 13.14 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.6773, allocations: 0 / 0.4892 GB, free: 13.14 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.941e-05/0.6773, allocations: 55.41 kB / 0.4892 GB, free: 13.07 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000161/0.6775, allocations: 3.75 kB / 0.4892 GB, free: 13.07 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005211/0.6781, allocations: 106.6 kB / 0.4893 GB, free: 12.93 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004182/0.6785, allocations: 0.677 MB / 0.49 GB, free: 12.23 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.012e-05/0.6785, allocations: 0 / 0.49 GB, free: 12.23 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.25e-05/0.6786, allocations: 7.438 kB / 0.49 GB, free: 12.22 MB / 410.7 MB Notification: Performance of SimCode: time 4.148e-06/0.6786, allocations: 4.125 kB / 0.49 GB, free: 12.21 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05522/0.7338, allocations: 1.353 MB / 0.4913 GB, free: 10.94 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003114/0.7342, allocations: 192.1 kB / 0.4915 GB, free: 10.71 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.472/3.206, allocations: 0 / 0.4915 GB, free: 10.71 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Utilities.TestInternal_res.mat does not exist to compare? outputFormat=mat