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_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs") Notification: Performance of loadModel(ModelicaTest): time 2.447/2.447, allocations: 270 MB / 283.6 MB, free: 3.039 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.716e-05/4.738e-05, allocations: 7.938 kB / 348.4 MB, free: 10.82 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.1119, allocations: 61.88 MB / 410.3 MB, free: 13.01 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4979/0.6098, allocations: 93.46 MB / 0.4919 GB, free: 10.7 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002112/0.6101, allocations: 68.94 kB / 0.492 GB, free: 10.63 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0561/0.6662, allocations: 13.89 MB / 0.5055 GB, free: 12.65 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.739e-06/0.6663, allocations: 4 kB / 0.5055 GB, free: 12.64 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001009/0.6664, allocations: 31.92 kB / 0.5056 GB, free: 12.61 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.002762/0.6692, allocations: 0.9001 MB / 0.5064 GB, free: 11.66 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.104e-05/0.6693, allocations: 16.02 kB / 0.5065 GB, free: 11.65 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000358/0.6696, allocations: 102.8 kB / 0.5066 GB, free: 11.55 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001851/0.6715, allocations: 0.5437 MB / 0.5071 GB, free: 10.96 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001239/0.6717, allocations: 70 kB / 0.5072 GB, free: 10.89 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002962/0.672, allocations: 88 kB / 0.5072 GB, free: 10.8 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003465/0.6755, allocations: 0.8464 MB / 0.5081 GB, free: 9.895 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.695e-05/0.6756, allocations: 15.78 kB / 0.5081 GB, free: 9.879 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001665/0.6758, allocations: 40 kB / 0.5081 GB, free: 9.84 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.612e-05/0.6759, allocations: 24 kB / 0.5081 GB, free: 9.816 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002427/0.6783, allocations: 479.7 kB / 0.5086 GB, free: 9.348 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008978/0.6873, allocations: 3.639 MB / 0.5122 GB, free: 5.555 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001142/0.6885, allocations: 207.2 kB / 0.5124 GB, free: 5.336 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003805/0.6889, allocations: 96.84 kB / 0.5124 GB, free: 5.238 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004074/0.6893, allocations: 251.3 kB / 0.5127 GB, free: 4.938 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.509e-05/0.6894, allocations: 34.5 kB / 0.5127 GB, free: 4.895 MB / 426.7 MB Notification: Performance of pre-optimization done (n=30): time 6.19e-06/0.6894, allocations: 0 / 0.5127 GB, free: 4.895 MB / 426.7 MB Notification: Performance of matching and sorting (n=35): time 0.004882/0.6943, allocations: 1.181 MB / 0.5139 GB, free: 3.617 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.443e-05/0.6945, allocations: 59.41 kB / 0.5139 GB, free: 3.547 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009095/0.6954, allocations: 347 kB / 0.5143 GB, free: 3.207 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.145e-05/0.6955, allocations: 33.64 kB / 0.5143 GB, free: 3.168 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006133/0.6961, allocations: 466.1 kB / 0.5147 GB, free: 2.703 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002194/0.6963, allocations: 134.1 kB / 0.5149 GB, free: 2.57 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.69e-05/0.6964, allocations: 12 kB / 0.5149 GB, free: 2.559 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002937/0.6967, allocations: 358.8 kB / 0.5152 GB, free: 2.199 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004796/0.6972, allocations: 105.1 kB / 0.5153 GB, free: 2.094 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007336/0.698, allocations: 289.2 kB / 0.5156 GB, free: 1.73 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006684/0.6987, allocations: 163.5 kB / 0.5157 GB, free: 1.57 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.562e-06/0.6987, allocations: 0 / 0.5157 GB, free: 1.57 MB / 426.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001959/0.7007, allocations: 477.3 kB / 0.5162 GB, free: 1.094 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.945e-05/0.7008, allocations: 8 kB / 0.5162 GB, free: 1.086 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.385e-05/0.7008, allocations: 8 kB / 0.5162 GB, free: 1.078 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003906/0.7012, allocations: 44.78 kB / 0.5163 GB, free: 1.031 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001005/0.7022, allocations: 128.4 kB / 0.5164 GB, free: 0.9062 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007743/0.7031, allocations: 0.5641 MB / 0.5169 GB, free: 324 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006166/0.7037, allocations: 16 kB / 0.517 GB, free: 308 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001001/0.7038, allocations: 24 kB / 0.517 GB, free: 284 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.0002445/0.7041, allocations: 139.6 kB / 0.5171 GB, free: 140 kB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001846/0.7043, allocations: 51.39 kB / 0.5172 GB, free: 88 kB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001433/0.7058, allocations: 328.2 kB / 0.5175 GB, free: 15.75 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.595e-06/0.7058, allocations: 0 / 0.5175 GB, free: 15.75 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.345e-05/0.7058, allocations: 4 kB / 0.5175 GB, free: 15.75 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.517e-05/0.7059, allocations: 0 / 0.5175 GB, free: 15.75 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003758/0.7096, allocations: 1.052 MB / 0.5185 GB, free: 14.63 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.679e-06/0.7097, allocations: 0 / 0.5185 GB, free: 14.63 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001036/0.7108, allocations: 79.89 kB / 0.5186 GB, free: 14.55 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003214/0.7111, allocations: 32.84 kB / 0.5186 GB, free: 14.52 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.074e-05/0.7112, allocations: 12.16 kB / 0.5186 GB, free: 14.5 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007195/0.7119, allocations: 0.5485 MB / 0.5192 GB, free: 13.93 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.072e-06/0.712, allocations: 4 kB / 0.5192 GB, free: 13.93 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001872/0.7139, allocations: 0.591 MB / 0.5197 GB, free: 13.27 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002305/0.7141, allocations: 124.4 kB / 0.5199 GB, free: 13.12 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001205/0.7143, allocations: 12 kB / 0.5199 GB, free: 13.11 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004476/0.7147, allocations: 8 kB / 0.5199 GB, free: 13.11 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001165/0.7149, allocations: 28 kB / 0.5199 GB, free: 13.08 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.406e-05/0.715, allocations: 15.98 kB / 0.5199 GB, free: 13.06 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0007007/0.7157, allocations: 261.2 kB / 0.5202 GB, free: 12.81 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.316e-06/0.7157, allocations: 0 / 0.5202 GB, free: 12.81 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001417/0.7172, allocations: 131.9 kB / 0.5203 GB, free: 12.68 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.0003139/0.7175, allocations: 126.1 kB / 0.5204 GB, free: 12.55 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001367/0.7189, allocations: 299.8 kB / 0.5207 GB, free: 12.26 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.7189, allocations: 1.688 kB / 0.5207 GB, free: 12.26 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006115/0.7196, allocations: 131.8 kB / 0.5208 GB, free: 12.13 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009403/0.7205, allocations: 71.06 kB / 0.5209 GB, free: 12.06 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004843/0.7254, allocations: 1.331 MB / 0.5222 GB, free: 10.68 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001193/0.7266, allocations: 0.9678 MB / 0.5231 GB, free: 9.688 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0005418/0.7272, allocations: 68.53 kB / 0.5232 GB, free: 9.621 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001902/0.7274, allocations: 43.42 kB / 0.5232 GB, free: 9.578 MB / 442.7 MB Notification: Performance of SimCode: time 2.681e-06/0.7275, allocations: 0 / 0.5232 GB, free: 9.578 MB / 442.7 MB Notification: Performance of Templates: time 0.02155/0.749, allocations: 3.82 MB / 0.527 GB, free: 5.777 MB / 442.7 MB