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_4.0.0_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs") Notification: Performance of loadModel(Modelica): time 2.108/2.108, allocations: 225.8 MB / 238.8 MB, free: 11.15 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.357e-05/3.369e-05, allocations: 1.406 kB / 292.1 MB, free: 8.332 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08901/0.08907, allocations: 50.42 MB / 342.6 MB, free: 5.898 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3686/0.4577, allocations: 82.47 MB / 425 MB, free: 11.77 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001894/0.458, allocations: 72.45 kB / 425.1 MB, free: 11.73 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05047/0.5085, allocations: 11.93 MB / 437 MB, free: 1.891 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.556e-06/0.5085, allocations: 0 / 437 MB, free: 1.891 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.936e-05/0.5086, allocations: 23.98 kB / 437.1 MB, free: 1.867 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.002594/0.5113, allocations: 0.8335 MB / 437.9 MB, free: 1.035 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.233e-05/0.5113, allocations: 12.03 kB / 437.9 MB, free: 1.023 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003235/0.5117, allocations: 86.97 kB / 438 MB, free: 0.9375 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001507/0.5132, allocations: 0.5018 MB / 438.5 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.733e-05/0.5133, allocations: 59.69 kB / 438.5 MB, free: 476 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002694/0.5136, allocations: 89.28 kB / 438.6 MB, free: 416 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002172/0.5158, allocations: 0.766 MB / 439.4 MB, free: 15.85 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.392e-05/0.5159, allocations: 3.25 kB / 439.4 MB, free: 15.85 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.412e-05/0.516, allocations: 35.44 kB / 439.4 MB, free: 15.84 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.092e-05/0.516, allocations: 24 kB / 439.5 MB, free: 15.82 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00126/0.5173, allocations: 455.9 kB / 439.9 MB, free: 15.52 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004667/0.522, allocations: 2.896 MB / 442.8 MB, free: 13.04 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006603/0.5227, allocations: 207.3 kB / 443 MB, free: 12.88 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002068/0.5229, allocations: 95.11 kB / 443.1 MB, free: 12.82 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002784/0.5232, allocations: 251.8 kB / 443.3 MB, free: 12.53 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.338e-05/0.5233, allocations: 30.56 kB / 443.4 MB, free: 12.49 MB / 362.7 MB Notification: Performance of pre-optimization done (n=30): time 3.593e-06/0.5233, allocations: 0 / 443.4 MB, free: 12.49 MB / 362.7 MB Notification: Performance of matching and sorting (n=35): time 0.002823/0.5261, allocations: 1.156 MB / 444.5 MB, free: 11.42 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.064e-05/0.5262, allocations: 59.34 kB / 444.6 MB, free: 11.35 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004071/0.5266, allocations: 267.1 kB / 444.8 MB, free: 11.12 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.653e-05/0.5267, allocations: 36.58 kB / 444.9 MB, free: 11.09 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003046/0.527, allocations: 395.3 kB / 445.3 MB, free: 10.76 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001322/0.5271, allocations: 138.9 kB / 445.4 MB, free: 10.64 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.652e-05/0.5272, allocations: 11 kB / 445.4 MB, free: 10.64 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002033/0.5274, allocations: 348.3 kB / 445.8 MB, free: 10.3 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002535/0.5277, allocations: 100.6 kB / 445.8 MB, free: 10.24 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003663/0.528, allocations: 234.9 kB / 446.1 MB, free: 9.996 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003372/0.5284, allocations: 144.2 kB / 446.2 MB, free: 9.898 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.858e-06/0.5284, allocations: 4 kB / 446.2 MB, free: 9.895 MB / 362.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0009357/0.5294, allocations: 430.8 kB / 446.6 MB, free: 9.559 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.567e-05/0.5294, allocations: 11.95 kB / 446.7 MB, free: 9.547 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.567e-05/0.5294, allocations: 4 kB / 446.7 MB, free: 9.543 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002492/0.5297, allocations: 40.28 kB / 446.7 MB, free: 9.504 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005028/0.5302, allocations: 103 kB / 446.8 MB, free: 9.406 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000522/0.5307, allocations: 0.5575 MB / 447.4 MB, free: 8.84 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002739/0.531, allocations: 14.38 kB / 447.4 MB, free: 8.832 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.592e-05/0.5311, allocations: 19.44 kB / 447.4 MB, free: 8.816 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.000149/0.5313, allocations: 138.9 kB / 447.5 MB, free: 8.688 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.23e-05/0.5314, allocations: 39.52 kB / 447.6 MB, free: 8.648 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007795/0.5322, allocations: 314.4 kB / 447.9 MB, free: 8.422 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.244e-05/0.5322, allocations: 4 kB / 447.9 MB, free: 8.418 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.5322, allocations: 0 / 447.9 MB, free: 8.418 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.812e-06/0.5323, allocations: 0 / 447.9 MB, free: 8.418 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003334/0.5356, allocations: 1.007 MB / 448.9 MB, free: 7.566 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.466e-05/0.5357, allocations: 4 kB / 448.9 MB, free: 7.562 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001015/0.5367, allocations: 75.89 kB / 449 MB, free: 7.488 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003022/0.537, allocations: 39.61 kB / 449 MB, free: 7.453 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.124e-05/0.5371, allocations: 7.375 kB / 449 MB, free: 7.449 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006583/0.5378, allocations: 0.5468 MB / 449.6 MB, free: 6.895 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.698e-06/0.5378, allocations: 4.031 kB / 449.6 MB, free: 6.891 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001565/0.5394, allocations: 0.5908 MB / 450.1 MB, free: 6.348 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002025/0.5396, allocations: 108.6 kB / 450.3 MB, free: 6.223 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001104/0.5397, allocations: 7.562 kB / 450.3 MB, free: 6.219 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004287/0.5402, allocations: 11.81 kB / 450.3 MB, free: 6.215 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001134/0.5403, allocations: 28 kB / 450.3 MB, free: 6.188 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.209e-05/0.5404, allocations: 15.42 kB / 450.3 MB, free: 6.176 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004627/0.5409, allocations: 207 kB / 450.5 MB, free: 6.012 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.018e-06/0.5409, allocations: 0 / 450.5 MB, free: 6.012 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001275/0.5422, allocations: 130.6 kB / 450.6 MB, free: 5.895 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.0003119/0.5425, allocations: 125.9 kB / 450.8 MB, free: 5.77 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00124/0.5438, allocations: 288.1 kB / 451 MB, free: 5.535 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.832e-06/0.5438, allocations: 0 / 451 MB, free: 5.535 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006069/0.5445, allocations: 131.8 kB / 451.2 MB, free: 5.406 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008243/0.5453, allocations: 55.14 kB / 451.2 MB, free: 5.355 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004875/0.5502, allocations: 1.338 MB / 452.6 MB, free: 3.973 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001155/0.5514, allocations: 0.9327 MB / 453.5 MB, free: 3.016 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0004637/0.5519, allocations: 43.34 kB / 453.5 MB, free: 2.973 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001554/0.5521, allocations: 31.44 kB / 453.6 MB, free: 2.941 MB / 362.7 MB Notification: Performance of SimCode: time 2.656e-06/0.5521, allocations: 4 kB / 453.6 MB, free: 2.938 MB / 362.7 MB Notification: Performance of Templates: time 0.02173/0.5739, allocations: 3.437 MB / 457 MB, free: 15.52 MB / 378.7 MB