Running command: translateModel(HanserModelica.Rotational.Drive,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Rotational.Drive") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadModel(HanserModelica): time 1.827/1.827, allocations: 214.7 MB / 221.7 MB, free: 4.93 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 7.34e-06/7.135e-06, allocations: 0 / 273.6 MB, free: 1.832 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08741/0.08744, allocations: 49.71 MB / 323.3 MB, free: 16 kB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2649/0.3523, allocations: 80.48 MB / 403.8 MB, free: 10.81 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002087/0.3526, allocations: 68.91 kB / 403.9 MB, free: 10.78 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.01973/0.3724, allocations: 4.561 MB / 408.4 MB, free: 7.059 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.064e-05/0.3724, allocations: 8 kB / 408.5 MB, free: 7.051 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.000744/0.3732, allocations: 468.9 kB / 408.9 MB, free: 6.559 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.3732, allocations: 11.97 kB / 408.9 MB, free: 6.547 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.26e-05/0.3733, allocations: 23.72 kB / 408.9 MB, free: 6.523 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004565/0.3738, allocations: 242.2 kB / 409.2 MB, free: 6.258 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.346e-05/0.3738, allocations: 11.91 kB / 409.2 MB, free: 6.246 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.972e-05/0.3739, allocations: 11.94 kB / 409.2 MB, free: 6.238 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001952/0.3741, allocations: 59.2 kB / 409.3 MB, free: 6.199 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002573/0.3744, allocations: 124.3 kB / 409.4 MB, free: 6.09 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.61e-05/0.3744, allocations: 0 / 409.4 MB, free: 6.09 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.612e-05/0.3744, allocations: 4 kB / 409.4 MB, free: 6.086 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.599e-06/0.3745, allocations: 3.938 kB / 409.4 MB, free: 6.082 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001087/0.3756, allocations: 0.6 MB / 410 MB, free: 5.496 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001944/0.3758, allocations: 81.92 kB / 410.1 MB, free: 5.43 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.868e-05/0.3759, allocations: 32.73 kB / 410.1 MB, free: 5.402 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.755e-05/0.3759, allocations: 0 / 410.1 MB, free: 5.402 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001484/0.376, allocations: 83.02 kB / 410.2 MB, free: 5.32 MB / 330.7 MB Notification: Performance of pre-optimization done (n=10): time 2.27e-06/0.3761, allocations: 0 / 410.2 MB, free: 5.32 MB / 330.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003086/0.3764, allocations: 104.1 kB / 410.3 MB, free: 5.227 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.389e-05/0.3764, allocations: 55.28 kB / 410.3 MB, free: 5.164 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000343/0.3768, allocations: 236.8 kB / 410.6 MB, free: 4.961 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.012e-05/0.3768, allocations: 29.7 kB / 410.6 MB, free: 4.926 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.673e-05/0.3769, allocations: 127.7 kB / 410.7 MB, free: 4.801 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.433e-05/0.377, allocations: 38.48 kB / 410.8 MB, free: 4.77 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.46e-06/0.377, allocations: 0 / 410.8 MB, free: 4.77 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001786/0.3772, allocations: 326.7 kB / 411.1 MB, free: 4.449 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.513e-05/0.3773, allocations: 31.19 kB / 411.1 MB, free: 4.43 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001017/0.3774, allocations: 59.66 kB / 411.2 MB, free: 4.367 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.582e-05/0.3775, allocations: 39.42 kB / 411.2 MB, free: 4.34 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.933e-06/0.3775, allocations: 0 / 411.2 MB, free: 4.34 MB / 330.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003115/0.3779, allocations: 132.2 kB / 411.3 MB, free: 4.223 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.3779, allocations: 4 kB / 411.3 MB, free: 4.219 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.3779, allocations: 7.938 kB / 411.4 MB, free: 4.211 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.3779, allocations: 4.125 kB / 411.4 MB, free: 4.207 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002026/0.3782, allocations: 27.98 kB / 411.4 MB, free: 4.18 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.9e-06/0.3782, allocations: 3.984 kB / 411.4 MB, free: 4.176 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001284/0.3783, allocations: 7.906 kB / 411.4 MB, free: 4.168 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.728e-05/0.3783, allocations: 11.94 kB / 411.4 MB, free: 4.16 MB / 330.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.0001072/0.3785, allocations: 111.3 kB / 411.5 MB, free: 4.047 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.825e-05/0.3785, allocations: 19.72 kB / 411.5 MB, free: 4.027 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003224/0.3789, allocations: 125.8 kB / 411.7 MB, free: 3.926 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.543e-06/0.3789, allocations: 4 kB / 411.7 MB, free: 3.922 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.422e-06/0.3789, allocations: 0 / 411.7 MB, free: 3.922 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.918e-06/0.3789, allocations: 0 / 411.7 MB, free: 3.922 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002812/0.3792, allocations: 224.9 kB / 411.9 MB, free: 3.691 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.52e-06/0.3792, allocations: 4 kB / 411.9 MB, free: 3.688 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001733/0.3794, allocations: 23.92 kB / 411.9 MB, free: 3.664 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.895e-06/0.3794, allocations: 0 / 411.9 MB, free: 3.664 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.638e-05/0.3794, allocations: 0 / 411.9 MB, free: 3.664 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.225e-06/0.3795, allocations: 0 / 411.9 MB, free: 3.664 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.487e-06/0.3795, allocations: 4 kB / 411.9 MB, free: 3.66 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003723/0.3799, allocations: 174.8 kB / 412.1 MB, free: 3.504 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001155/0.38, allocations: 104.8 kB / 412.2 MB, free: 3.387 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.356e-05/0.38, allocations: 0 / 412.2 MB, free: 3.387 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001063/0.3802, allocations: 4 kB / 412.2 MB, free: 3.383 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.926e-05/0.3802, allocations: 7.891 kB / 412.2 MB, free: 3.375 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.629e-05/0.3802, allocations: 4.109 kB / 412.2 MB, free: 3.371 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0002409/0.3805, allocations: 192.3 kB / 412.4 MB, free: 3.219 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004073/0.3809, allocations: 55.86 kB / 412.4 MB, free: 3.168 MB / 330.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.001042/0.382, allocations: 319 kB / 412.8 MB, free: 2.895 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002622/0.3822, allocations: 79.11 kB / 412.8 MB, free: 2.836 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.3823, allocations: 4.062 kB / 412.8 MB, free: 2.836 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 9.283e-05/0.3824, allocations: 35.5 kB / 412.9 MB, free: 2.809 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003552/0.3827, allocations: 40.3 kB / 412.9 MB, free: 2.777 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009623/0.3837, allocations: 380 kB / 413.3 MB, free: 2.406 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005337/0.3843, allocations: 0.7717 MB / 414.1 MB, free: 1.613 MB / 330.7 MB Notification: Performance of SimCode: time 1.552e-06/0.3843, allocations: 0 / 414.1 MB, free: 1.613 MB / 330.7 MB Notification: Performance of Templates: time 0.007324/0.3916, allocations: 2.064 MB / 416.1 MB, free: 15.57 MB / 346.7 MB