Running command: translateModel(HanserModelica.Machines.EquivalentCircuit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Machines.EquivalentCircuit") [: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.812/1.812, allocations: 214.7 MB / 221.7 MB, free: 4.879 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 6.857e-06/6.935e-06, allocations: 0 / 273.6 MB, free: 1.758 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1053/0.1053, allocations: 49.7 MB / 323.3 MB, free: 15.96 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2978/0.4032, allocations: 99.79 MB / 423.1 MB, free: 7.445 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002072/0.4034, allocations: 69.28 kB / 423.2 MB, free: 7.414 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.403/1.807, allocations: 357.7 MB / 0.7625 GB, free: 40.93 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0006247/1.808, allocations: 228.7 kB / 0.7628 GB, free: 40.91 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3006 * Number of variables: 3006 Notification: Performance of Generate backend data structure: time 0.04802/1.856, allocations: 9.967 MB / 0.7725 GB, free: 36.74 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/1.856, allocations: 11.56 kB / 0.7725 GB, free: 36.73 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04896/1.905, allocations: 4.919 MB / 0.7773 GB, free: 35.21 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01909/1.924, allocations: 6.736 MB / 0.7839 GB, free: 28.44 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009558/1.925, allocations: 359.9 kB / 0.7842 GB, free: 28.09 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0046/1.929, allocations: 0.5936 MB / 0.7848 GB, free: 27.5 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03589/1.965, allocations: 14.71 MB / 0.7992 GB, free: 12.78 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05053/2.016, allocations: 16.86 MB / 0.8156 GB, free: 11.57 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000496/2.016, allocations: 15.83 kB / 0.8157 GB, free: 11.55 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003863/2.02, allocations: 8 kB / 0.8157 GB, free: 11.54 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001119/2.021, allocations: 0.7477 MB / 0.8164 GB, free: 10.79 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2906/2.312, allocations: 53.13 MB / 0.8683 GB, free: 87.86 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02116/2.333, allocations: 10.85 MB / 0.8789 GB, free: 87.78 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01714/2.35, allocations: 8.903 MB / 0.8876 GB, free: 86.61 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001171/2.352, allocations: 312.9 kB / 0.8879 GB, free: 86.46 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.398e-05/2.352, allocations: 118.1 kB / 0.888 GB, free: 86.37 MB / 442.7 MB Notification: Performance of pre-optimization done (n=996): time 1.883e-05/2.352, allocations: 0 / 0.888 GB, free: 86.37 MB / 442.7 MB Notification: Performance of matching and sorting (n=996): time 0.04295/2.395, allocations: 16.93 MB / 0.9045 GB, free: 80.03 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.409e-05/2.395, allocations: 160.4 kB / 0.9047 GB, free: 79.93 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003745/2.399, allocations: 1.723 MB / 0.9063 GB, free: 79.26 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.002132/2.401, allocations: 29.02 kB / 0.9064 GB, free: 79.23 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001785/2.403, allocations: 2.881 MB / 0.9092 GB, free: 77.73 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.004633/2.407, allocations: 3.134 MB / 0.9123 GB, free: 75.24 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002152/2.409, allocations: 7.375 kB / 0.9123 GB, free: 75.24 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.001142/2.411, allocations: 0.6626 MB / 0.9129 GB, free: 74.78 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01315/2.424, allocations: 6.268 MB / 0.919 GB, free: 72.36 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01482/2.439, allocations: 7.123 MB / 0.926 GB, free: 69.21 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02065/2.459, allocations: 7.622 MB / 0.9334 GB, free: 65.84 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.126e-05/2.459, allocations: 4 kB / 0.9334 GB, free: 65.84 MB / 442.7 MB Notification: Performance of matching and sorting (n=1091) (initialization): time 0.04432/2.504, allocations: 17.68 MB / 0.9507 GB, free: 50.39 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/2.504, allocations: 4 kB / 0.9507 GB, free: 50.38 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.445e-05/2.504, allocations: 16 kB / 0.9507 GB, free: 50.37 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01461/2.519, allocations: 5.661 MB / 0.9562 GB, free: 45.58 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008275/2.527, allocations: 1.196 MB / 0.9574 GB, free: 44.67 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01811/2.545, allocations: 11.4 MB / 0.9685 GB, free: 34.38 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007015/2.552, allocations: 0.6208 MB / 0.9691 GB, free: 33.82 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002489/2.555, allocations: 295.1 kB / 0.9694 GB, free: 33.56 MB / 442.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: resistor_m.resistor[1].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] resistor_m.resistor[3].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] resistor_m.resistor[3].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] resistor_m.resistor[2].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] resistor_m.resistor[2].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] powerb_m.powerSensor[1].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] powerb_m.powerSensor[2].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] powerb_m.powerSensor[3].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] powerb_m.powerSensor[3].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] powerb_m.powerSensor[1].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] powerb_m.powerSensor[2].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: star_m.plugToPins_p.pin_p[3].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] star_m.plugToPins_p.pin_p[3].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] star_m.plugToPins_p.pin_p[1].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] star_m.plugToPins_p.pin_p[2].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] star_m.plugToPins_p.pin_p[2].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] star_m.plugToPins_p.pin_p[1].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: main_e.inductor[2].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] main_e.inductor[2].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] core_e.conductor[1].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] resistor_e.resistor[1].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] main_e.inductor[3].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] resistor_e.resistor[3].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] stray_e.inductor[2].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] stray_e.inductor[2].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] stray_e.inductor[3].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] stray_e.inductor[3].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] stray_e.inductor[1].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] stray_e.inductor[1].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] powerb_e.powerSensor[2].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] powerb_e.powerSensor[2].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] powerb_e.powerSensor[1].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] powerb_e.powerSensor[3].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] powerb_e.powerSensor[1].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] powerb_e.powerSensor[3].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: star_e.plugToPins_p.pin_p[1].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] star_e.plugToPins_p.pin_p[3].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] star_e.plugToPins_p.pin_p[3].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] star_e.plugToPins_p.pin_p[1].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] star_e.plugToPins_p.pin_p[2].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] star_e.plugToPins_p.pin_p[2].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 64 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (633): * Single equations (assignments): 549 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 80 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {6 9,18 150,6 9,11 77} Notification: Performance of prepare postOptimizeDAE: time 0.004153/2.559, allocations: 315.5 kB / 0.9697 GB, free: 33.36 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002808/2.562, allocations: 454 kB / 0.9702 GB, free: 32.92 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04662/2.608, allocations: 18.74 MB / 0.9885 GB, free: 17.05 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03901/2.647, allocations: 16.92 MB / 1.005 GB, free: 2.277 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-05/2.647, allocations: 0 / 1.005 GB, free: 2.277 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001992/2.648, allocations: 46.58 kB / 1.005 GB, free: 2.27 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2686/2.916, allocations: 34.67 MB / 1.039 GB, free: 87.87 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000125/2.916, allocations: 3.438 kB / 1.039 GB, free: 87.87 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008025/2.924, allocations: 1.087 MB / 1.04 GB, free: 87.87 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01599/2.94, allocations: 5.601 MB / 1.045 GB, free: 87.78 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002339/2.943, allocations: 110.1 kB / 1.046 GB, free: 87.78 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0187/2.962, allocations: 11.29 MB / 1.057 GB, free: 85.64 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.983e-06/2.962, allocations: 2.5 kB / 1.057 GB, free: 85.64 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.06227/3.024, allocations: 27.9 MB / 1.084 GB, free: 80.49 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006581/3.031, allocations: 2.044 MB / 1.086 GB, free: 79.57 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003/3.034, allocations: 4 kB / 1.086 GB, free: 79.57 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006248/3.04, allocations: 214.7 kB / 1.086 GB, free: 79.57 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003111/3.043, allocations: 0.6705 MB / 1.087 GB, free: 79.43 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002236/3.045, allocations: 264.9 kB / 1.087 GB, free: 79.36 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.002795/3.048, allocations: 1.318 MB / 1.088 GB, free: 78.82 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01118/3.059, allocations: 2.436 MB / 1.091 GB, free: 78.52 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (main_e.plug_p.reference.gamma,converter_m.port_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (587): * Single equations (assignments): 503 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 80 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {6 9,18 144,6 9,11 77} Notification: Performance of Backend phase and start with SimCode phase: time 0.002422/3.062, allocations: 240 kB / 1.091 GB, free: 78.42 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.03446/3.096, allocations: 15.2 MB / 1.106 GB, free: 72.55 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.784e-06/3.096, allocations: 2.25 kB / 1.106 GB, free: 72.55 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01929/3.116, allocations: 8.13 MB / 1.114 GB, free: 65.46 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006488/3.122, allocations: 0.5798 MB / 1.114 GB, free: 65.03 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05611/3.178, allocations: 21.15 MB / 1.135 GB, free: 46.36 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01941/3.198, allocations: 7.746 MB / 1.142 GB, free: 40.46 MB / 442.7 MB Notification: Performance of SimCode: time 1.781e-06/3.198, allocations: 0 / 1.142 GB, free: 40.46 MB / 442.7 MB Notification: Performance of Templates: time 0.4516/3.649, allocations: 142.4 MB / 1.281 GB, free: 65.92 MB / 442.7 MB