Running command: translateModel(HanserModelica.Rotational.Drive,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Rotational.Drive") Notification: Performance of loadModel(HanserModelica): time 2.061/2.061, allocations: 214.7 MB / 226.8 MB, free: 1.305 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.889e-05/3.903e-05, allocations: 11.98 kB / 279.5 MB, free: 13.08 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09019/0.09026, allocations: 49.7 MB / 329.2 MB, free: 11.28 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3566/0.4469, allocations: 81.18 MB / 410.3 MB, free: 2.688 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002192/0.4472, allocations: 73.27 kB / 410.4 MB, free: 2.652 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0202/0.4674, allocations: 4.883 MB / 415.3 MB, free: 14.53 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.206e-06/0.4675, allocations: 0 / 415.3 MB, free: 14.53 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.099e-05/0.4675, allocations: 4 kB / 415.3 MB, free: 14.52 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0007582/0.4683, allocations: 470.3 kB / 415.8 MB, free: 14.03 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.79e-05/0.4683, allocations: 12.03 kB / 415.8 MB, free: 14.02 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.877e-05/0.4684, allocations: 19.72 kB / 415.8 MB, free: 14 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004944/0.4689, allocations: 257.2 kB / 416 MB, free: 13.72 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.5e-05/0.469, allocations: 7.297 kB / 416.1 MB, free: 13.72 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.844e-05/0.469, allocations: 11.31 kB / 416.1 MB, free: 13.71 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003214/0.4694, allocations: 135.8 kB / 416.2 MB, free: 13.6 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.106e-05/0.4694, allocations: 7.25 kB / 416.2 MB, free: 13.59 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.398e-05/0.4694, allocations: 7.562 kB / 416.2 MB, free: 13.59 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.94e-06/0.4695, allocations: 0 / 416.2 MB, free: 13.59 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001967/0.4697, allocations: 61.83 kB / 416.3 MB, free: 13.55 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00118/0.4709, allocations: 0.6394 MB / 416.9 MB, free: 12.92 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002239/0.4711, allocations: 89.62 kB / 417 MB, free: 12.84 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.166e-05/0.4712, allocations: 34.48 kB / 417 MB, free: 12.82 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.02e-05/0.4713, allocations: 7.938 kB / 417 MB, free: 12.81 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000197/0.4715, allocations: 80.44 kB / 417.1 MB, free: 12.73 MB / 346.7 MB Notification: Performance of pre-optimization done (n=10): time 5.248e-06/0.4715, allocations: 7.922 kB / 417.1 MB, free: 12.72 MB / 346.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003462/0.4718, allocations: 112.8 kB / 417.2 MB, free: 12.62 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.671e-05/0.4719, allocations: 55.41 kB / 417.3 MB, free: 12.56 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003701/0.4723, allocations: 242 kB / 417.5 MB, free: 12.35 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.531e-05/0.4723, allocations: 29.27 kB / 417.6 MB, free: 12.32 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001208/0.4725, allocations: 145.3 kB / 417.7 MB, free: 12.2 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.681e-05/0.4725, allocations: 33.86 kB / 417.7 MB, free: 12.17 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.049e-05/0.4726, allocations: 0 / 417.7 MB, free: 12.17 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001768/0.4727, allocations: 340.2 kB / 418.1 MB, free: 11.84 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.522e-05/0.4728, allocations: 25.22 kB / 418.1 MB, free: 11.82 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001153/0.473, allocations: 72.34 kB / 418.2 MB, free: 11.75 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.9e-05/0.4731, allocations: 31.67 kB / 418.2 MB, free: 11.73 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.532e-06/0.4731, allocations: 4 kB / 418.2 MB, free: 11.72 MB / 346.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003333/0.4734, allocations: 139 kB / 418.3 MB, free: 11.6 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.4735, allocations: 4 kB / 418.3 MB, free: 11.6 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.447e-06/0.4735, allocations: 4.125 kB / 418.3 MB, free: 11.59 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.4735, allocations: 4 kB / 418.3 MB, free: 11.59 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002197/0.4738, allocations: 34.92 kB / 418.4 MB, free: 11.56 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.308e-06/0.4738, allocations: 0 / 418.4 MB, free: 11.56 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001247/0.4739, allocations: 11.89 kB / 418.4 MB, free: 11.55 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.099e-05/0.474, allocations: 10.44 kB / 418.4 MB, free: 11.54 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001153/0.4741, allocations: 116.1 kB / 418.5 MB, free: 11.42 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.6e-05/0.4741, allocations: 23.77 kB / 418.5 MB, free: 11.4 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003564/0.4745, allocations: 141.9 kB / 418.7 MB, free: 11.29 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.604e-06/0.4745, allocations: 0 / 418.7 MB, free: 11.29 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.4745, allocations: 0 / 418.7 MB, free: 11.29 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.451e-06/0.4746, allocations: 0 / 418.7 MB, free: 11.29 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003215/0.4749, allocations: 255.4 kB / 418.9 MB, free: 11.02 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.205e-06/0.4749, allocations: 0 / 418.9 MB, free: 11.02 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001692/0.4751, allocations: 23.92 kB / 418.9 MB, free: 10.99 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.685e-06/0.4751, allocations: 3.953 kB / 418.9 MB, free: 10.99 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.634e-05/0.4751, allocations: 0 / 418.9 MB, free: 10.99 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.155e-06/0.4752, allocations: 0 / 418.9 MB, free: 10.99 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.772e-06/0.4752, allocations: 0 / 418.9 MB, free: 10.99 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004295/0.4756, allocations: 205.9 kB / 419.1 MB, free: 10.81 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001081/0.4757, allocations: 100.8 kB / 419.2 MB, free: 10.69 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.684e-05/0.4758, allocations: 11.2 kB / 419.3 MB, free: 10.68 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.822e-05/0.4759, allocations: 4 kB / 419.3 MB, free: 10.68 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.523e-05/0.476, allocations: 11.92 kB / 419.3 MB, free: 10.67 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.757e-05/0.476, allocations: 7.5 kB / 419.3 MB, free: 10.66 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002678/0.4763, allocations: 196.7 kB / 419.5 MB, free: 10.51 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.62e-07/0.4763, allocations: 8.062 kB / 419.5 MB, free: 10.5 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003701/0.4767, allocations: 47.73 kB / 419.5 MB, free: 10.46 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (inertia.w,load.phi) * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001406/0.4781, allocations: 391 kB / 419.9 MB, free: 10.13 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002489/0.4784, allocations: 77.17 kB / 420 MB, free: 10.07 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.774e-06/0.4784, allocations: 256 / 420 MB, free: 10.07 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 9.836e-05/0.4785, allocations: 42.44 kB / 420 MB, free: 10.04 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000329/0.4788, allocations: 35.47 kB / 420.1 MB, free: 10.02 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009349/0.4798, allocations: 401.9 kB / 420.5 MB, free: 9.629 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004595/0.4803, allocations: 0.7399 MB / 421.2 MB, free: 8.863 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.000118/0.4804, allocations: 29.19 kB / 421.2 MB, free: 8.836 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.112e-05/0.4805, allocations: 18.94 kB / 421.2 MB, free: 8.82 MB / 346.7 MB Notification: Performance of SimCode: time 1.665e-06/0.4805, allocations: 0 / 421.2 MB, free: 8.82 MB / 346.7 MB Notification: Performance of Templates: time 0.007149/0.4877, allocations: 2.052 MB / 423.3 MB, free: 6.781 MB / 346.7 MB