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_trunk_ModelicaTest.Rotational.GenerationOfFMUs") Notification: Performance of loadModel(ModelicaTest): time 2.348/2.348, allocations: 270.1 MB / 283.6 MB, free: 3.02 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.441e-05/3.448e-05, allocations: 9.953 kB / 348.4 MB, free: 10.81 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1336/0.1336, allocations: 61.89 MB / 410.3 MB, free: 12.99 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4237/0.5574, allocations: 93.46 MB / 0.4919 GB, free: 10.68 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002123/0.5577, allocations: 63.97 kB / 0.492 GB, free: 10.61 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0691/0.6268, allocations: 13.89 MB / 0.5056 GB, free: 12.62 MB / 426.7 MB Notification: Performance of FrontEnd: time 4.78e-06/0.6269, allocations: 0 / 0.5056 GB, free: 12.62 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001636/0.6271, allocations: 24 kB / 0.5056 GB, free: 12.6 MB / 426.7 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.003478/0.6306, allocations: 0.9078 MB / 0.5065 GB, free: 11.64 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.082e-05/0.6307, allocations: 8.031 kB / 0.5065 GB, free: 11.63 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004231/0.6311, allocations: 106.7 kB / 0.5066 GB, free: 11.53 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002092/0.6332, allocations: 0.5476 MB / 0.5071 GB, free: 10.94 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000147/0.6334, allocations: 66 kB / 0.5072 GB, free: 10.88 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003274/0.6338, allocations: 95.98 kB / 0.5073 GB, free: 10.78 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003774/0.6376, allocations: 0.8386 MB / 0.5081 GB, free: 9.879 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.58e-05/0.6377, allocations: 11.83 kB / 0.5081 GB, free: 9.867 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001808/0.6379, allocations: 40 kB / 0.5081 GB, free: 9.828 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.589e-05/0.638, allocations: 20 kB / 0.5082 GB, free: 9.809 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002474/0.6405, allocations: 483.7 kB / 0.5086 GB, free: 9.336 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005471/0.646, allocations: 3.651 MB / 0.5122 GB, free: 5.531 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006847/0.6467, allocations: 207.2 kB / 0.5124 GB, free: 5.312 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002134/0.6469, allocations: 96.86 kB / 0.5125 GB, free: 5.215 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002672/0.6472, allocations: 243.3 kB / 0.5127 GB, free: 4.922 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.677e-05/0.6473, allocations: 42.5 kB / 0.5127 GB, free: 4.871 MB / 426.7 MB Notification: Performance of pre-optimization done (n=30): time 3.625e-06/0.6473, allocations: 0 / 0.5127 GB, free: 4.871 MB / 426.7 MB Notification: Performance of matching and sorting (n=35): time 0.002907/0.6502, allocations: 1.177 MB / 0.5139 GB, free: 3.598 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.557e-05/0.6503, allocations: 59.34 kB / 0.514 GB, free: 3.527 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005596/0.6508, allocations: 339.1 kB / 0.5143 GB, free: 3.191 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.973e-05/0.6509, allocations: 37.64 kB / 0.5143 GB, free: 3.148 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000393/0.6513, allocations: 466.1 kB / 0.5148 GB, free: 2.684 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001375/0.6515, allocations: 142.1 kB / 0.5149 GB, free: 2.543 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.704e-05/0.6515, allocations: 8 kB / 0.5149 GB, free: 2.535 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002258/0.6517, allocations: 362.8 kB / 0.5152 GB, free: 2.172 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002857/0.652, allocations: 105.1 kB / 0.5153 GB, free: 2.066 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004295/0.6525, allocations: 289.2 kB / 0.5156 GB, free: 1.703 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003698/0.6529, allocations: 155.5 kB / 0.5158 GB, free: 1.551 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.253e-06/0.6529, allocations: 8 kB / 0.5158 GB, free: 1.543 MB / 426.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001072/0.654, allocations: 477.6 kB / 0.5162 GB, free: 1.066 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.524e-05/0.654, allocations: 8 kB / 0.5162 GB, free: 1.059 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.734e-05/0.654, allocations: 11.98 kB / 0.5163 GB, free: 1.047 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002444/0.6543, allocations: 40.78 kB / 0.5163 GB, free: 1.004 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005368/0.6549, allocations: 119.8 kB / 0.5164 GB, free: 0.8867 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005294/0.6554, allocations: 0.5605 MB / 0.517 GB, free: 308 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003128/0.6557, allocations: 20 kB / 0.517 GB, free: 288 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.356e-05/0.6558, allocations: 27.98 kB / 0.517 GB, free: 260 kB / 426.7 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.0001724/0.656, allocations: 136.8 kB / 0.5171 GB, free: 116 kB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001068/0.6561, allocations: 51.39 kB / 0.5172 GB, free: 64 kB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008272/0.657, allocations: 328.1 kB / 0.5175 GB, free: 15.73 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.31e-05/0.657, allocations: 4 kB / 0.5175 GB, free: 15.73 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.436e-06/0.657, allocations: 0 / 0.5175 GB, free: 15.73 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.047e-05/0.657, allocations: 3.984 kB / 0.5175 GB, free: 15.73 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002094/0.6591, allocations: 1.042 MB / 0.5185 GB, free: 14.61 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.726e-06/0.6592, allocations: 0 / 0.5185 GB, free: 14.61 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005332/0.6597, allocations: 83.89 kB / 0.5186 GB, free: 14.53 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002007/0.6599, allocations: 32.78 kB / 0.5186 GB, free: 14.49 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.95e-05/0.66, allocations: 8 kB / 0.5186 GB, free: 14.48 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004992/0.6605, allocations: 0.5525 MB / 0.5192 GB, free: 13.91 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.332e-06/0.6605, allocations: 0 / 0.5192 GB, free: 13.91 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001058/0.6616, allocations: 0.591 MB / 0.5197 GB, free: 13.25 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001398/0.6617, allocations: 124.4 kB / 0.5199 GB, free: 13.11 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.24e-05/0.6618, allocations: 12 kB / 0.5199 GB, free: 13.09 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002323/0.6621, allocations: 15.98 kB / 0.5199 GB, free: 13.08 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.804e-05/0.6621, allocations: 28 kB / 0.5199 GB, free: 13.05 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.264e-05/0.6622, allocations: 12 kB / 0.5199 GB, free: 13.04 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.000409/0.6626, allocations: 261.2 kB / 0.5202 GB, free: 12.79 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.41e-07/0.6626, allocations: 0 / 0.5202 GB, free: 12.79 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0007736/0.6634, allocations: 135.9 kB / 0.5203 GB, free: 12.65 MB / 442.7 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.0002173/0.6637, allocations: 124.9 kB / 0.5204 GB, free: 12.53 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0007904/0.6645, allocations: 295.6 kB / 0.5207 GB, free: 12.24 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.319e-06/0.6645, allocations: 0 / 0.5207 GB, free: 12.24 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003466/0.6648, allocations: 139.3 kB / 0.5208 GB, free: 12.11 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004939/0.6654, allocations: 70.27 kB / 0.5209 GB, free: 12.04 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002872/0.6682, allocations: 1.32 MB / 0.5222 GB, free: 10.67 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008242/0.6691, allocations: 0.9756 MB / 0.5232 GB, free: 9.668 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002738/0.6694, allocations: 64.48 kB / 0.5232 GB, free: 9.605 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001219/0.6695, allocations: 43.42 kB / 0.5233 GB, free: 9.562 MB / 442.7 MB Notification: Performance of SimCode: time 1.69e-06/0.6695, allocations: 0 / 0.5233 GB, free: 9.562 MB / 442.7 MB Notification: Performance of Templates: time 0.01413/0.6837, allocations: 3.814 MB / 0.527 GB, free: 5.766 MB / 442.7 MB