Running command: translateModel(HanserModelica.Electrical.StarPolygon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.StarPolygon") [: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.987/1.987, allocations: 214.7 MB / 221.7 MB, free: 5.012 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 9.053e-06/9.135e-06, allocations: 0 / 273.6 MB, free: 1.82 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1194/0.1195, allocations: 49.71 MB / 323.3 MB, free: 12 kB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2768/0.3963, allocations: 83.83 MB / 407.2 MB, free: 7.375 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002258/0.3966, allocations: 65.78 kB / 407.2 MB, free: 7.344 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.1273/0.5239, allocations: 32.59 MB / 439.8 MB, free: 12.27 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002145/0.5242, allocations: 59.94 kB / 439.9 MB, free: 12.21 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 576 * Number of variables: 576 Notification: Performance of Generate backend data structure: time 0.007106/0.5313, allocations: 2.271 MB / 442.2 MB, free: 10.02 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.837e-05/0.5314, allocations: 8.031 kB / 442.2 MB, free: 10.02 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00137/0.5328, allocations: 288.7 kB / 442.5 MB, free: 9.73 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004099/0.5369, allocations: 1.455 MB / 443.9 MB, free: 8.523 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000156/0.5371, allocations: 72 kB / 444 MB, free: 8.453 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007201/0.5378, allocations: 139.4 kB / 444.1 MB, free: 8.32 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006151/0.544, allocations: 2.277 MB / 446.4 MB, free: 6.867 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007995/0.552, allocations: 2.686 MB / 449.1 MB, free: 4.832 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.583e-05/0.5521, allocations: 4 kB / 449.1 MB, free: 4.828 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003012/0.5525, allocations: 3.984 kB / 449.1 MB, free: 4.824 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.257e-05/0.5525, allocations: 56 kB / 449.1 MB, free: 4.77 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01943/0.572, allocations: 7.545 MB / 456.7 MB, free: 13.09 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001793/0.5738, allocations: 0.8132 MB / 457.5 MB, free: 12.27 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002305/0.5762, allocations: 1.087 MB / 458.6 MB, free: 11.18 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.633e-05/0.5763, allocations: 16.98 kB / 458.6 MB, free: 11.16 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001954/0.5783, allocations: 0.9006 MB / 459.5 MB, free: 10.23 MB / 378.7 MB Notification: Performance of pre-optimization done (n=122): time 5.112e-06/0.5783, allocations: 0 / 459.5 MB, free: 10.23 MB / 378.7 MB Notification: Performance of matching and sorting (n=127): time 0.008823/0.5871, allocations: 3.664 MB / 463.2 MB, free: 6.516 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001416/0.5873, allocations: 201.2 kB / 463.4 MB, free: 6.277 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002256/0.5896, allocations: 1.025 MB / 464.4 MB, free: 5.234 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002878/0.5899, allocations: 37.69 kB / 464.4 MB, free: 5.191 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001041/0.591, allocations: 0.7637 MB / 465.2 MB, free: 4.414 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006125/0.5916, allocations: 413.9 kB / 465.6 MB, free: 4.004 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.676e-05/0.5917, allocations: 0 / 465.6 MB, free: 4.004 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002159/0.5919, allocations: 353.9 kB / 465.9 MB, free: 3.652 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001338/0.5933, allocations: 0.6467 MB / 466.6 MB, free: 3.004 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001671/0.595, allocations: 0.9204 MB / 467.5 MB, free: 1.98 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00166/0.5967, allocations: 0.7797 MB / 468.3 MB, free: 1.199 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.396e-06/0.5967, allocations: 0 / 468.3 MB, free: 1.199 MB / 378.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.004349/0.6011, allocations: 1.9 MB / 470.2 MB, free: 15.29 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/0.6011, allocations: 8 kB / 470.2 MB, free: 15.28 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.109e-05/0.6012, allocations: 4 kB / 470.2 MB, free: 15.27 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008236/0.602, allocations: 268.7 kB / 470.5 MB, free: 15.01 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001616/0.6036, allocations: 255.7 kB / 470.7 MB, free: 14.76 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006453/0.6101, allocations: 3.536 MB / 474.2 MB, free: 11.11 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001353/0.6115, allocations: 68 kB / 474.3 MB, free: 11.04 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001415/0.6117, allocations: 47.94 kB / 474.4 MB, free: 10.99 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquare[5].mean.y,rootMeanSquare[5].mean.y,$PRE.rootMeanSquare[4].mean.y,rootMeanSquare[4].mean.y,$PRE.rootMeanSquare[3].mean.y,rootMeanSquare[3].mean.y,$PRE.rootMeanSquare[2].mean.y,rootMeanSquare[2].mean.y,$PRE.rootMeanSquare[1].mean.y,rootMeanSquare[1].mean.y,booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,booleanStep[4].y,booleanStep[5].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (134): * Single equations (assignments): 133 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003739/0.612, allocations: 154.8 kB / 474.5 MB, free: 10.83 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003106/0.6124, allocations: 126.5 kB / 474.6 MB, free: 10.71 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004867/0.6129, allocations: 153 kB / 474.8 MB, free: 10.55 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.609e-05/0.6129, allocations: 16 kB / 474.8 MB, free: 10.54 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.864e-05/0.6129, allocations: 4 kB / 474.8 MB, free: 10.54 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.925e-05/0.613, allocations: 11.88 kB / 474.8 MB, free: 10.52 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008815/0.6218, allocations: 3.805 MB / 478.6 MB, free: 6.648 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.019e-05/0.6218, allocations: 4 kB / 478.6 MB, free: 6.645 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001306/0.6232, allocations: 199.8 kB / 478.8 MB, free: 6.449 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008626/0.624, allocations: 265.4 kB / 479.1 MB, free: 6.188 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001958/0.6243, allocations: 31.97 kB / 479.1 MB, free: 6.156 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006407/0.6307, allocations: 3.542 MB / 482.6 MB, free: 2.496 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.739e-06/0.6307, allocations: 0 / 482.6 MB, free: 2.496 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005992/0.6367, allocations: 2.907 MB / 485.6 MB, free: 15.53 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001235/0.638, allocations: 375.4 kB / 485.9 MB, free: 15.14 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004437/0.6385, allocations: 31.97 kB / 486 MB, free: 15.11 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001112/0.6396, allocations: 55.95 kB / 486 MB, free: 15.06 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003265/0.64, allocations: 100.8 kB / 486.1 MB, free: 14.96 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001287/0.6401, allocations: 44.17 kB / 486.2 MB, free: 14.92 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.001701/0.6418, allocations: 0.7868 MB / 486.9 MB, free: 14.12 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002232/0.6441, allocations: 383.9 kB / 487.3 MB, free: 13.74 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 10 (inductorLoad.inductor[1].i,inductorLoad.inductor[2].i,inductorLoad.inductor[3].i,inductorLoad.inductor[4].i,inductorLoad.inductor[5].i,rootMeanSquare[1].mean.x,rootMeanSquare[2].mean.x,rootMeanSquare[3].mean.x,rootMeanSquare[4].mean.x,rootMeanSquare[5].mean.x) * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,booleanStep[4].y,booleanStep[5].y,rootMeanSquare[1].mean.y,rootMeanSquare[2].mean.y,rootMeanSquare[3].mean.y,rootMeanSquare[4].mean.y,rootMeanSquare[5].mean.y) * Number of discrete states: 5 (rootMeanSquare[1].mean.x,rootMeanSquare[2].mean.x,rootMeanSquare[3].mean.x,rootMeanSquare[4].mean.x,rootMeanSquare[5].mean.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (103): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003921/0.6445, allocations: 139 kB / 487.4 MB, free: 13.6 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003876/0.6484, allocations: 1.723 MB / 489.2 MB, free: 11.86 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.281e-06/0.6485, allocations: 0 / 489.2 MB, free: 11.86 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002484/0.651, allocations: 1.024 MB / 490.2 MB, free: 10.83 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001877/0.6529, allocations: 228.3 kB / 490.4 MB, free: 10.61 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01111/0.664, allocations: 3.847 MB / 494.3 MB, free: 6.688 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003337/0.6674, allocations: 2.135 MB / 496.4 MB, free: 4.516 MB / 410.7 MB Notification: Performance of SimCode: time 2.045e-06/0.6674, allocations: 0 / 496.4 MB, free: 4.516 MB / 410.7 MB Notification: Performance of Templates: time 0.05228/0.7197, allocations: 18.36 MB / 0.5027 GB, free: 2.203 MB / 426.7 MB