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.2_cpp_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs") Notification: Performance of loadModel(Modelica): time 2.06/2.06, allocations: 194.9 MB / 211.2 MB, free: 8.352 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.126e-05/3.139e-05, allocations: 4 kB / 258.8 MB, free: 8.715 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3275/0.3276, allocations: 44.5 MB / 303.3 MB, free: 12.76 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs): time 0.00781/0.3354, allocations: 4.264 MB / 307.6 MB, free: 9.406 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004959/0.3405, allocations: 1.819 MB / 309.4 MB, free: 7.605 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001169/0.3417, allocations: 59.81 kB / 309.4 MB, free: 7.547 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007743/0.3425, allocations: 162.8 kB / 309.6 MB, free: 7.387 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001508/0.344, allocations: 283 kB / 309.9 MB, free: 7.109 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001637/0.3457, allocations: 335.3 kB / 310.2 MB, free: 6.781 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001729/0.3475, allocations: 0.5345 MB / 310.7 MB, free: 6.242 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008316/0.3483, allocations: 339.6 kB / 311.1 MB, free: 5.895 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004795/0.3489, allocations: 199.4 kB / 311.3 MB, free: 5.699 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004517/0.3493, allocations: 231 kB / 311.5 MB, free: 5.473 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003133/0.3497, allocations: 67.84 kB / 311.5 MB, free: 5.406 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001155/0.3498, allocations: 28 kB / 311.6 MB, free: 5.379 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001709/0.35, allocations: 119.5 kB / 311.7 MB, free: 5.262 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001891/0.3502, allocations: 64 kB / 311.8 MB, free: 5.199 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001481/0.3517, allocations: 0.8978 MB / 312.6 MB, free: 4.301 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.3517, allocations: 0 / 312.6 MB, free: 4.301 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.196e-06/0.3517, allocations: 0 / 312.6 MB, free: 4.301 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.69e-05/0.3518, allocations: 0 / 312.6 MB, free: 4.301 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 216 * Number of variables: 216 Notification: Performance of Generate backend data structure: time 0.002246/0.354, allocations: 0.8855 MB / 313.5 MB, free: 3.367 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.981e-05/0.3541, allocations: 12.03 kB / 313.5 MB, free: 3.355 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002737/0.3544, allocations: 90.88 kB / 313.6 MB, free: 3.266 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001182/0.3556, allocations: 0.4904 MB / 314.1 MB, free: 2.734 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.686e-05/0.3557, allocations: 66 kB / 314.2 MB, free: 2.668 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002069/0.3559, allocations: 88 kB / 314.3 MB, free: 2.582 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002649/0.3586, allocations: 0.8259 MB / 315.1 MB, free: 1.719 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.302e-05/0.3587, allocations: 7.844 kB / 315.1 MB, free: 1.711 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001074/0.3588, allocations: 36 kB / 315.1 MB, free: 1.676 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.207e-05/0.3589, allocations: 24 kB / 315.2 MB, free: 1.652 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002151/0.361, allocations: 0.5352 MB / 315.7 MB, free: 1.113 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006321/0.3674, allocations: 3.091 MB / 318.8 MB, free: 13.89 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001112/0.3686, allocations: 299.4 kB / 319.1 MB, free: 13.57 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000313/0.3689, allocations: 251.5 kB / 319.3 MB, free: 13.27 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.112e-05/0.369, allocations: 38.56 kB / 319.4 MB, free: 13.22 MB / 266.7 MB Notification: Performance of pre-optimization done (n=32): time 3.817e-06/0.369, allocations: 0 / 319.4 MB, free: 13.22 MB / 266.7 MB Notification: Performance of matching and sorting (n=37): time 0.004584/0.3736, allocations: 1.578 MB / 320.9 MB, free: 11.5 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.861e-05/0.3737, allocations: 114.8 kB / 321.1 MB, free: 11.36 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005126/0.3742, allocations: 284.9 kB / 321.3 MB, free: 11.08 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.792e-05/0.3743, allocations: 29.7 kB / 321.4 MB, free: 11.04 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003676/0.3747, allocations: 460.9 kB / 321.8 MB, free: 10.59 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001814/0.3749, allocations: 138 kB / 322 MB, free: 10.45 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.2e-05/0.3749, allocations: 12 kB / 322 MB, free: 10.44 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001634/0.3751, allocations: 330.8 kB / 322.3 MB, free: 10.11 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004749/0.3756, allocations: 125.1 kB / 322.4 MB, free: 9.98 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006105/0.3762, allocations: 281.1 kB / 322.7 MB, free: 9.641 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005653/0.3768, allocations: 168.2 kB / 322.8 MB, free: 9.48 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.219e-06/0.3768, allocations: 0 / 322.8 MB, free: 9.48 MB / 266.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001448/0.3783, allocations: 491.2 kB / 323.3 MB, free: 8.992 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.225e-05/0.3784, allocations: 8 kB / 323.3 MB, free: 8.984 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.711e-05/0.3784, allocations: 7.953 kB / 323.3 MB, free: 8.977 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002991/0.3787, allocations: 36.84 kB / 323.4 MB, free: 8.938 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008205/0.3795, allocations: 119.8 kB / 323.5 MB, free: 8.82 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005692/0.3801, allocations: 0.5565 MB / 324.1 MB, free: 8.238 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004952/0.3806, allocations: 32.02 kB / 324.1 MB, free: 8.207 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.633e-05/0.3807, allocations: 24 kB / 324.1 MB, free: 8.184 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 61 * 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.0005293/0.3813, allocations: 225.6 kB / 324.3 MB, free: 7.953 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001696/0.3814, allocations: 39.53 kB / 324.4 MB, free: 7.914 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001086/0.3825, allocations: 317.7 kB / 324.7 MB, free: 7.598 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.134e-05/0.3826, allocations: 4 kB / 324.7 MB, free: 7.594 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.756e-06/0.3826, allocations: 0 / 324.7 MB, free: 7.594 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.596e-06/0.3826, allocations: 0 / 324.7 MB, free: 7.594 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002715/0.3853, allocations: 1.115 MB / 325.8 MB, free: 6.402 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.566e-06/0.3854, allocations: 0 / 325.8 MB, free: 6.402 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008304/0.3862, allocations: 91.89 kB / 325.9 MB, free: 6.312 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002418/0.3865, allocations: 32.8 kB / 325.9 MB, free: 6.277 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.186e-05/0.3866, allocations: 15.98 kB / 325.9 MB, free: 6.262 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005028/0.3871, allocations: 0.5564 MB / 326.5 MB, free: 5.68 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.097e-06/0.3871, allocations: 4 kB / 326.5 MB, free: 5.676 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001866/0.389, allocations: 0.8323 MB / 327.3 MB, free: 4.762 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001695/0.3892, allocations: 120.6 kB / 327.4 MB, free: 4.625 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.517e-05/0.3893, allocations: 12 kB / 327.5 MB, free: 4.613 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003968/0.3897, allocations: 16 kB / 327.5 MB, free: 4.598 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001206/0.3899, allocations: 31.91 kB / 327.5 MB, free: 4.566 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.729e-05/0.3899, allocations: 19.94 kB / 327.5 MB, free: 4.547 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0004119/0.3903, allocations: 223.6 kB / 327.7 MB, free: 4.328 MB / 266.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.3904, allocations: 7.938 kB / 327.7 MB, free: 4.32 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0008513/0.3912, allocations: 120 kB / 327.9 MB, free: 4.203 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 10 (inertia3a.phi,inertia3a.w,inertia3b.phi,inertia3b.w,inertia2a.w,torqueToAngle2a.phi,inertia2b.w,torqueToAngle2b.phi,directInertia.inertia.w,directInertia.torqueToAngle.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 34 * 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.0002598/0.3915, allocations: 131.2 kB / 328 MB, free: 4.066 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001327/0.3928, allocations: 348.6 kB / 328.3 MB, free: 3.73 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/0.3929, allocations: 0 / 328.3 MB, free: 3.73 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000628/0.3935, allocations: 160.2 kB / 328.5 MB, free: 3.574 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000768/0.3943, allocations: 54.94 kB / 328.5 MB, free: 3.523 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004729/0.3991, allocations: 2.102 MB / 330.6 MB, free: 1.363 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000773/0.3999, allocations: 0.9485 MB / 331.6 MB, free: 400 kB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002035/0.4001, allocations: 35.44 kB / 331.6 MB, free: 364 kB / 266.7 MB Notification: Performance of SimCode: time 3.709e-05/0.4002, allocations: 0 / 331.6 MB, free: 364 kB / 266.7 MB Notification: Performance of Templates: time 0.02304/0.4232, allocations: 9.674 MB / 341.3 MB, free: 6.676 MB / 282.7 MB