Running command: translateModel(HanserModelica.Machines.TestDoubleLayer7over9,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9") [: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.875/1.875, allocations: 214.7 MB / 221.7 MB, free: 9.207 MB / 178.8 MB Notification: Performance of FrontEnd - loaded program: time 7.373e-06/7.388e-06, allocations: 0 / 273.6 MB, free: 5.395 MB / 226.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2159/0.216, allocations: 49.7 MB / 323.3 MB, free: 14 MB / 274.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1225/0.3385, allocations: 78.85 MB / 402.2 MB, free: 4.246 MB / 338.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002324/0.3388, allocations: 63.97 kB / 402.2 MB, free: 4.184 MB / 338.8 MB Notification: Performance of FrontEnd: time 0.03757/0.3764, allocations: 9.15 MB / 411.4 MB, free: 10.98 MB / 354.8 MB Notification: Performance of Transformations before backend: time 9.992e-06/0.3765, allocations: 4 kB / 411.4 MB, free: 10.98 MB / 354.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0004864/0.377, allocations: 394.8 kB / 411.8 MB, free: 10.55 MB / 354.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.377, allocations: 8.031 kB / 411.8 MB, free: 10.54 MB / 354.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004899/0.3775, allocations: 111.1 kB / 411.9 MB, free: 10.43 MB / 354.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003084/0.3778, allocations: 275.6 kB / 412.2 MB, free: 10.12 MB / 354.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.989e-05/0.3779, allocations: 158.5 kB / 412.3 MB, free: 9.969 MB / 354.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.881e-05/0.378, allocations: 158.6 kB / 412.5 MB, free: 9.812 MB / 354.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.041e-05/0.3781, allocations: 150.6 kB / 412.6 MB, free: 9.664 MB / 354.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.232e-05/0.3782, allocations: 105 kB / 412.7 MB, free: 9.555 MB / 354.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.829e-05/0.3782, allocations: 79.28 kB / 412.8 MB, free: 9.477 MB / 354.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.001e-05/0.3783, allocations: 150.6 kB / 412.9 MB, free: 9.328 MB / 354.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.232e-05/0.3784, allocations: 150.6 kB / 413.1 MB, free: 9.18 MB / 354.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003981/0.3788, allocations: 450.5 kB / 413.5 MB, free: 8.703 MB / 354.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001127/0.379, allocations: 181.6 kB / 413.7 MB, free: 8.516 MB / 354.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.807e-05/0.379, allocations: 80.14 kB / 413.8 MB, free: 8.434 MB / 354.8 MB Notification: Performance of preOpt evalFunc (simulation): time 4.437e-05/0.3791, allocations: 79.19 kB / 413.9 MB, free: 8.355 MB / 354.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.58e-05/0.3791, allocations: 109.8 kB / 414 MB, free: 8.238 MB / 354.8 MB Notification: Performance of pre-optimization done (n=0): time 2.16e-06/0.3792, allocations: 0 / 414 MB, free: 8.238 MB / 354.8 MB Notification: Performance of matching and sorting (n=0): time 9.842e-05/0.3793, allocations: 33.61 kB / 414 MB, free: 8.199 MB / 354.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.885e-05/0.3793, allocations: 51.41 kB / 414 MB, free: 8.137 MB / 354.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002478/0.3796, allocations: 173.3 kB / 414.2 MB, free: 7.961 MB / 354.8 MB Notification: Performance of collectPreVariables (initialization): time 1.739e-05/0.3796, allocations: 25.7 kB / 414.2 MB, free: 7.93 MB / 354.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.363e-05/0.3797, allocations: 92.12 kB / 414.3 MB, free: 7.836 MB / 354.8 MB Notification: Performance of collectInitialBindings (initialization): time 1.531e-06/0.3797, allocations: 0 / 414.3 MB, free: 7.836 MB / 354.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.07e-07/0.3797, allocations: 8 kB / 414.3 MB, free: 7.828 MB / 354.8 MB Notification: Performance of setup shared object (initialization): time 0.000165/0.3799, allocations: 318.8 kB / 414.7 MB, free: 7.508 MB / 354.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.238e-06/0.3799, allocations: 0 / 414.7 MB, free: 7.508 MB / 354.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.915e-06/0.3799, allocations: 0 / 414.7 MB, free: 7.508 MB / 354.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.793e-05/0.38, allocations: 83.22 kB / 414.7 MB, free: 7.426 MB / 354.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-05/0.38, allocations: 75.28 kB / 414.8 MB, free: 7.352 MB / 354.8 MB Notification: Performance of matching and sorting (n=0) (initialization): time 0.0001024/0.3801, allocations: 33.61 kB / 414.8 MB, free: 7.312 MB / 354.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.3802, allocations: 7.938 kB / 414.8 MB, free: 7.305 MB / 354.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.365e-05/0.3802, allocations: 79.28 kB / 414.9 MB, free: 7.227 MB / 354.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.313e-05/0.3803, allocations: 158.5 kB / 415.1 MB, free: 7.07 MB / 354.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.097e-05/0.3804, allocations: 83.19 kB / 415.2 MB, free: 6.988 MB / 354.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.968e-05/0.3805, allocations: 154.5 kB / 415.3 MB, free: 6.836 MB / 354.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001586/0.3806, allocations: 79.27 kB / 415.4 MB, free: 6.758 MB / 354.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.897e-05/0.3807, allocations: 79.28 kB / 415.5 MB, free: 6.68 MB / 354.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * 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.0001504/0.3809, allocations: 259.5 kB / 415.7 MB, free: 6.418 MB / 354.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001005/0.381, allocations: 112.8 kB / 415.8 MB, free: 6.301 MB / 354.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.489e-05/0.3811, allocations: 116.3 kB / 415.9 MB, free: 6.184 MB / 354.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.971e-05/0.3812, allocations: 176.3 kB / 416.1 MB, free: 6.004 MB / 354.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.314e-05/0.3813, allocations: 184.2 kB / 416.3 MB, free: 5.816 MB / 354.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.531e-05/0.3814, allocations: 188.2 kB / 416.5 MB, free: 5.625 MB / 354.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003212/0.3817, allocations: 401.8 kB / 416.9 MB, free: 5.188 MB / 354.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.677e-05/0.3818, allocations: 108.9 kB / 417 MB, free: 5.074 MB / 354.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.177e-05/0.3818, allocations: 102.1 kB / 417.1 MB, free: 4.969 MB / 354.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.031e-05/0.3819, allocations: 176.3 kB / 417.3 MB, free: 4.789 MB / 354.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.033e-05/0.382, allocations: 180.2 kB / 417.4 MB, free: 4.605 MB / 354.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.474e-05/0.3821, allocations: 188.3 kB / 417.6 MB, free: 4.414 MB / 354.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.728e-05/0.3822, allocations: 180.2 kB / 417.8 MB, free: 4.23 MB / 354.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002003/0.3825, allocations: 312 kB / 418.1 MB, free: 3.902 MB / 354.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001317/0.3826, allocations: 194 kB / 418.3 MB, free: 3.688 MB / 354.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001158/0.3827, allocations: 184.2 kB / 418.5 MB, free: 3.5 MB / 354.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001882/0.3829, allocations: 105 kB / 418.6 MB, free: 3.391 MB / 354.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.241e-05/0.383, allocations: 180.3 kB / 418.7 MB, free: 3.207 MB / 354.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.869e-05/0.3831, allocations: 112.9 kB / 418.8 MB, free: 3.09 MB / 354.8 MB Notification: Performance of sort global known variables: time 0.0001754/0.3833, allocations: 135.2 kB / 419 MB, free: 2.957 MB / 354.8 MB Notification: Performance of remove unused functions: time 0.0004348/0.3837, allocations: 16 kB / 419 MB, free: 2.941 MB / 354.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0002913/0.384, allocations: 215.4 kB / 419.2 MB, free: 2.719 MB / 354.8 MB Notification: Performance of simCode: created initialization part: time 3.849e-05/0.3841, allocations: 4 kB / 419.2 MB, free: 2.715 MB / 354.8 MB Notification: Performance of simCode: created event and clocks part: time 2.493e-06/0.3841, allocations: 4 kB / 419.2 MB, free: 2.711 MB / 354.8 MB Notification: Performance of simCode: created simulation system equations: time 2.394e-06/0.3841, allocations: 0 / 419.2 MB, free: 2.711 MB / 354.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005194/0.3846, allocations: 0.5301 MB / 419.7 MB, free: 2.176 MB / 354.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003535/0.385, allocations: 190.8 kB / 419.9 MB, free: 1.961 MB / 354.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004116/0.3854, allocations: 0.7088 MB / 420.6 MB, free: 1.227 MB / 354.8 MB Notification: Performance of SimCode: time 1.401e-06/0.3855, allocations: 0 / 420.6 MB, free: 1.227 MB / 354.8 MB Notification: Performance of Templates: time 0.003992/0.3895, allocations: 0.7676 MB / 421.4 MB, free: 476 kB / 354.8 MB