Running command: "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.48/2.48, allocations: 270 MB / 283.6 MB, free: 1.879 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.511e-05/3.514e-05, allocations: 4 kB / 348.5 MB, free: 2.645 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4449/0.445, allocations: 61.87 MB / 410.4 MB, free: 10.6 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1594/0.6045, allocations: 86.06 MB / 496.4 MB, free: 4.418 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002617/0.6048, allocations: 67.94 kB / 496.5 MB, free: 4.352 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01099/0.6158, allocations: 2.685 MB / 499.2 MB, free: 1.664 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.6158, allocations: 0 / 499.2 MB, free: 1.664 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.455e-05/0.6159, allocations: 4 kB / 499.2 MB, free: 1.66 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0006725/0.6166, allocations: 414.4 kB / 499.6 MB, free: 1.207 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.181e-05/0.6166, allocations: 12.03 kB / 499.6 MB, free: 1.195 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.365e-05/0.6167, allocations: 46.55 kB / 499.6 MB, free: 1.141 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.868e-05/0.6168, allocations: 19.8 kB / 499.7 MB, free: 1.121 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001792/0.617, allocations: 190.7 kB / 499.8 MB, free: 0.8945 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.208e-05/0.617, allocations: 8.328 kB / 499.9 MB, free: 0.8867 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.588e-05/0.6171, allocations: 19.95 kB / 499.9 MB, free: 0.8672 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003947/0.6175, allocations: 157.3 kB / 0.4883 GB, free: 0.7031 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.25e-05/0.6175, allocations: 7.906 kB / 0.4883 GB, free: 0.6953 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.73e-05/0.6175, allocations: 12 kB / 0.4883 GB, free: 0.6836 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.227e-06/0.6176, allocations: 4 kB / 0.4883 GB, free: 0.6797 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002519/0.6178, allocations: 83.92 kB / 0.4884 GB, free: 0.5977 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001225/0.6191, allocations: 0.6073 MB / 0.489 GB, free: 15.93 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00031/0.6194, allocations: 121.1 kB / 0.4891 GB, free: 15.79 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001312/0.6196, allocations: 53.73 kB / 0.4892 GB, free: 15.73 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.954e-05/0.6196, allocations: 4.188 kB / 0.4892 GB, free: 15.73 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.38e-05/0.6196, allocations: 42.5 kB / 0.4892 GB, free: 15.68 MB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 3.226e-06/0.6196, allocations: 0 / 0.4892 GB, free: 15.68 MB / 426.7 MB Notification: Performance of matching and sorting (n=14): time 0.000573/0.6202, allocations: 143.2 kB / 0.4893 GB, free: 15.53 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.347e-05/0.6203, allocations: 85.05 kB / 0.4894 GB, free: 15.43 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001466/0.6205, allocations: 123.2 kB / 0.4895 GB, free: 15.3 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.006e-05/0.6205, allocations: 29.7 kB / 0.4896 GB, free: 15.26 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001085/0.6206, allocations: 135.9 kB / 0.4897 GB, free: 15.12 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.412e-05/0.6207, allocations: 55.2 kB / 0.4898 GB, free: 15.07 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.13e-05/0.6207, allocations: 4 kB / 0.4898 GB, free: 15.07 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001541/0.6209, allocations: 322.8 kB / 0.4901 GB, free: 14.74 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001026/0.621, allocations: 32 kB / 0.4901 GB, free: 14.71 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001711/0.6212, allocations: 100.6 kB / 0.4902 GB, free: 14.58 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001498/0.6213, allocations: 55.92 kB / 0.4902 GB, free: 14.53 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/0.6214, allocations: 0 / 0.4902 GB, free: 14.53 MB / 426.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006047/0.622, allocations: 211 kB / 0.4905 GB, free: 14.31 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.248e-05/0.622, allocations: 4 kB / 0.4905 GB, free: 14.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.622, allocations: 8.25 kB / 0.4905 GB, free: 14.3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003145/0.6224, allocations: 49.69 kB / 0.4905 GB, free: 14.24 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002422/0.6226, allocations: 35.92 kB / 0.4905 GB, free: 14.21 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002935/0.6256, allocations: 2.712 MB / 0.4932 GB, free: 11.22 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001652/0.6258, allocations: 19.84 kB / 0.4932 GB, free: 11.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.889e-05/0.6258, allocations: 7.938 kB / 0.4932 GB, free: 11.19 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 18 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001234/0.626, allocations: 116.9 kB / 0.4933 GB, free: 11.07 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.088e-05/0.626, allocations: 15.91 kB / 0.4933 GB, free: 11.05 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.772e-05/0.6261, allocations: 12.7 kB / 0.4934 GB, free: 11.04 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.6e-06/0.6261, allocations: 8 kB / 0.4934 GB, free: 11.04 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.839e-06/0.6261, allocations: 3.953 kB / 0.4934 GB, free: 11.03 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.6261, allocations: 0 / 0.4934 GB, free: 11.03 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004358/0.6266, allocations: 237.4 kB / 0.4936 GB, free: 10.75 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.6266, allocations: 0 / 0.4936 GB, free: 10.75 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003174/0.6269, allocations: 28.08 kB / 0.4936 GB, free: 10.72 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002267/0.6272, allocations: 49.67 kB / 0.4937 GB, free: 10.67 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.141e-05/0.6272, allocations: 8 kB / 0.4937 GB, free: 10.66 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00279/0.63, allocations: 2.704 MB / 0.4963 GB, free: 7.691 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.6301, allocations: 0 / 0.4963 GB, free: 7.691 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006417/0.6307, allocations: 390.3 kB / 0.4967 GB, free: 7.281 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.577e-05/0.6308, allocations: 89 kB / 0.4968 GB, free: 7.176 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.08e-05/0.6309, allocations: 8.062 kB / 0.4968 GB, free: 7.168 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001592/0.631, allocations: 0 / 0.4968 GB, free: 7.168 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.432e-05/0.6311, allocations: 15.94 kB / 0.4968 GB, free: 7.152 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.386e-05/0.6311, allocations: 8 kB / 0.4968 GB, free: 7.145 MB / 426.7 MB Notification: Performance of sorting global known variables: time 9.971e-05/0.6312, allocations: 96.67 kB / 0.4969 GB, free: 7.051 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.2e-07/0.6312, allocations: 0 / 0.4969 GB, free: 7.051 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006746/0.6319, allocations: 59.84 kB / 0.497 GB, free: 6.992 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (inertia1.phi,inertia2.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00107/0.633, allocations: 0.9828 MB / 0.4979 GB, free: 5.973 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007259/0.6338, allocations: 316.2 kB / 0.4982 GB, free: 5.645 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.6338, allocations: 8.062 kB / 0.4982 GB, free: 5.637 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004566/0.6342, allocations: 267.4 kB / 0.4985 GB, free: 5.355 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004844/0.6347, allocations: 32.09 kB / 0.4985 GB, free: 5.328 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001703/0.6365, allocations: 0.632 MB / 0.4991 GB, free: 4.66 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004082/0.6369, allocations: 0.7321 MB / 0.4998 GB, free: 3.902 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 9.058e-05/0.637, allocations: 13.2 kB / 0.4999 GB, free: 3.891 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.532e-05/0.6371, allocations: 35.44 kB / 0.4999 GB, free: 3.855 MB / 426.7 MB Notification: Performance of SimCode: time 1.122e-06/0.6371, allocations: 0 / 0.4999 GB, free: 3.855 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02493/0.6621, allocations: 3.283 MB / 0.5031 GB, free: 0.668 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003148/0.6625, allocations: 198.4 kB / 0.5033 GB, free: 444 kB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.546/3.209, allocations: 0 / 0.5033 GB, free: 444 kB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.mat does not exist to compare? outputFormat=mat