Running command: "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Rotational_ForUsersGuide_SimpleDriveTrain",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.407/2.407, allocations: 270 MB / 283.6 MB, free: 3.141 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.135e-05/4.143e-05, allocations: 11.92 kB / 348.5 MB, free: 10.74 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1423/0.1424, allocations: 61.88 MB / 410.4 MB, free: 12.93 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6065/0.7489, allocations: 87.34 MB / 497.7 MB, free: 0.6641 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002575/0.7492, allocations: 64.5 kB / 497.8 MB, free: 0.6016 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01082/0.7601, allocations: 2.596 MB / 0.4886 GB, free: 14 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.462e-06/0.7601, allocations: 0 / 0.4886 GB, free: 14 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.29e-05/0.7601, allocations: 8 kB / 0.4886 GB, free: 14 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0005915/0.7607, allocations: 398.1 kB / 0.489 GB, free: 13.56 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/0.7608, allocations: 8.031 kB / 0.489 GB, free: 13.55 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.283e-05/0.7609, allocations: 46.55 kB / 0.4891 GB, free: 13.5 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.674e-05/0.7609, allocations: 15.81 kB / 0.4891 GB, free: 13.48 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002413/0.7612, allocations: 202.8 kB / 0.4893 GB, free: 13.25 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.693e-05/0.7612, allocations: 15.94 kB / 0.4893 GB, free: 13.23 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.199e-05/0.7613, allocations: 16 kB / 0.4893 GB, free: 13.21 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003129/0.7616, allocations: 113.7 kB / 0.4894 GB, free: 13.1 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.611e-05/0.7616, allocations: 0 / 0.4894 GB, free: 13.1 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.946e-05/0.7617, allocations: 4 kB / 0.4894 GB, free: 13.09 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.907e-06/0.7617, allocations: 4 kB / 0.4894 GB, free: 13.09 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002165/0.7619, allocations: 71.92 kB / 0.4895 GB, free: 13.02 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009231/0.7629, allocations: 472.2 kB / 0.4899 GB, free: 12.51 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002728/0.7631, allocations: 102.6 kB / 0.49 GB, free: 12.4 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001486/0.7633, allocations: 64.72 kB / 0.4901 GB, free: 12.33 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.013e-05/0.7634, allocations: 4 kB / 0.4901 GB, free: 12.33 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.668e-05/0.7634, allocations: 37.3 kB / 0.4901 GB, free: 12.29 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 4.298e-06/0.7634, allocations: 3.984 kB / 0.4901 GB, free: 12.28 MB / 410.7 MB Notification: Performance of matching and sorting (n=19): time 0.001787/0.7652, allocations: 0.7458 MB / 0.4909 GB, free: 11.44 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.481e-05/0.7653, allocations: 55.41 kB / 0.4909 GB, free: 11.38 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001497/0.7654, allocations: 132.2 kB / 0.4911 GB, free: 11.24 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.245e-05/0.7655, allocations: 25.7 kB / 0.4911 GB, free: 11.21 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.707e-05/0.7655, allocations: 112.3 kB / 0.4912 GB, free: 11.09 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.375e-05/0.7656, allocations: 67 kB / 0.4912 GB, free: 11.03 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.307e-05/0.7657, allocations: 4 kB / 0.4913 GB, free: 11.02 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001311/0.7658, allocations: 322.8 kB / 0.4916 GB, free: 10.7 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001147/0.7659, allocations: 40.38 kB / 0.4916 GB, free: 10.66 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000149/0.7661, allocations: 68.09 kB / 0.4917 GB, free: 10.58 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001468/0.7662, allocations: 59.84 kB / 0.4917 GB, free: 10.52 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.7663, allocations: 0 / 0.4917 GB, free: 10.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005036/0.7668, allocations: 190.2 kB / 0.4919 GB, free: 10.32 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.7668, allocations: 4 kB / 0.4919 GB, free: 10.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.308e-06/0.7668, allocations: 4 kB / 0.4919 GB, free: 10.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000225/0.7671, allocations: 44.89 kB / 0.492 GB, free: 10.27 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003128/0.7674, allocations: 39.95 kB / 0.492 GB, free: 10.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001888/0.7693, allocations: 1.553 MB / 0.4935 GB, free: 8.535 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001446/0.7695, allocations: 8.031 kB / 0.4935 GB, free: 8.527 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.846e-05/0.7695, allocations: 4 kB / 0.4935 GB, free: 8.523 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001056/0.7696, allocations: 109 kB / 0.4936 GB, free: 8.41 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.815e-05/0.7697, allocations: 7.906 kB / 0.4936 GB, free: 8.402 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.011e-05/0.7697, allocations: 24.73 kB / 0.4937 GB, free: 8.379 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.59e-06/0.7698, allocations: 4.062 kB / 0.4937 GB, free: 8.375 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.675e-06/0.7698, allocations: 7.953 kB / 0.4937 GB, free: 8.367 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.642e-06/0.7698, allocations: 0 / 0.4937 GB, free: 8.367 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001091/0.7709, allocations: 0.543 MB / 0.4942 GB, free: 7.762 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.7709, allocations: 0 / 0.4942 GB, free: 7.762 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003245/0.7712, allocations: 44.14 kB / 0.4942 GB, free: 7.719 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001966/0.7715, allocations: 32.83 kB / 0.4943 GB, free: 7.684 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.897e-05/0.7715, allocations: 4 kB / 0.4943 GB, free: 7.68 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001478/0.773, allocations: 1.359 MB / 0.4956 GB, free: 6.188 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.773, allocations: 7.969 kB / 0.4956 GB, free: 6.18 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00068/0.7737, allocations: 338.1 kB / 0.4959 GB, free: 5.824 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.268e-05/0.7738, allocations: 96.98 kB / 0.496 GB, free: 5.711 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.25e-05/0.7738, allocations: 11.94 kB / 0.496 GB, free: 5.699 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001595/0.774, allocations: 7.938 kB / 0.496 GB, free: 5.691 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.405e-05/0.7741, allocations: 15.92 kB / 0.4961 GB, free: 5.676 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.341e-05/0.7741, allocations: 4 kB / 0.4961 GB, free: 5.672 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001073/0.7742, allocations: 110 kB / 0.4962 GB, free: 5.566 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.7742, allocations: 0 / 0.4962 GB, free: 5.566 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004874/0.7747, allocations: 48 kB / 0.4962 GB, free: 5.52 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (J1.phi,J1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001074/0.7758, allocations: 0.9448 MB / 0.4971 GB, free: 4.539 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006001/0.7764, allocations: 229.8 kB / 0.4974 GB, free: 4.305 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.7765, allocations: 0 / 0.4974 GB, free: 4.305 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003577/0.7768, allocations: 189.5 kB / 0.4975 GB, free: 4.109 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000339/0.7772, allocations: 18.62 kB / 0.4975 GB, free: 4.098 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001109/0.7783, allocations: 378.9 kB / 0.4979 GB, free: 3.688 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003495/0.7787, allocations: 0.7323 MB / 0.4986 GB, free: 2.926 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.223e-05/0.7788, allocations: 17.19 kB / 0.4986 GB, free: 2.91 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.265e-05/0.7789, allocations: 39.42 kB / 0.4987 GB, free: 2.871 MB / 410.7 MB Notification: Performance of SimCode: time 3.376e-06/0.7789, allocations: 0 / 0.4987 GB, free: 2.871 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02703/0.8059, allocations: 2.973 MB / 0.5016 GB, free: 15.98 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003084/0.8063, allocations: 183.1 kB / 0.5018 GB, free: 15.76 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.488/3.295, allocations: 0 / 0.5018 GB, free: 15.76 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain_res.mat does not exist to compare? outputFormat=mat