Running command: translateModel(ModelicaTest.Rotational.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|directInertia.inertia.phi|directInertia.inertia.w|inertia2a.phi|inertia2a.w|inertia2b.phi|inertia2b.w|inertia3a.phi|inertia3a.w|inertia3b.phi|inertia3b.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs") Notification: Performance of loadModel(ModelicaTest): time 2.269/2.269, allocations: 249.5 MB / 261.6 MB, free: 2.164 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.621e-05/3.642e-05, allocations: 8 kB / 323.4 MB, free: 4.316 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3277/0.3278, allocations: 58.83 MB / 382.2 MB, free: 10.31 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1423/0.4702, allocations: 92.49 MB / 474.7 MB, free: 8 kB / 394.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002469/0.4705, allocations: 68.05 kB / 474.8 MB, free: 15.94 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.05086/0.5214, allocations: 13.69 MB / 488.4 MB, free: 2.145 MB / 410.8 MB Notification: Performance of FrontEnd: time 2.325e-06/0.5214, allocations: 3.938 kB / 488.5 MB, free: 2.141 MB / 410.8 MB Notification: Performance of Transformations before backend: time 6.508e-05/0.5215, allocations: 24 kB / 488.5 MB, free: 2.117 MB / 410.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 230 * Number of variables: 230 Notification: Performance of Generate backend data structure: time 0.001721/0.5232, allocations: 0.9117 MB / 489.4 MB, free: 1.156 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/0.5233, allocations: 8.031 kB / 489.4 MB, free: 1.148 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002087/0.5235, allocations: 102.8 kB / 489.5 MB, free: 1.047 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001086/0.5246, allocations: 0.5398 MB / 490 MB, free: 480 kB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.633e-05/0.5247, allocations: 70 kB / 490.1 MB, free: 408 kB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001717/0.5249, allocations: 88 kB / 490.2 MB, free: 320 kB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002038/0.5269, allocations: 0.8541 MB / 491 MB, free: 15.39 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.314e-05/0.527, allocations: 0 / 491 MB, free: 15.39 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000104/0.5271, allocations: 43.95 kB / 491.1 MB, free: 15.35 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.337e-05/0.5272, allocations: 23.98 kB / 491.1 MB, free: 15.33 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001367/0.5285, allocations: 475.8 kB / 491.6 MB, free: 14.86 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005753/0.5343, allocations: 3.639 MB / 495.2 MB, free: 11.07 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007032/0.535, allocations: 215.1 kB / 495.4 MB, free: 10.84 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002216/0.5353, allocations: 96.86 kB / 495.5 MB, free: 10.75 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003145/0.5356, allocations: 247.3 kB / 495.8 MB, free: 10.45 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.456e-05/0.5357, allocations: 34.56 kB / 495.8 MB, free: 10.41 MB / 426.8 MB Notification: Performance of pre-optimization done (n=30): time 5.122e-06/0.5357, allocations: 0 / 495.8 MB, free: 10.41 MB / 426.8 MB Notification: Performance of matching and sorting (n=35): time 0.002978/0.5387, allocations: 1.188 MB / 497 MB, free: 9.117 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.991e-05/0.5388, allocations: 59.41 kB / 497 MB, free: 9.047 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005712/0.5394, allocations: 343 kB / 497.4 MB, free: 8.707 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 3.857e-05/0.5394, allocations: 37.64 kB / 497.4 MB, free: 8.664 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004019/0.5398, allocations: 470.1 kB / 497.9 MB, free: 8.195 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001483/0.54, allocations: 134.1 kB / 498 MB, free: 8.062 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.663e-05/0.54, allocations: 8 kB / 498 MB, free: 8.055 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0002246/0.5403, allocations: 358.8 kB / 498.4 MB, free: 7.695 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002806/0.5406, allocations: 109.1 kB / 498.5 MB, free: 7.586 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000439/0.541, allocations: 285.2 kB / 498.7 MB, free: 7.223 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003782/0.5414, allocations: 155.7 kB / 498.9 MB, free: 7.07 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.807e-06/0.5414, allocations: 4 kB / 498.9 MB, free: 7.066 MB / 426.8 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001129/0.5426, allocations: 492.6 kB / 499.4 MB, free: 6.574 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.543e-05/0.5426, allocations: 11.94 kB / 499.4 MB, free: 6.562 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.654e-05/0.5427, allocations: 12.83 kB / 499.4 MB, free: 6.551 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003021/0.543, allocations: 44.84 kB / 499.5 MB, free: 6.504 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005346/0.5435, allocations: 123.8 kB / 499.6 MB, free: 6.383 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005343/0.5441, allocations: 0.5524 MB / 0.4884 GB, free: 5.805 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003289/0.5444, allocations: 20 kB / 0.4884 GB, free: 5.785 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.986e-05/0.5445, allocations: 24 kB / 0.4884 GB, free: 5.762 MB / 426.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 67 * 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: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001695/0.5447, allocations: 152.7 kB / 0.4886 GB, free: 5.605 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001071/0.5448, allocations: 51.34 kB / 0.4886 GB, free: 5.555 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008346/0.5456, allocations: 307 kB / 0.4889 GB, free: 5.246 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.288e-06/0.5457, allocations: 4 kB / 0.4889 GB, free: 5.242 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.047e-06/0.5457, allocations: 0 / 0.4889 GB, free: 5.242 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.148e-06/0.5457, allocations: 3.984 kB / 0.4889 GB, free: 5.238 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002154/0.5479, allocations: 1.052 MB / 0.49 GB, free: 4.113 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.332e-06/0.5479, allocations: 3.953 kB / 0.49 GB, free: 4.109 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005707/0.5485, allocations: 79.89 kB / 0.49 GB, free: 4.031 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001949/0.5487, allocations: 37 kB / 0.4901 GB, free: 3.992 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.693e-05/0.5488, allocations: 8 kB / 0.4901 GB, free: 3.984 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004867/0.5493, allocations: 0.5485 MB / 0.4906 GB, free: 3.41 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.224e-06/0.5493, allocations: 0 / 0.4906 GB, free: 3.41 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001105/0.5504, allocations: 0.6034 MB / 0.4912 GB, free: 2.738 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001406/0.5505, allocations: 116.5 kB / 0.4913 GB, free: 2.605 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.109e-05/0.5506, allocations: 8 kB / 0.4913 GB, free: 2.598 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002389/0.5509, allocations: 12 kB / 0.4913 GB, free: 2.586 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.04e-05/0.551, allocations: 23.95 kB / 0.4914 GB, free: 2.562 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.582e-05/0.551, allocations: 23.95 kB / 0.4914 GB, free: 2.539 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0004344/0.5515, allocations: 265.2 kB / 0.4916 GB, free: 2.281 MB / 426.8 MB Notification: Performance of sort global known variables: time 7.49e-07/0.5515, allocations: 0 / 0.4916 GB, free: 2.281 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0007705/0.5523, allocations: 135.9 kB / 0.4918 GB, free: 2.148 MB / 426.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 10 (directInertia.inertia.w,directInertia.torqueToAngle.phi,inertia2a.w,torqueToAngle2a.y,inertia2b.w,torqueToAngle2b.y,inertia3a.phi,inertia3a.w,inertia3b.phi,inertia3b.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 32 * 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: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002149/0.5525, allocations: 119.3 kB / 0.4919 GB, free: 2.023 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0008177/0.5533, allocations: 296.8 kB / 0.4922 GB, free: 1.734 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 3.46e-06/0.5534, allocations: 0 / 0.4922 GB, free: 1.734 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0003554/0.5537, allocations: 132.3 kB / 0.4923 GB, free: 1.605 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005442/0.5543, allocations: 75.61 kB / 0.4924 GB, free: 1.531 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002921/0.5572, allocations: 1.32 MB / 0.4937 GB, free: 172 kB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000852/0.5581, allocations: 0.9794 MB / 0.4946 GB, free: 15.16 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 0.0002857/0.5584, allocations: 56.55 kB / 0.4947 GB, free: 15.11 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001213/0.5585, allocations: 43.42 kB / 0.4947 GB, free: 15.07 MB / 442.8 MB Notification: Performance of SimCode: time 2.054e-06/0.5585, allocations: 0 / 0.4947 GB, free: 15.07 MB / 442.8 MB Notification: Performance of Templates: time 0.01404/0.5726, allocations: 3.82 MB / 0.4984 GB, free: 11.27 MB / 442.8 MB