Running command: translateModel(HanserModelica.FirstSteps.Electrical1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical1") [: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.757/1.757, allocations: 214.7 MB / 221.7 MB, free: 5.129 MB / 186.9 MB Notification: Performance of FrontEnd - loaded program: time 7.118e-06/7.233e-06, allocations: 0 / 273.6 MB, free: 2.008 MB / 218.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08523/0.08527, allocations: 49.72 MB / 323.3 MB, free: 200 kB / 266.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3438/0.4291, allocations: 74.91 MB / 398.3 MB, free: 0.5586 MB / 314.9 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000298/0.4295, allocations: 59.89 kB / 398.3 MB, free: 0.5273 MB / 314.9 MB Notification: Performance of FrontEnd: time 0.00145/0.4309, allocations: 121.3 kB / 398.4 MB, free: 448 kB / 314.9 MB Notification: Performance of Transformations before backend: time 8.508e-06/0.431, allocations: 0 / 398.4 MB, free: 448 kB / 314.9 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.0004689/0.4315, allocations: 314.9 kB / 398.7 MB, free: 92 kB / 314.9 MB Notification: Performance of prepare preOptimizeDAE: time 6.152e-05/0.4316, allocations: 12.03 kB / 398.7 MB, free: 80 kB / 314.9 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.23e-05/0.4316, allocations: 3.906 kB / 398.8 MB, free: 76 kB / 314.9 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002485/0.4319, allocations: 160.6 kB / 398.9 MB, free: 15.88 MB / 330.9 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.757e-05/0.4319, allocations: 3.938 kB / 398.9 MB, free: 15.88 MB / 330.9 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.294e-05/0.432, allocations: 4 kB / 398.9 MB, free: 15.87 MB / 330.9 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.89e-05/0.4321, allocations: 4 kB / 398.9 MB, free: 15.87 MB / 330.9 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001068/0.4322, allocations: 37.69 kB / 399 MB, free: 15.82 MB / 330.9 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.658e-05/0.4323, allocations: 3.906 kB / 399 MB, free: 15.82 MB / 330.9 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.23e-05/0.4323, allocations: 0 / 399 MB, free: 15.82 MB / 330.9 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.125e-05/0.4323, allocations: 0 / 399 MB, free: 15.82 MB / 330.9 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002762/0.4326, allocations: 134 kB / 399.1 MB, free: 15.66 MB / 330.9 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001317/0.4328, allocations: 25.41 kB / 399.1 MB, free: 15.63 MB / 330.9 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.816e-05/0.4328, allocations: 12.11 kB / 399.1 MB, free: 15.62 MB / 330.9 MB Notification: Performance of preOpt evalFunc (simulation): time 1.972e-05/0.4329, allocations: 4 kB / 399.1 MB, free: 15.61 MB / 330.9 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.233e-05/0.4329, allocations: 36.91 kB / 399.2 MB, free: 15.57 MB / 330.9 MB Notification: Performance of pre-optimization done (n=3): time 3.118e-06/0.433, allocations: 4 kB / 399.2 MB, free: 15.57 MB / 330.9 MB Notification: Performance of matching and sorting (n=3): time 0.0002258/0.4332, allocations: 44.5 kB / 399.2 MB, free: 15.52 MB / 330.9 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.488e-05/0.4333, allocations: 51.41 kB / 399.3 MB, free: 15.46 MB / 330.9 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001179/0.4334, allocations: 89 kB / 399.4 MB, free: 15.36 MB / 330.9 MB Notification: Performance of collectPreVariables (initialization): time 2.905e-05/0.4335, allocations: 25.7 kB / 399.4 MB, free: 15.33 MB / 330.9 MB Notification: Performance of collectInitialEqns (initialization): time 6.71e-05/0.4336, allocations: 83.58 kB / 399.5 MB, free: 15.25 MB / 330.9 MB Notification: Performance of collectInitialBindings (initialization): time 4.116e-05/0.4336, allocations: 15.83 kB / 399.5 MB, free: 15.23 MB / 330.9 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.887e-06/0.4336, allocations: 0 / 399.5 MB, free: 15.23 MB / 330.9 MB Notification: Performance of setup shared object (initialization): time 0.000238/0.4339, allocations: 318.3 kB / 399.8 MB, free: 14.92 MB / 330.9 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.772e-05/0.4339, allocations: 0 / 399.8 MB, free: 14.92 MB / 330.9 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.04e-05/0.434, allocations: 4.234 kB / 399.8 MB, free: 14.91 MB / 330.9 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.545e-05/0.4341, allocations: 11.62 kB / 399.8 MB, free: 14.91 MB / 330.9 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.454e-06/0.4341, allocations: 0 / 399.8 MB, free: 14.91 MB / 330.9 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001978/0.4343, allocations: 49.61 kB / 399.9 MB, free: 14.85 MB / 330.9 MB Notification: Performance of prepare postOptimizeDAE: time 2.17e-05/0.4343, allocations: 7.75 kB / 399.9 MB, free: 14.85 MB / 330.9 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.176e-06/0.4344, allocations: 0 / 399.9 MB, free: 14.85 MB / 330.9 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.4344, allocations: 4 kB / 399.9 MB, free: 14.84 MB / 330.9 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001675/0.4346, allocations: 12.86 kB / 399.9 MB, free: 14.83 MB / 330.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.9e-06/0.4346, allocations: 0 / 399.9 MB, free: 14.83 MB / 330.9 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.236e-05/0.4347, allocations: 11.84 kB / 399.9 MB, free: 14.82 MB / 330.9 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.036e-06/0.4347, allocations: 0 / 399.9 MB, free: 14.82 MB / 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 (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 0.0001237/0.4348, allocations: 104.2 kB / 400 MB, free: 14.71 MB / 330.9 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.279e-05/0.4349, allocations: 0 / 400 MB, free: 14.71 MB / 330.9 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.465e-05/0.4349, allocations: 7.688 kB / 400 MB, free: 14.71 MB / 330.9 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.264e-06/0.435, allocations: 0 / 400 MB, free: 14.71 MB / 330.9 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.282e-05/0.435, allocations: 7.906 kB / 400 MB, free: 14.7 MB / 330.9 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.667e-06/0.435, allocations: 3.938 kB / 400 MB, free: 14.7 MB / 330.9 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001978/0.4352, allocations: 135.7 kB / 400.1 MB, free: 14.53 MB / 330.9 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.4353, allocations: 0 / 400.1 MB, free: 14.53 MB / 330.9 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001682/0.4354, allocations: 8 kB / 400.1 MB, free: 14.52 MB / 330.9 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.993e-06/0.4355, allocations: 0 / 400.1 MB, free: 14.52 MB / 330.9 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.985e-05/0.4355, allocations: 3.984 kB / 400.2 MB, free: 14.52 MB / 330.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.395e-06/0.4355, allocations: 3.938 kB / 400.2 MB, free: 14.52 MB / 330.9 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.744e-06/0.4356, allocations: 0 / 400.2 MB, free: 14.52 MB / 330.9 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000251/0.4358, allocations: 79.28 kB / 400.2 MB, free: 14.43 MB / 330.9 MB Notification: Performance of postOpt removeConstants (simulation): time 8.235e-05/0.4359, allocations: 81.02 kB / 400.3 MB, free: 14.33 MB / 330.9 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.617e-05/0.436, allocations: 4 kB / 400.3 MB, free: 14.32 MB / 330.9 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.596e-05/0.436, allocations: 0 / 400.3 MB, free: 14.32 MB / 330.9 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.688e-05/0.4361, allocations: 0 / 400.3 MB, free: 14.32 MB / 330.9 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.217e-06/0.4361, allocations: 0 / 400.3 MB, free: 14.32 MB / 330.9 MB Notification: Performance of sort global known variables: time 7.587e-05/0.4362, allocations: 82.47 kB / 400.4 MB, free: 14.25 MB / 330.9 MB Notification: Performance of remove unused functions: time 0.0006143/0.4368, allocations: 12.03 kB / 400.4 MB, free: 14.23 MB / 330.9 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.0001907/0.437, allocations: 95.31 kB / 400.5 MB, free: 14.13 MB / 330.9 MB Notification: Performance of simCode: created initialization part: time 0.0001283/0.4372, allocations: 15.94 kB / 400.5 MB, free: 14.12 MB / 330.9 MB Notification: Performance of simCode: created event and clocks part: time 3.633e-06/0.4372, allocations: 0 / 400.5 MB, free: 14.12 MB / 330.9 MB Notification: Performance of simCode: created simulation system equations: time 3.507e-05/0.4373, allocations: 6.938 kB / 400.5 MB, free: 14.11 MB / 330.9 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002224/0.4375, allocations: 4 kB / 400.5 MB, free: 14.11 MB / 330.9 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000346/0.4379, allocations: 67.52 kB / 400.6 MB, free: 14.02 MB / 330.9 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005473/0.4384, allocations: 0.6876 MB / 401.3 MB, free: 13.31 MB / 330.9 MB Notification: Performance of SimCode: time 2.004e-06/0.4385, allocations: 4 kB / 401.3 MB, free: 13.3 MB / 330.9 MB Notification: Performance of Templates: time 0.003762/0.4423, allocations: 265.6 kB / 401.5 MB, free: 13.05 MB / 330.9 MB