Running command: translateModel(ModelicaTest.Rotational.GenerationOfFMUs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Rotational.GenerationOfFMUs") Notification: Performance of loadModel(ModelicaTest): time 2.377/2.377, allocations: 269 MB / 284.1 MB, free: 3.633 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.296e-05/3.287e-05, allocations: 4 kB / 349 MB, free: 10.77 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1688/0.1689, allocations: 61.89 MB / 410.9 MB, free: 12.87 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.GenerationOfFMUs): time 0.0115/0.1804, allocations: 4.569 MB / 415.5 MB, free: 8.277 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004912/0.1854, allocations: 1.96 MB / 417.4 MB, free: 6.312 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001224/0.1867, allocations: 59.81 kB / 417.5 MB, free: 6.254 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006706/0.1874, allocations: 166.7 kB / 417.7 MB, free: 6.09 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001382/0.1888, allocations: 295 kB / 418 MB, free: 5.801 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001763/0.1906, allocations: 375.2 kB / 418.3 MB, free: 5.434 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001909/0.1925, allocations: 0.5966 MB / 418.9 MB, free: 4.832 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008363/0.1934, allocations: 331.6 kB / 419.2 MB, free: 4.5 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005291/0.194, allocations: 195.4 kB / 419.4 MB, free: 4.309 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004695/0.1945, allocations: 246.8 kB / 419.7 MB, free: 4.066 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000315/0.1948, allocations: 67.91 kB / 419.7 MB, free: 4 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001343/0.195, allocations: 28 kB / 419.8 MB, free: 3.973 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000182/0.1951, allocations: 119.4 kB / 419.9 MB, free: 3.855 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001998/0.1954, allocations: 71.94 kB / 420 MB, free: 3.785 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00148/0.1969, allocations: 0.9274 MB / 420.9 MB, free: 2.855 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.1969, allocations: 0 / 420.9 MB, free: 2.855 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.665e-06/0.1969, allocations: 0 / 420.9 MB, free: 2.855 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.746e-05/0.197, allocations: 0 / 420.9 MB, free: 2.855 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: 230 * Number of variables: 230 Notification: Performance of Generate backend data structure: time 0.002161/0.1991, allocations: 0.9206 MB / 421.8 MB, free: 1.887 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.106e-05/0.1992, allocations: 12.03 kB / 421.8 MB, free: 1.875 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002799/0.1995, allocations: 102.8 kB / 421.9 MB, free: 1.773 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001273/0.2008, allocations: 0.5394 MB / 422.5 MB, free: 1.191 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.961e-05/0.2009, allocations: 69.95 kB / 422.5 MB, free: 1.121 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002164/0.2011, allocations: 99.89 kB / 422.6 MB, free: 1.023 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002522/0.2037, allocations: 0.8736 MB / 423.5 MB, free: 92 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.333e-05/0.2038, allocations: 19.83 kB / 423.5 MB, free: 72 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001032/0.2039, allocations: 36 kB / 423.5 MB, free: 36 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.374e-05/0.2039, allocations: 24 kB / 423.6 MB, free: 12 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3346/0.5385, allocations: 0.5131 MB / 424.1 MB, free: 12.79 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006657/0.5452, allocations: 3.65 MB / 427.7 MB, free: 10.46 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008568/0.5462, allocations: 223.1 kB / 428 MB, free: 10.36 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002712/0.5465, allocations: 247.5 kB / 428.2 MB, free: 10.08 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.579e-05/0.5465, allocations: 38.66 kB / 428.2 MB, free: 10.04 MB / 346.7 MB Notification: Performance of pre-optimization done (n=30): time 2.965e-06/0.5465, allocations: 0 / 428.2 MB, free: 10.04 MB / 346.7 MB Notification: Performance of matching and sorting (n=35): time 0.003511/0.55, allocations: 1.301 MB / 429.5 MB, free: 9.16 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/0.5501, allocations: 55.95 kB / 429.6 MB, free: 9.098 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000601/0.5507, allocations: 346.8 kB / 429.9 MB, free: 8.922 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.165e-05/0.5508, allocations: 36.05 kB / 430 MB, free: 8.883 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000287/0.5511, allocations: 0.4905 MB / 430.5 MB, free: 8.469 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000125/0.5512, allocations: 134.1 kB / 430.6 MB, free: 8.367 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.833e-05/0.5512, allocations: 10.78 kB / 430.6 MB, free: 8.359 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.005e-05/0.5513, allocations: 334.9 kB / 430.9 MB, free: 8.035 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003572/0.5517, allocations: 116 kB / 431 MB, free: 7.992 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004422/0.5522, allocations: 307.5 kB / 431.3 MB, free: 7.711 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004428/0.5526, allocations: 163.7 kB / 431.5 MB, free: 7.633 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.382e-06/0.5526, allocations: 2.844 kB / 431.5 MB, free: 7.633 MB / 346.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001212/0.5539, allocations: 0.4935 MB / 432 MB, free: 7.402 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.988e-05/0.5539, allocations: 8.594 kB / 432 MB, free: 7.402 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.596e-05/0.5539, allocations: 6.062 kB / 432 MB, free: 7.402 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002653/0.5542, allocations: 39.61 kB / 432 MB, free: 7.391 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007171/0.555, allocations: 124.7 kB / 432.2 MB, free: 7.379 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003743/0.5553, allocations: 0.5616 MB / 432.7 MB, free: 6.836 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003757/0.5557, allocations: 18.14 kB / 432.7 MB, free: 6.828 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.705e-05/0.5558, allocations: 32.22 kB / 432.8 MB, free: 6.82 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 67 * 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.0004214/0.5562, allocations: 229.1 kB / 433 MB, free: 6.633 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.733e-05/0.5563, allocations: 50.23 kB / 433 MB, free: 6.605 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009265/0.5573, allocations: 336.5 kB / 433.4 MB, free: 6.445 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.965e-06/0.5573, allocations: 4.734 kB / 433.4 MB, free: 6.445 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.5573, allocations: 0 / 433.4 MB, free: 6.445 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.107e-06/0.5573, allocations: 6.578 kB / 433.4 MB, free: 6.441 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002163/0.5595, allocations: 1.061 MB / 434.4 MB, free: 5.809 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.663e-06/0.5595, allocations: 0.9375 kB / 434.4 MB, free: 5.809 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007161/0.5603, allocations: 83.69 kB / 434.5 MB, free: 5.801 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002028/0.5605, allocations: 37.72 kB / 434.6 MB, free: 5.785 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.83e-05/0.5605, allocations: 13.06 kB / 434.6 MB, free: 5.777 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003112/0.5609, allocations: 0.5455 MB / 435.1 MB, free: 5.242 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.5609, allocations: 1.906 kB / 435.1 MB, free: 5.242 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001181/0.5621, allocations: 0.6243 MB / 435.8 MB, free: 4.797 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001082/0.5622, allocations: 113.9 kB / 435.9 MB, free: 4.68 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.127e-05/0.5623, allocations: 9.203 kB / 435.9 MB, free: 4.676 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002505/0.5626, allocations: 8.953 kB / 435.9 MB, free: 4.672 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.646e-05/0.5626, allocations: 32.33 kB / 435.9 MB, free: 4.66 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.479e-05/0.5627, allocations: 13.64 kB / 435.9 MB, free: 4.656 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004182/0.5631, allocations: 270.6 kB / 436.2 MB, free: 4.516 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.5631, allocations: 1.344 kB / 436.2 MB, free: 4.516 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008017/0.5639, allocations: 125.2 kB / 436.3 MB, free: 4.504 MB / 346.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.y,inertia2b.w,torqueToAngle2b.y,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.0001857/0.5641, allocations: 118.4 kB / 436.4 MB, free: 4.41 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001014/0.5652, allocations: 327.2 kB / 436.7 MB, free: 4.309 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.5652, allocations: 3.938 kB / 436.8 MB, free: 4.305 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004202/0.5656, allocations: 139.9 kB / 436.9 MB, free: 4.266 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006407/0.5663, allocations: 65.23 kB / 437 MB, free: 4.238 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003801/0.5701, allocations: 2.087 MB / 439 MB, free: 2.785 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006167/0.5708, allocations: 0.9789 MB / 440 MB, free: 2.07 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000197/0.571, allocations: 48.27 kB / 440.1 MB, free: 2.059 MB / 346.7 MB Notification: Performance of SimCode: time 9.22e-07/0.571, allocations: 0 / 440.1 MB, free: 2.059 MB / 346.7 MB Notification: Performance of Templates: time 0.02312/0.5941, allocations: 10.61 MB / 450.7 MB, free: 14.28 MB / 362.7 MB