Running command: translateModel(HanserModelica.Machines.TestDoubleLayer10over12,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12") [: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.786/1.786, allocations: 214.7 MB / 221.7 MB, free: 5.219 MB / 186.9 MB Notification: Performance of FrontEnd - loaded program: time 7.42e-06/7.53e-06, allocations: 0 / 273.6 MB, free: 2.039 MB / 218.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08671/0.08675, allocations: 49.71 MB / 323.3 MB, free: 236 kB / 266.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2642/0.351, allocations: 79.29 MB / 402.6 MB, free: 12.25 MB / 330.9 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002041/0.3513, allocations: 65.09 kB / 402.7 MB, free: 12.21 MB / 330.9 MB Notification: Performance of FrontEnd: time 0.03823/0.3895, allocations: 9.93 MB / 412.6 MB, free: 4.559 MB / 330.9 MB Notification: Performance of Transformations before backend: time 1.971e-05/0.3896, allocations: 0 / 412.6 MB, free: 4.559 MB / 330.9 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.0004938/0.3901, allocations: 396.7 kB / 413 MB, free: 4.133 MB / 330.9 MB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.3901, allocations: 8.031 kB / 413 MB, free: 4.125 MB / 330.9 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004769/0.3906, allocations: 110.3 kB / 413.1 MB, free: 4.02 MB / 330.9 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003007/0.3909, allocations: 281 kB / 413.4 MB, free: 3.707 MB / 330.9 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.989e-05/0.391, allocations: 150.6 kB / 413.5 MB, free: 3.559 MB / 330.9 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.237e-05/0.3911, allocations: 150.6 kB / 413.7 MB, free: 3.41 MB / 330.9 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.481e-05/0.3912, allocations: 154.5 kB / 413.8 MB, free: 3.258 MB / 330.9 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.105e-05/0.3913, allocations: 105 kB / 413.9 MB, free: 3.148 MB / 330.9 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.963e-05/0.3913, allocations: 83.28 kB / 414 MB, free: 3.066 MB / 330.9 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.628e-05/0.3914, allocations: 152.9 kB / 414.2 MB, free: 2.918 MB / 330.9 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.889e-05/0.3915, allocations: 154.5 kB / 414.3 MB, free: 2.766 MB / 330.9 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004206/0.3919, allocations: 456 kB / 414.8 MB, free: 2.293 MB / 330.9 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001073/0.3921, allocations: 169.6 kB / 414.9 MB, free: 2.117 MB / 330.9 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.194e-05/0.3921, allocations: 91.5 kB / 415 MB, free: 2.027 MB / 330.9 MB Notification: Performance of preOpt evalFunc (simulation): time 3.85e-05/0.3922, allocations: 75.28 kB / 415.1 MB, free: 1.953 MB / 330.9 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.792e-05/0.3922, allocations: 105.8 kB / 415.2 MB, free: 1.84 MB / 330.9 MB Notification: Performance of pre-optimization done (n=0): time 2.657e-06/0.3923, allocations: 0 / 415.2 MB, free: 1.84 MB / 330.9 MB Notification: Performance of matching and sorting (n=0): time 0.0001011/0.3924, allocations: 33.61 kB / 415.2 MB, free: 1.801 MB / 330.9 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.947e-05/0.3924, allocations: 51.41 kB / 415.3 MB, free: 1.738 MB / 330.9 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002394/0.3927, allocations: 171.3 kB / 415.5 MB, free: 1.578 MB / 330.9 MB Notification: Performance of collectPreVariables (initialization): time 1.578e-05/0.3927, allocations: 29.7 kB / 415.5 MB, free: 1.543 MB / 330.9 MB Notification: Performance of collectInitialEqns (initialization): time 5.526e-05/0.3928, allocations: 92.06 kB / 415.6 MB, free: 1.453 MB / 330.9 MB Notification: Performance of collectInitialBindings (initialization): time 1.5e-06/0.3928, allocations: 0 / 415.6 MB, free: 1.453 MB / 330.9 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.3e-07/0.3928, allocations: 4 kB / 415.6 MB, free: 1.449 MB / 330.9 MB Notification: Performance of setup shared object (initialization): time 0.0001641/0.393, allocations: 317.8 kB / 415.9 MB, free: 1.133 MB / 330.9 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.266e-06/0.393, allocations: 3.938 kB / 415.9 MB, free: 1.129 MB / 330.9 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.726e-06/0.393, allocations: 0 / 415.9 MB, free: 1.129 MB / 330.9 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.795e-05/0.393, allocations: 79.28 kB / 416 MB, free: 1.051 MB / 330.9 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.731e-05/0.3931, allocations: 79.28 kB / 416 MB, free: 0.9727 MB / 330.9 MB Notification: Performance of matching and sorting (n=0) (initialization): time 9.89e-05/0.3932, allocations: 37.52 kB / 416.1 MB, free: 0.9297 MB / 330.9 MB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.3932, allocations: 7.75 kB / 416.1 MB, free: 0.9258 MB / 330.9 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.21e-05/0.3933, allocations: 75.28 kB / 416.2 MB, free: 0.8516 MB / 330.9 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.561e-05/0.3934, allocations: 166.4 kB / 416.3 MB, free: 0.6914 MB / 330.9 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.906e-05/0.3934, allocations: 75.28 kB / 416.4 MB, free: 0.6172 MB / 330.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.786e-05/0.3935, allocations: 154.5 kB / 416.6 MB, free: 476 kB / 330.9 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000174/0.3937, allocations: 87.22 kB / 416.6 MB, free: 388 kB / 330.9 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.506e-05/0.3937, allocations: 79.22 kB / 416.7 MB, free: 308 kB / 330.9 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.0001463/0.3939, allocations: 252.5 kB / 417 MB, free: 48 kB / 330.9 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001112/0.394, allocations: 112.8 kB / 417.1 MB, free: 15.93 MB / 346.9 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.758e-05/0.3941, allocations: 124.4 kB / 417.2 MB, free: 15.81 MB / 346.9 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.848e-05/0.3942, allocations: 184.3 kB / 417.4 MB, free: 15.62 MB / 346.9 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.303e-05/0.3943, allocations: 180.3 kB / 417.5 MB, free: 15.44 MB / 346.9 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001076/0.3944, allocations: 181.8 kB / 417.7 MB, free: 15.25 MB / 346.9 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003227/0.3948, allocations: 407.8 kB / 418.1 MB, free: 14.82 MB / 346.9 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.269e-05/0.3948, allocations: 101 kB / 418.2 MB, free: 14.71 MB / 346.9 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.54e-05/0.3949, allocations: 104.9 kB / 418.3 MB, free: 14.61 MB / 346.9 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.762e-05/0.395, allocations: 184.3 kB / 418.5 MB, free: 14.42 MB / 346.9 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.455e-05/0.3951, allocations: 184.2 kB / 418.7 MB, free: 14.23 MB / 346.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.087e-05/0.3952, allocations: 184.2 kB / 418.9 MB, free: 14.04 MB / 346.9 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9e-05/0.3953, allocations: 176.3 kB / 419 MB, free: 13.86 MB / 346.9 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001958/0.3955, allocations: 315.8 kB / 419.3 MB, free: 13.54 MB / 346.9 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001309/0.3957, allocations: 193.9 kB / 419.5 MB, free: 13.32 MB / 346.9 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001096/0.3958, allocations: 180.2 kB / 419.7 MB, free: 13.14 MB / 346.9 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001591/0.396, allocations: 113 kB / 419.8 MB, free: 13.02 MB / 346.9 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.912e-05/0.3961, allocations: 180.2 kB / 420 MB, free: 12.84 MB / 346.9 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.018e-05/0.3961, allocations: 105 kB / 420.1 MB, free: 12.73 MB / 346.9 MB Notification: Performance of sort global known variables: time 0.0001735/0.3963, allocations: 141.5 kB / 420.2 MB, free: 12.61 MB / 346.9 MB Notification: Performance of remove unused functions: time 0.0004148/0.3967, allocations: 16 kB / 420.3 MB, free: 12.59 MB / 346.9 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.0002992/0.3971, allocations: 222.3 kB / 420.5 MB, free: 12.37 MB / 346.9 MB Notification: Performance of simCode: created initialization part: time 3.209e-05/0.3971, allocations: 0 / 420.5 MB, free: 12.37 MB / 346.9 MB Notification: Performance of simCode: created event and clocks part: time 4.938e-06/0.3971, allocations: 4 kB / 420.5 MB, free: 12.37 MB / 346.9 MB Notification: Performance of simCode: created simulation system equations: time 2.246e-06/0.3971, allocations: 0 / 420.5 MB, free: 12.37 MB / 346.9 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000514/0.3976, allocations: 0.5254 MB / 421 MB, free: 11.84 MB / 346.9 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003503/0.398, allocations: 178.8 kB / 421.2 MB, free: 11.64 MB / 346.9 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004444/0.3985, allocations: 0.7113 MB / 421.9 MB, free: 10.91 MB / 346.9 MB Notification: Performance of SimCode: time 1.483e-06/0.3985, allocations: 3.938 kB / 421.9 MB, free: 10.91 MB / 346.9 MB Notification: Performance of Templates: time 0.003803/0.4023, allocations: 0.7638 MB / 422.7 MB, free: 10.15 MB / 346.9 MB