Running command: translateModel(Modelica.Mechanics.Rotational.Examples.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="Modelica_trunk_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs") Notification: Performance of loadModel(Modelica): time 2.055/2.055, allocations: 225.8 MB / 239.4 MB, free: 11.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.021e-05/4.037e-05, allocations: 5.562 kB / 292.7 MB, free: 8.355 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1102/0.1103, allocations: 50.42 MB / 343.1 MB, free: 5.922 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3672/0.4775, allocations: 82.48 MB / 425.6 MB, free: 11.78 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003462/0.4779, allocations: 72.41 kB / 425.6 MB, free: 11.75 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04531/0.5232, allocations: 11.92 MB / 437.5 MB, free: 1.918 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.127e-06/0.5233, allocations: 4 kB / 437.6 MB, free: 1.914 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.801e-05/0.5233, allocations: 23.98 kB / 437.6 MB, free: 1.891 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.001561/0.5249, allocations: 0.8329 MB / 438.4 MB, free: 1.059 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/0.525, allocations: 12.03 kB / 438.4 MB, free: 1.047 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001946/0.5252, allocations: 82.97 kB / 438.5 MB, free: 0.9648 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009187/0.5261, allocations: 0.5096 MB / 439 MB, free: 0.5195 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.072e-05/0.5262, allocations: 58.31 kB / 439.1 MB, free: 500 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00016/0.5264, allocations: 94.77 kB / 439.2 MB, free: 436 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0018/0.5282, allocations: 0.7621 MB / 439.9 MB, free: 15.87 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.223e-05/0.5282, allocations: 0 / 439.9 MB, free: 15.87 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.251e-05/0.5283, allocations: 39.48 kB / 440 MB, free: 15.86 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.1e-05/0.5284, allocations: 24 kB / 440 MB, free: 15.84 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001265/0.5297, allocations: 457.5 kB / 440.4 MB, free: 15.54 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004586/0.5343, allocations: 2.892 MB / 443.3 MB, free: 13.06 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006579/0.535, allocations: 208.3 kB / 443.5 MB, free: 12.91 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000203/0.5352, allocations: 99.05 kB / 443.6 MB, free: 12.84 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002818/0.5355, allocations: 251.8 kB / 443.9 MB, free: 12.54 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.264e-05/0.5355, allocations: 33.44 kB / 443.9 MB, free: 12.5 MB / 362.7 MB Notification: Performance of pre-optimization done (n=30): time 3.323e-06/0.5355, allocations: 0 / 443.9 MB, free: 12.5 MB / 362.7 MB Notification: Performance of matching and sorting (n=35): time 0.002767/0.5383, allocations: 1.159 MB / 445.1 MB, free: 11.43 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.769e-05/0.5384, allocations: 55.41 kB / 445.1 MB, free: 11.36 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003989/0.5388, allocations: 263.3 kB / 445.4 MB, free: 11.14 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.648e-05/0.5389, allocations: 33.52 kB / 445.4 MB, free: 11.11 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002999/0.5392, allocations: 396.5 kB / 445.8 MB, free: 10.78 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001321/0.5393, allocations: 136.9 kB / 445.9 MB, free: 10.66 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.495e-05/0.5394, allocations: 11.81 kB / 445.9 MB, free: 10.66 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001984/0.5396, allocations: 349.2 kB / 446.3 MB, free: 10.32 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002412/0.5398, allocations: 98 kB / 446.4 MB, free: 10.27 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003614/0.5402, allocations: 241.8 kB / 446.6 MB, free: 10.02 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000327/0.5405, allocations: 141.7 kB / 446.7 MB, free: 9.918 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.043e-06/0.5406, allocations: 4 kB / 446.8 MB, free: 9.914 MB / 362.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0009307/0.5415, allocations: 427.8 kB / 447.2 MB, free: 9.578 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.809e-05/0.5415, allocations: 11.95 kB / 447.2 MB, free: 9.566 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/0.5416, allocations: 4 kB / 447.2 MB, free: 9.562 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002417/0.5418, allocations: 35.34 kB / 447.2 MB, free: 9.531 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004901/0.5423, allocations: 111.3 kB / 447.3 MB, free: 9.426 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005238/0.5429, allocations: 0.5577 MB / 447.9 MB, free: 8.859 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002721/0.5432, allocations: 19.3 kB / 447.9 MB, free: 8.848 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.665e-05/0.5432, allocations: 19.19 kB / 447.9 MB, free: 8.832 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.0001512/0.5434, allocations: 137.8 kB / 448.1 MB, free: 8.703 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.341e-05/0.5435, allocations: 35.53 kB / 448.1 MB, free: 8.668 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007505/0.5443, allocations: 312.6 kB / 448.4 MB, free: 8.441 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.649e-06/0.5443, allocations: 4 kB / 448.4 MB, free: 8.438 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.521e-06/0.5443, allocations: 0 / 448.4 MB, free: 8.438 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.5443, allocations: 0 / 448.4 MB, free: 8.438 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001955/0.5463, allocations: 1.002 MB / 449.4 MB, free: 7.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.852e-06/0.5463, allocations: 0 / 449.4 MB, free: 7.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005261/0.5468, allocations: 83.14 kB / 449.5 MB, free: 7.512 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001946/0.5471, allocations: 36.73 kB / 449.5 MB, free: 7.477 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.319e-05/0.5471, allocations: 10.69 kB / 449.5 MB, free: 7.473 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004842/0.5476, allocations: 0.5444 MB / 450.1 MB, free: 6.918 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.049e-06/0.5476, allocations: 7.938 kB / 450.1 MB, free: 6.91 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001014/0.5486, allocations: 0.5937 MB / 450.7 MB, free: 6.363 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001303/0.5488, allocations: 111.6 kB / 450.8 MB, free: 6.238 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.297e-05/0.5489, allocations: 7.312 kB / 450.8 MB, free: 6.234 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002219/0.5491, allocations: 14.61 kB / 450.8 MB, free: 6.227 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.726e-05/0.5492, allocations: 28 kB / 450.8 MB, free: 6.199 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.547e-05/0.5492, allocations: 11.12 kB / 450.8 MB, free: 6.191 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003013/0.5496, allocations: 207.5 kB / 451 MB, free: 6.023 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.59e-07/0.5496, allocations: 0 / 451 MB, free: 6.023 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007097/0.5503, allocations: 133.5 kB / 451.2 MB, free: 5.906 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.0002415/0.5505, allocations: 127.5 kB / 451.3 MB, free: 5.777 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008204/0.5514, allocations: 282.7 kB / 451.6 MB, free: 5.57 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.78e-06/0.5514, allocations: 0 / 451.6 MB, free: 5.57 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006124/0.552, allocations: 129.1 kB / 451.7 MB, free: 5.445 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006581/0.5527, allocations: 58.62 kB / 451.8 MB, free: 5.391 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002966/0.5557, allocations: 1.33 MB / 453.1 MB, free: 4.016 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007899/0.5565, allocations: 0.9327 MB / 454 MB, free: 3.059 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002624/0.5568, allocations: 51.31 kB / 454.1 MB, free: 3.008 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001007/0.5569, allocations: 31.44 kB / 454.1 MB, free: 2.977 MB / 362.7 MB Notification: Performance of SimCode: time 1.633e-06/0.557, allocations: 4 kB / 454.1 MB, free: 2.973 MB / 362.7 MB Notification: Performance of Templates: time 0.01316/0.5701, allocations: 3.435 MB / 457.5 MB, free: 15.56 MB / 378.7 MB