Running command: translateModel(Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs") Notification: Performance of loadModel(Modelica): time 1.911/1.911, allocations: 225.8 MB / 239.3 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.391e-05/3.404e-05, allocations: 5.547 kB / 292.1 MB, free: 8.828 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09178/0.09183, allocations: 50.41 MB / 342.5 MB, free: 6.387 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3672/0.4591, allocations: 82.53 MB / 425.1 MB, free: 11.65 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001959/0.4593, allocations: 74.77 kB / 425.1 MB, free: 11.61 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04443/0.5037, allocations: 11.92 MB / 437.1 MB, free: 1.781 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.262e-06/0.5038, allocations: 0 / 437.1 MB, free: 1.781 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.164e-05/0.5039, allocations: 27.98 kB / 437.1 MB, free: 1.754 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.001536/0.5054, allocations: 0.8344 MB / 437.9 MB, free: 0.9219 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.5055, allocations: 8.031 kB / 437.9 MB, free: 0.9141 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001872/0.5057, allocations: 86.97 kB / 438 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000896/0.5066, allocations: 0.5005 MB / 438.5 MB, free: 400 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.518e-05/0.5067, allocations: 65.19 kB / 438.6 MB, free: 364 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001545/0.5068, allocations: 85.41 kB / 438.7 MB, free: 304 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001863/0.5087, allocations: 0.7647 MB / 439.4 MB, free: 15.74 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.438e-05/0.5088, allocations: 4 kB / 439.4 MB, free: 15.74 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.721e-05/0.5089, allocations: 37.31 kB / 439.5 MB, free: 15.73 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.61e-05/0.5089, allocations: 20 kB / 439.5 MB, free: 15.71 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001259/0.5102, allocations: 455.2 kB / 439.9 MB, free: 15.42 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005918/0.5161, allocations: 2.897 MB / 442.8 MB, free: 12.93 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001173/0.5174, allocations: 210.3 kB / 443 MB, free: 12.78 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003426/0.5177, allocations: 89.42 kB / 443.1 MB, free: 12.72 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003728/0.5181, allocations: 251.1 kB / 443.4 MB, free: 12.42 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.057e-05/0.5182, allocations: 42.55 kB / 443.4 MB, free: 12.37 MB / 362.7 MB Notification: Performance of pre-optimization done (n=30): time 5.411e-06/0.5182, allocations: 0 / 443.4 MB, free: 12.37 MB / 362.7 MB Notification: Performance of matching and sorting (n=35): time 0.004442/0.5227, allocations: 1.156 MB / 444.6 MB, free: 11.3 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.775e-05/0.5228, allocations: 55.34 kB / 444.6 MB, free: 11.23 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006515/0.5235, allocations: 268.8 kB / 444.9 MB, free: 11.01 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.041e-05/0.5235, allocations: 29.58 kB / 444.9 MB, free: 10.98 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003102/0.5239, allocations: 441.1 kB / 445.4 MB, free: 10.6 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001334/0.524, allocations: 139.2 kB / 445.5 MB, free: 10.48 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.588e-05/0.524, allocations: 11.75 kB / 445.5 MB, free: 10.48 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001798/0.5242, allocations: 332.9 kB / 445.8 MB, free: 10.15 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002396/0.5245, allocations: 100 kB / 445.9 MB, free: 10.09 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003667/0.5249, allocations: 242.2 kB / 446.2 MB, free: 9.84 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003212/0.5252, allocations: 140.4 kB / 446.3 MB, free: 9.746 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.711e-06/0.5252, allocations: 4 kB / 446.3 MB, free: 9.742 MB / 362.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.000906/0.5261, allocations: 409 kB / 446.7 MB, free: 9.422 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.685e-05/0.5262, allocations: 12.55 kB / 446.7 MB, free: 9.41 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.223e-05/0.5262, allocations: 4 kB / 446.7 MB, free: 9.406 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002538/0.5265, allocations: 43.53 kB / 446.8 MB, free: 9.367 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004934/0.527, allocations: 107.4 kB / 446.9 MB, free: 9.266 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005358/0.5275, allocations: 0.5569 MB / 447.4 MB, free: 8.699 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002839/0.5278, allocations: 14.94 kB / 447.4 MB, free: 8.691 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.71e-05/0.5279, allocations: 19.38 kB / 447.5 MB, free: 8.676 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 59 * 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.0001567/0.5281, allocations: 142.6 kB / 447.6 MB, free: 8.543 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.059e-05/0.5282, allocations: 35.53 kB / 447.6 MB, free: 8.508 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007463/0.5289, allocations: 311.3 kB / 447.9 MB, free: 8.281 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.535e-06/0.529, allocations: 4 kB / 447.9 MB, free: 8.277 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.529, allocations: 0 / 447.9 MB, free: 8.277 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.4e-06/0.529, allocations: 0 / 447.9 MB, free: 8.277 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001942/0.531, allocations: 1.003 MB / 448.9 MB, free: 7.434 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.338e-06/0.531, allocations: 0 / 448.9 MB, free: 7.434 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005551/0.5315, allocations: 83.3 kB / 449 MB, free: 7.355 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001953/0.5318, allocations: 36.55 kB / 449.1 MB, free: 7.32 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.748e-05/0.5318, allocations: 11.88 kB / 449.1 MB, free: 7.312 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004756/0.5323, allocations: 0.5416 MB / 449.6 MB, free: 6.762 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.649e-06/0.5323, allocations: 0 / 449.6 MB, free: 6.762 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001026/0.5334, allocations: 0.5983 MB / 450.2 MB, free: 6.211 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001266/0.5335, allocations: 108.6 kB / 450.3 MB, free: 6.086 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.07e-05/0.5336, allocations: 10.19 kB / 450.3 MB, free: 6.082 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002239/0.5338, allocations: 7.438 kB / 450.3 MB, free: 6.078 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.718e-05/0.5339, allocations: 31.55 kB / 450.4 MB, free: 6.051 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.381e-05/0.534, allocations: 11.44 kB / 450.4 MB, free: 6.043 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003072/0.5343, allocations: 206.4 kB / 450.6 MB, free: 5.875 MB / 362.7 MB Notification: Performance of sort global known variables: time 9.24e-07/0.5343, allocations: 4 kB / 450.6 MB, free: 5.871 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006986/0.535, allocations: 131 kB / 450.7 MB, free: 5.754 MB / 362.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.phi,inertia2b.w,torqueToAngle2b.phi,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.0002227/0.5352, allocations: 132.7 kB / 450.8 MB, free: 5.625 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007469/0.536, allocations: 278.6 kB / 451.1 MB, free: 5.422 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.585e-06/0.536, allocations: 0 / 451.1 MB, free: 5.422 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003501/0.5364, allocations: 138.5 kB / 451.2 MB, free: 5.32 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004796/0.5369, allocations: 61.58 kB / 451.3 MB, free: 5.277 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002912/0.5398, allocations: 1.371 MB / 452.7 MB, free: 3.945 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007766/0.5406, allocations: 0.9392 MB / 453.6 MB, free: 2.988 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001417/0.5408, allocations: 31.44 kB / 453.6 MB, free: 2.957 MB / 362.7 MB Notification: Performance of SimCode: time 2.468e-06/0.5408, allocations: 0 / 453.6 MB, free: 2.957 MB / 362.7 MB Notification: Performance of Templates: time 0.01831/0.5591, allocations: 9.219 MB / 462.9 MB, free: 9.883 MB / 378.7 MB