Running command: "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.497/2.497, allocations: 270 MB / 283.6 MB, free: 1.836 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.802e-05/4.808e-05, allocations: 3.938 kB / 348.5 MB, free: 2.637 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4084/0.4085, allocations: 61.87 MB / 410.4 MB, free: 10.59 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1599/0.5684, allocations: 86.07 MB / 496.4 MB, free: 4.406 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002568/0.5687, allocations: 63.97 kB / 496.5 MB, free: 4.344 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01096/0.5797, allocations: 2.689 MB / 499.2 MB, free: 1.652 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.5798, allocations: 0 / 499.2 MB, free: 1.652 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.199e-05/0.5798, allocations: 7.938 kB / 499.2 MB, free: 1.645 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.0006473/0.5805, allocations: 418.4 kB / 499.6 MB, free: 1.188 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.848e-05/0.5805, allocations: 8.031 kB / 499.6 MB, free: 1.18 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.496e-05/0.5806, allocations: 50.55 kB / 499.7 MB, free: 1.121 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.257e-05/0.5807, allocations: 15.81 kB / 499.7 MB, free: 1.105 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000159/0.5808, allocations: 178.8 kB / 499.8 MB, free: 0.8906 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.019e-05/0.5809, allocations: 16.33 kB / 499.9 MB, free: 0.875 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.444e-05/0.581, allocations: 19.95 kB / 499.9 MB, free: 0.8555 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003869/0.5814, allocations: 165.3 kB / 0.4883 GB, free: 0.6836 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.421e-05/0.5814, allocations: 7.844 kB / 0.4883 GB, free: 0.6758 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.524e-05/0.5814, allocations: 8 kB / 0.4883 GB, free: 0.668 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.308e-06/0.5814, allocations: 4 kB / 0.4883 GB, free: 0.6641 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002471/0.5817, allocations: 79.98 kB / 0.4884 GB, free: 0.5859 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001202/0.5829, allocations: 0.6151 MB / 0.489 GB, free: 15.91 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003061/0.5832, allocations: 125.2 kB / 0.4891 GB, free: 15.77 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001272/0.5834, allocations: 53.84 kB / 0.4892 GB, free: 15.71 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.671e-05/0.5834, allocations: 0 / 0.4892 GB, free: 15.71 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.29e-05/0.5835, allocations: 38.56 kB / 0.4892 GB, free: 15.66 MB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 1.883e-06/0.5835, allocations: 0 / 0.4892 GB, free: 15.66 MB / 426.7 MB Notification: Performance of matching and sorting (n=14): time 0.0005556/0.584, allocations: 147.1 kB / 0.4894 GB, free: 15.51 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.958e-05/0.5841, allocations: 81.11 kB / 0.4894 GB, free: 15.41 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001439/0.5843, allocations: 122.6 kB / 0.4896 GB, free: 15.28 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.344e-05/0.5843, allocations: 29.7 kB / 0.4896 GB, free: 15.25 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.689e-05/0.5844, allocations: 132 kB / 0.4897 GB, free: 15.11 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.584e-05/0.5845, allocations: 55.2 kB / 0.4898 GB, free: 15.06 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.146e-05/0.5845, allocations: 4 kB / 0.4898 GB, free: 15.05 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001538/0.5847, allocations: 322.8 kB / 0.4901 GB, free: 14.73 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001085/0.5848, allocations: 32 kB / 0.4901 GB, free: 14.7 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001696/0.585, allocations: 100.6 kB / 0.4902 GB, free: 14.57 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001492/0.5851, allocations: 59.95 kB / 0.4903 GB, free: 14.51 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.5851, allocations: 0 / 0.4903 GB, free: 14.51 MB / 426.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005849/0.5857, allocations: 215.2 kB / 0.4905 GB, free: 14.29 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.336e-05/0.5858, allocations: 4 kB / 0.4905 GB, free: 14.29 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.17e-05/0.5858, allocations: 4 kB / 0.4905 GB, free: 14.28 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003141/0.5861, allocations: 49.69 kB / 0.4905 GB, free: 14.23 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002465/0.5864, allocations: 35.92 kB / 0.4906 GB, free: 14.19 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002949/0.5893, allocations: 2.716 MB / 0.4932 GB, free: 11.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001628/0.5896, allocations: 11.88 kB / 0.4932 GB, free: 11.19 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.934e-05/0.5896, allocations: 12 kB / 0.4932 GB, free: 11.18 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.0001311/0.5897, allocations: 112.9 kB / 0.4933 GB, free: 11.06 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.024e-05/0.5898, allocations: 16 kB / 0.4934 GB, free: 11.04 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.12e-05/0.5899, allocations: 16.61 kB / 0.4934 GB, free: 11.03 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.747e-06/0.5899, allocations: 4 kB / 0.4934 GB, free: 11.02 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/0.5899, allocations: 7.891 kB / 0.4934 GB, free: 11.02 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.5899, allocations: 0 / 0.4934 GB, free: 11.02 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004372/0.5904, allocations: 237.4 kB / 0.4936 GB, free: 10.73 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.5904, allocations: 0 / 0.4936 GB, free: 10.73 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003164/0.5907, allocations: 23.98 kB / 0.4936 GB, free: 10.71 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000232/0.591, allocations: 53.64 kB / 0.4937 GB, free: 10.65 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.091e-05/0.591, allocations: 4 kB / 0.4937 GB, free: 10.65 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00281/0.5938, allocations: 2.708 MB / 0.4963 GB, free: 7.676 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.5939, allocations: 224 / 0.4963 GB, free: 7.676 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006502/0.5945, allocations: 390 kB / 0.4967 GB, free: 7.266 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.899e-05/0.5946, allocations: 85.02 kB / 0.4968 GB, free: 7.164 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.838e-05/0.5947, allocations: 4.062 kB / 0.4968 GB, free: 7.16 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001763/0.5949, allocations: 4 kB / 0.4968 GB, free: 7.156 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.171e-05/0.5949, allocations: 15.94 kB / 0.4968 GB, free: 7.141 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.496e-05/0.5949, allocations: 8 kB / 0.4968 GB, free: 7.133 MB / 426.7 MB Notification: Performance of sorting global known variables: time 9.411e-05/0.595, allocations: 97.38 kB / 0.4969 GB, free: 7.039 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.5951, allocations: 96 / 0.4969 GB, free: 7.039 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006707/0.5957, allocations: 63.78 kB / 0.497 GB, free: 6.977 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.00104/0.5968, allocations: 0.9868 MB / 0.4979 GB, free: 5.953 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007056/0.5975, allocations: 324 kB / 0.4982 GB, free: 5.617 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.5975, allocations: 0 / 0.4982 GB, free: 5.617 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004608/0.598, allocations: 267.5 kB / 0.4985 GB, free: 5.336 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005/0.5985, allocations: 23.98 kB / 0.4985 GB, free: 5.312 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001767/0.6003, allocations: 0.6362 MB / 0.4991 GB, free: 4.641 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004149/0.6007, allocations: 0.7282 MB / 0.4999 GB, free: 3.887 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 7.905e-05/0.6008, allocations: 9.203 kB / 0.4999 GB, free: 3.879 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.435e-05/0.6009, allocations: 43.42 kB / 0.4999 GB, free: 3.836 MB / 426.7 MB Notification: Performance of SimCode: time 1.483e-06/0.601, allocations: 4 kB / 0.4999 GB, free: 3.832 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0257/0.6267, allocations: 3.293 MB / 0.5031 GB, free: 0.6445 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003094/0.627, allocations: 194.4 kB / 0.5033 GB, free: 424 kB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.587/3.214, allocations: 0 / 0.5033 GB, free: 424 kB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.mat does not exist to compare? outputFormat=mat