Running command: translateModel(HanserModelica.FirstSteps.Electrical5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical5") [: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.9/1.9, allocations: 214.7 MB / 221.7 MB, free: 5.191 MB / 186.9 MB Notification: Performance of FrontEnd - loaded program: time 1.034e-05/1.043e-05, allocations: 4 kB / 273.6 MB, free: 1.996 MB / 218.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08696/0.08699, allocations: 49.71 MB / 323.3 MB, free: 196 kB / 266.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3006/0.3877, allocations: 77.19 MB / 400.5 MB, free: 14.29 MB / 330.9 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001809/0.3879, allocations: 67.06 kB / 400.6 MB, free: 14.26 MB / 330.9 MB Notification: Performance of FrontEnd: time 0.007497/0.3954, allocations: 1.747 MB / 402.3 MB, free: 12.83 MB / 330.9 MB Notification: Performance of Transformations before backend: time 1.02e-05/0.3955, allocations: 0 / 402.3 MB, free: 12.83 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0004755/0.3959, allocations: 381.8 kB / 402.7 MB, free: 12.42 MB / 330.9 MB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.396, allocations: 8.031 kB / 402.7 MB, free: 12.41 MB / 330.9 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.327e-05/0.3961, allocations: 15.81 kB / 402.7 MB, free: 12.4 MB / 330.9 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002577/0.3963, allocations: 198.8 kB / 402.9 MB, free: 12.17 MB / 330.9 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.436e-05/0.3964, allocations: 6.297 kB / 402.9 MB, free: 12.17 MB / 330.9 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.076e-05/0.3964, allocations: 8.75 kB / 402.9 MB, free: 12.16 MB / 330.9 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001559/0.3966, allocations: 51.05 kB / 403 MB, free: 12.13 MB / 330.9 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002028/0.3968, allocations: 81.11 kB / 403.1 MB, free: 12.06 MB / 330.9 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.3968, allocations: 0 / 403.1 MB, free: 12.06 MB / 330.9 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.703e-05/0.3968, allocations: 0 / 403.1 MB, free: 12.06 MB / 330.9 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.347e-06/0.3968, allocations: 4 kB / 403.1 MB, free: 12.05 MB / 330.9 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009111/0.3978, allocations: 475.4 kB / 403.5 MB, free: 11.59 MB / 330.9 MB Notification: Performance of preOpt comSubExp (simulation): time 7.843e-05/0.3979, allocations: 36.58 kB / 403.6 MB, free: 11.55 MB / 330.9 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.257e-05/0.3979, allocations: 16.23 kB / 403.6 MB, free: 11.54 MB / 330.9 MB Notification: Performance of preOpt evalFunc (simulation): time 1.094e-05/0.3979, allocations: 0 / 403.6 MB, free: 11.54 MB / 330.9 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.958e-05/0.398, allocations: 34.56 kB / 403.6 MB, free: 11.49 MB / 330.9 MB Notification: Performance of pre-optimization done (n=4): time 1.901e-06/0.398, allocations: 0 / 403.6 MB, free: 11.49 MB / 330.9 MB Notification: Performance of matching and sorting (n=4): time 0.0001885/0.3982, allocations: 59.56 kB / 403.7 MB, free: 11.43 MB / 330.9 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.648e-05/0.3982, allocations: 51.41 kB / 403.7 MB, free: 11.37 MB / 330.9 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001292/0.3984, allocations: 122.2 kB / 403.9 MB, free: 11.25 MB / 330.9 MB Notification: Performance of collectPreVariables (initialization): time 2.043e-05/0.3984, allocations: 25.7 kB / 403.9 MB, free: 11.22 MB / 330.9 MB Notification: Performance of collectInitialEqns (initialization): time 8.132e-05/0.3985, allocations: 125.2 kB / 404 MB, free: 11.1 MB / 330.9 MB Notification: Performance of collectInitialBindings (initialization): time 1.652e-05/0.3985, allocations: 7.812 kB / 404 MB, free: 11.09 MB / 330.9 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.453e-06/0.3986, allocations: 0 / 404 MB, free: 11.09 MB / 330.9 MB Notification: Performance of setup shared object (initialization): time 0.0001537/0.3987, allocations: 322.1 kB / 404.3 MB, free: 10.77 MB / 330.9 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.216e-05/0.3988, allocations: 7.719 kB / 404.3 MB, free: 10.77 MB / 330.9 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.449e-05/0.3988, allocations: 36.89 kB / 404.4 MB, free: 10.73 MB / 330.9 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.58e-05/0.3989, allocations: 14.67 kB / 404.4 MB, free: 10.72 MB / 330.9 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.15e-06/0.3989, allocations: 0 / 404.4 MB, free: 10.72 MB / 330.9 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001605/0.3991, allocations: 72.16 kB / 404.5 MB, free: 10.65 MB / 330.9 MB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.3991, allocations: 4 kB / 404.5 MB, free: 10.64 MB / 330.9 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.733e-06/0.3991, allocations: 7.938 kB / 404.5 MB, free: 10.64 MB / 330.9 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.3991, allocations: 0 / 404.5 MB, free: 10.64 MB / 330.9 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001189/0.3993, allocations: 15.38 kB / 404.5 MB, free: 10.62 MB / 330.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.115e-06/0.3993, allocations: 4.062 kB / 404.5 MB, free: 10.62 MB / 330.9 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.476e-05/0.3994, allocations: 11.84 kB / 404.5 MB, free: 10.61 MB / 330.9 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.035e-05/0.3994, allocations: 3.938 kB / 404.5 MB, free: 10.61 MB / 330.9 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.126e-05/0.3995, allocations: 108.9 kB / 404.6 MB, free: 10.49 MB / 330.9 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.836e-05/0.3995, allocations: 3.906 kB / 404.6 MB, free: 10.49 MB / 330.9 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.6e-05/0.3996, allocations: 19.39 kB / 404.6 MB, free: 10.47 MB / 330.9 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.491e-06/0.3996, allocations: 0 / 404.6 MB, free: 10.47 MB / 330.9 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.215e-06/0.3996, allocations: 0 / 404.6 MB, free: 10.47 MB / 330.9 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.079e-06/0.3996, allocations: 0 / 404.6 MB, free: 10.47 MB / 330.9 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002236/0.3998, allocations: 164.1 kB / 404.8 MB, free: 10.28 MB / 330.9 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.082e-06/0.3999, allocations: 3.906 kB / 404.8 MB, free: 10.28 MB / 330.9 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.305e-05/0.4, allocations: 8 kB / 404.8 MB, free: 10.27 MB / 330.9 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.34e-06/0.4, allocations: 0 / 404.8 MB, free: 10.27 MB / 330.9 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/0.4, allocations: 4 kB / 404.8 MB, free: 10.27 MB / 330.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.183e-06/0.4, allocations: 0 / 404.8 MB, free: 10.27 MB / 330.9 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.162e-06/0.4, allocations: 0 / 404.8 MB, free: 10.27 MB / 330.9 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002045/0.4002, allocations: 165.9 kB / 405 MB, free: 10.1 MB / 330.9 MB Notification: Performance of postOpt removeConstants (simulation): time 6.194e-05/0.4003, allocations: 85.08 kB / 405.1 MB, free: 9.996 MB / 330.9 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.165e-05/0.4003, allocations: 0 / 405.1 MB, free: 9.996 MB / 330.9 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001267/0.4005, allocations: 4 kB / 405.1 MB, free: 9.992 MB / 330.9 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.533e-05/0.4005, allocations: 64 / 405.1 MB, free: 9.992 MB / 330.9 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.234e-05/0.4005, allocations: 8.047 kB / 405.1 MB, free: 9.984 MB / 330.9 MB Notification: Performance of sort global known variables: time 8.158e-05/0.4006, allocations: 101 kB / 405.2 MB, free: 9.895 MB / 330.9 MB Notification: Performance of remove unused functions: time 0.0003597/0.401, allocations: 23.84 kB / 405.2 MB, free: 9.871 MB / 330.9 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (inductor.i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0001308/0.4011, allocations: 99.25 kB / 405.3 MB, free: 9.762 MB / 330.9 MB Notification: Performance of simCode: created initialization part: time 0.0001167/0.4013, allocations: 34.55 kB / 405.3 MB, free: 9.734 MB / 330.9 MB Notification: Performance of simCode: created event and clocks part: time 2.703e-06/0.4013, allocations: 0 / 405.3 MB, free: 9.734 MB / 330.9 MB Notification: Performance of simCode: created simulation system equations: time 2.714e-05/0.4013, allocations: 11.69 kB / 405.3 MB, free: 9.727 MB / 330.9 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002274/0.4016, allocations: 4 kB / 405.3 MB, free: 9.723 MB / 330.9 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004932/0.4021, allocations: 171.3 kB / 405.5 MB, free: 9.535 MB / 330.9 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004197/0.4025, allocations: 0.7149 MB / 406.2 MB, free: 8.797 MB / 330.9 MB Notification: Performance of SimCode: time 1.416e-06/0.4025, allocations: 0 / 406.2 MB, free: 8.797 MB / 330.9 MB Notification: Performance of Templates: time 0.00334/0.4059, allocations: 0.5864 MB / 406.8 MB, free: 8.223 MB / 330.9 MB