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_3.2.3_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs") Notification: Performance of loadModel(Modelica): time 1.957/1.957, allocations: 205.8 MB / 218.9 MB, free: 9.266 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.971e-05/2.978e-05, allocations: 8 kB / 269.3 MB, free: 6.406 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09785/0.0979, allocations: 47.58 MB / 316.9 MB, free: 6.742 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3559/0.4538, allocations: 81.46 MB / 398.4 MB, free: 6.703 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001972/0.4541, allocations: 75.2 kB / 398.5 MB, free: 6.664 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04381/0.4979, allocations: 11.7 MB / 410.2 MB, free: 13.03 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.743e-06/0.4979, allocations: 0 / 410.2 MB, free: 13.03 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.408e-05/0.498, allocations: 32.16 kB / 410.2 MB, free: 13 MB / 330.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.0016/0.4996, allocations: 0.84 MB / 411 MB, free: 12.16 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.4997, allocations: 8.031 kB / 411 MB, free: 12.15 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002007/0.4999, allocations: 90.92 kB / 411.1 MB, free: 12.06 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009371/0.5008, allocations: 0.4926 MB / 411.6 MB, free: 11.63 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.729e-05/0.5009, allocations: 69 kB / 411.7 MB, free: 11.59 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001615/0.5011, allocations: 94.66 kB / 411.8 MB, free: 11.53 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001805/0.5029, allocations: 0.7586 MB / 412.5 MB, free: 10.98 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.085e-05/0.503, allocations: 7.984 kB / 412.6 MB, free: 10.97 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.87e-05/0.5031, allocations: 34.94 kB / 412.6 MB, free: 10.96 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.455e-05/0.5031, allocations: 20 kB / 412.6 MB, free: 10.94 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001273/0.5044, allocations: 458.4 kB / 413.1 MB, free: 10.64 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004648/0.5091, allocations: 2.894 MB / 415.9 MB, free: 8.164 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006687/0.5098, allocations: 209.5 kB / 416.2 MB, free: 8.008 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002013/0.51, allocations: 98.17 kB / 416.2 MB, free: 7.941 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002851/0.5103, allocations: 247 kB / 416.5 MB, free: 7.648 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.549e-05/0.5104, allocations: 38.55 kB / 416.5 MB, free: 7.602 MB / 330.7 MB Notification: Performance of pre-optimization done (n=30): time 3.697e-06/0.5104, allocations: 0 / 416.5 MB, free: 7.602 MB / 330.7 MB Notification: Performance of matching and sorting (n=35): time 0.002823/0.5132, allocations: 1.151 MB / 417.7 MB, free: 6.535 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.812e-05/0.5133, allocations: 58.78 kB / 417.7 MB, free: 6.469 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004083/0.5137, allocations: 267.7 kB / 418 MB, free: 6.242 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.509e-05/0.5138, allocations: 28.83 kB / 418 MB, free: 6.211 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002998/0.5141, allocations: 400.5 kB / 418.4 MB, free: 5.879 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001311/0.5142, allocations: 135 kB / 418.5 MB, free: 5.766 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.139e-05/0.5143, allocations: 6.312 kB / 418.6 MB, free: 5.766 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002039/0.5145, allocations: 350.4 kB / 418.9 MB, free: 5.43 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002388/0.5147, allocations: 96.94 kB / 419 MB, free: 5.371 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003722/0.5151, allocations: 239.6 kB / 419.2 MB, free: 5.121 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003251/0.5155, allocations: 151.3 kB / 419.4 MB, free: 5.016 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.899e-06/0.5155, allocations: 0 / 419.4 MB, free: 5.016 MB / 330.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0009451/0.5164, allocations: 420.2 kB / 419.8 MB, free: 4.688 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.277e-05/0.5165, allocations: 4 kB / 419.8 MB, free: 4.684 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.671e-05/0.5165, allocations: 11.98 kB / 419.8 MB, free: 4.672 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002464/0.5168, allocations: 36.22 kB / 419.8 MB, free: 4.637 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004922/0.5173, allocations: 111.3 kB / 419.9 MB, free: 4.531 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005372/0.5178, allocations: 0.5601 MB / 420.5 MB, free: 3.961 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002766/0.5181, allocations: 21.62 kB / 420.5 MB, free: 3.949 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.825e-05/0.5182, allocations: 23.38 kB / 420.5 MB, free: 3.93 MB / 330.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.0001458/0.5184, allocations: 131.5 kB / 420.7 MB, free: 3.809 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.468e-05/0.5185, allocations: 35.62 kB / 420.7 MB, free: 3.773 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000764/0.5192, allocations: 306.8 kB / 421 MB, free: 3.551 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.166e-05/0.5193, allocations: 4 kB / 421 MB, free: 3.547 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.462e-06/0.5193, allocations: 7.891 kB / 421 MB, free: 3.539 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.561e-05/0.5193, allocations: 7.984 kB / 421 MB, free: 3.531 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001959/0.5213, allocations: 0.9972 MB / 422 MB, free: 2.688 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.648e-06/0.5213, allocations: 0 / 422 MB, free: 2.688 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005075/0.5218, allocations: 83.08 kB / 422.1 MB, free: 2.609 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000197/0.522, allocations: 31.66 kB / 422.1 MB, free: 2.582 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.314e-05/0.5221, allocations: 7.75 kB / 422.1 MB, free: 2.578 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004854/0.5226, allocations: 0.5523 MB / 422.7 MB, free: 2.016 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.134e-06/0.5226, allocations: 3.953 kB / 422.7 MB, free: 2.012 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001003/0.5236, allocations: 0.585 MB / 423.3 MB, free: 1.473 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001223/0.5238, allocations: 107.9 kB / 423.4 MB, free: 1.352 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.177e-05/0.5238, allocations: 6.938 kB / 423.4 MB, free: 1.348 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002325/0.5241, allocations: 17.12 kB / 423.4 MB, free: 1.336 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.694e-05/0.5242, allocations: 23.17 kB / 423.4 MB, free: 1.316 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.75e-05/0.5242, allocations: 14.53 kB / 423.5 MB, free: 1.305 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002998/0.5245, allocations: 207.9 kB / 423.7 MB, free: 1.145 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.04e-07/0.5246, allocations: 0 / 423.7 MB, free: 1.145 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007093/0.5253, allocations: 122 kB / 423.8 MB, free: 1.035 MB / 330.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.0002233/0.5255, allocations: 130.5 kB / 423.9 MB, free: 0.9062 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000728/0.5262, allocations: 282.8 kB / 424.2 MB, free: 0.6992 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.853e-06/0.5263, allocations: 4 kB / 424.2 MB, free: 0.6953 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003331/0.5266, allocations: 128.2 kB / 424.3 MB, free: 0.6016 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004703/0.5271, allocations: 61.5 kB / 424.4 MB, free: 0.5586 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002887/0.53, allocations: 1.343 MB / 425.7 MB, free: 15.25 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007672/0.5308, allocations: 0.9351 MB / 426.6 MB, free: 14.3 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002564/0.5311, allocations: 55.27 kB / 426.7 MB, free: 14.25 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.76e-05/0.5312, allocations: 35.44 kB / 426.7 MB, free: 14.21 MB / 346.7 MB Notification: Performance of SimCode: time 1.831e-06/0.5312, allocations: 0 / 426.7 MB, free: 14.21 MB / 346.7 MB Notification: Performance of Templates: time 0.01843/0.5497, allocations: 3.418 MB / 430.2 MB, free: 10.82 MB / 346.7 MB