Running command: translateModel(HanserModelica.FirstSteps.Electrical3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical3") [: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.833/1.833, allocations: 214.7 MB / 221.7 MB, free: 9.215 MB / 178.8 MB Notification: Performance of FrontEnd - loaded program: time 7.651e-06/7.723e-06, allocations: 0 / 273.6 MB, free: 5.395 MB / 226.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2525/0.2526, allocations: 49.71 MB / 323.3 MB, free: 14 MB / 274.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1234/0.376, allocations: 74.73 MB / 398.1 MB, free: 8.375 MB / 338.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002093/0.3763, allocations: 63.97 kB / 398.1 MB, free: 8.312 MB / 338.8 MB Notification: Performance of FrontEnd: time 0.001218/0.3775, allocations: 190.2 kB / 398.3 MB, free: 8.129 MB / 338.8 MB Notification: Performance of Transformations before backend: time 6.683e-06/0.3775, allocations: 0 / 398.3 MB, free: 8.129 MB / 338.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003183/0.3779, allocations: 322.4 kB / 398.6 MB, free: 7.77 MB / 338.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.3779, allocations: 8.031 kB / 398.6 MB, free: 7.762 MB / 338.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.028e-05/0.378, allocations: 7.906 kB / 398.6 MB, free: 7.754 MB / 338.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000148/0.3781, allocations: 163.1 kB / 398.8 MB, free: 7.555 MB / 338.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.558e-05/0.3781, allocations: 3.984 kB / 398.8 MB, free: 7.551 MB / 338.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.23e-05/0.3782, allocations: 4 kB / 398.8 MB, free: 7.547 MB / 338.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.101e-05/0.3782, allocations: 4 kB / 398.8 MB, free: 7.543 MB / 338.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.098e-05/0.3783, allocations: 33.64 kB / 398.8 MB, free: 7.504 MB / 338.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.3783, allocations: 7.844 kB / 398.9 MB, free: 7.496 MB / 338.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.396e-06/0.3784, allocations: 0 / 398.9 MB, free: 7.496 MB / 338.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.3784, allocations: 0 / 398.9 MB, free: 7.496 MB / 338.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001825/0.3786, allocations: 134.2 kB / 399 MB, free: 7.328 MB / 338.8 MB Notification: Performance of preOpt comSubExp (simulation): time 6.584e-05/0.3786, allocations: 29.86 kB / 399 MB, free: 7.293 MB / 338.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.161e-05/0.3787, allocations: 16.84 kB / 399 MB, free: 7.273 MB / 338.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.054e-05/0.3787, allocations: 0 / 399 MB, free: 7.273 MB / 338.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.058e-05/0.3788, allocations: 30.56 kB / 399.1 MB, free: 7.234 MB / 338.8 MB Notification: Performance of pre-optimization done (n=3): time 1.763e-06/0.3788, allocations: 0 / 399.1 MB, free: 7.234 MB / 338.8 MB Notification: Performance of matching and sorting (n=3): time 0.0001427/0.3789, allocations: 37.61 kB / 399.1 MB, free: 7.191 MB / 338.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.216e-05/0.379, allocations: 63.33 kB / 399.2 MB, free: 7.117 MB / 338.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.296e-05/0.3791, allocations: 97.03 kB / 399.3 MB, free: 7.016 MB / 338.8 MB Notification: Performance of collectPreVariables (initialization): time 1.858e-05/0.3791, allocations: 25.7 kB / 399.3 MB, free: 6.984 MB / 338.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.548e-05/0.3792, allocations: 84.14 kB / 399.4 MB, free: 6.898 MB / 338.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.549e-05/0.3792, allocations: 7.844 kB / 399.4 MB, free: 6.891 MB / 338.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.158e-06/0.3792, allocations: 0 / 399.4 MB, free: 6.891 MB / 338.8 MB Notification: Performance of setup shared object (initialization): time 0.00016/0.3794, allocations: 318.8 kB / 399.7 MB, free: 6.57 MB / 338.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.819e-05/0.3794, allocations: 4 kB / 399.7 MB, free: 6.566 MB / 338.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.455e-05/0.3794, allocations: 4 kB / 399.7 MB, free: 6.562 MB / 338.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.61e-05/0.3795, allocations: 15.84 kB / 399.7 MB, free: 6.547 MB / 338.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.714e-06/0.3795, allocations: 4 kB / 399.7 MB, free: 6.543 MB / 338.8 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001007/0.3796, allocations: 41.69 kB / 399.7 MB, free: 6.496 MB / 338.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.3796, allocations: 4 kB / 399.8 MB, free: 6.492 MB / 338.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.3796, allocations: 0 / 399.8 MB, free: 6.492 MB / 338.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.3797, allocations: 0 / 399.8 MB, free: 6.492 MB / 338.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001017/0.3798, allocations: 8 kB / 399.8 MB, free: 6.484 MB / 338.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.228e-06/0.3798, allocations: 0 / 399.8 MB, free: 6.484 MB / 338.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.665e-05/0.3798, allocations: 7.844 kB / 399.8 MB, free: 6.477 MB / 338.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.385e-06/0.3799, allocations: 4 kB / 399.8 MB, free: 6.473 MB / 338.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 (4): * Single equations (assignments): 4 * 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 8.172e-05/0.3799, allocations: 105 kB / 399.9 MB, free: 6.363 MB / 338.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.737e-05/0.38, allocations: 8 kB / 399.9 MB, free: 6.355 MB / 338.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.785e-05/0.38, allocations: 7.672 kB / 399.9 MB, free: 6.348 MB / 338.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.239e-06/0.38, allocations: 0 / 399.9 MB, free: 6.348 MB / 338.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.009e-06/0.38, allocations: 7.906 kB / 399.9 MB, free: 6.34 MB / 338.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.994e-06/0.3801, allocations: 0 / 399.9 MB, free: 6.34 MB / 338.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000124/0.3802, allocations: 134.2 kB / 400 MB, free: 6.172 MB / 338.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.211e-06/0.3802, allocations: 3.984 kB / 400 MB, free: 6.168 MB / 338.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.499e-05/0.3803, allocations: 12 kB / 400 MB, free: 6.156 MB / 338.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.3803, allocations: 0 / 400 MB, free: 6.156 MB / 338.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.074e-06/0.3803, allocations: 4 kB / 400 MB, free: 6.152 MB / 338.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.938e-06/0.3804, allocations: 0 / 400 MB, free: 6.152 MB / 338.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.574e-06/0.3804, allocations: 0 / 400 MB, free: 6.152 MB / 338.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001545/0.3805, allocations: 73.03 kB / 400.1 MB, free: 6.062 MB / 338.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.614e-05/0.3806, allocations: 84.95 kB / 400.2 MB, free: 5.961 MB / 338.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.567e-05/0.3806, allocations: 0 / 400.2 MB, free: 5.961 MB / 338.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.96e-05/0.3807, allocations: 4.031 kB / 400.2 MB, free: 5.957 MB / 338.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.1e-05/0.3807, allocations: 4 kB / 400.2 MB, free: 5.953 MB / 338.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.88e-06/0.3807, allocations: 4.062 kB / 400.2 MB, free: 5.949 MB / 338.8 MB Notification: Performance of sort global known variables: time 5.272e-05/0.3808, allocations: 83.28 kB / 400.3 MB, free: 5.867 MB / 338.8 MB Notification: Performance of remove unused functions: time 0.0002624/0.381, allocations: 4 kB / 400.3 MB, free: 5.863 MB / 338.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0001384/0.3812, allocations: 91.25 kB / 400.4 MB, free: 5.766 MB / 338.8 MB Notification: Performance of simCode: created initialization part: time 8.311e-05/0.3813, allocations: 15.98 kB / 400.4 MB, free: 5.75 MB / 338.8 MB Notification: Performance of simCode: created event and clocks part: time 2.298e-06/0.3813, allocations: 0 / 400.4 MB, free: 5.75 MB / 338.8 MB Notification: Performance of simCode: created simulation system equations: time 2.145e-05/0.3813, allocations: 8.609 kB / 400.4 MB, free: 5.742 MB / 338.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001219/0.3815, allocations: 4 kB / 400.4 MB, free: 5.738 MB / 338.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003217/0.3818, allocations: 116.8 kB / 400.5 MB, free: 5.602 MB / 338.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003688/0.3822, allocations: 0.6889 MB / 401.2 MB, free: 4.891 MB / 338.8 MB Notification: Performance of SimCode: time 1.356e-06/0.3822, allocations: 0 / 401.2 MB, free: 4.891 MB / 338.8 MB Notification: Performance of Templates: time 0.002283/0.3845, allocations: 264.3 kB / 401.5 MB, free: 4.633 MB / 338.8 MB