Running command: translateModel(HanserModelica.Electrical.StarPolygon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.StarPolygon") Notification: Performance of loadModel(HanserModelica): time 2.055/2.055, allocations: 214.7 MB / 226.9 MB, free: 1.305 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.845e-05/3.863e-05, allocations: 11.98 kB / 279.5 MB, free: 13.08 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1452/0.1452, allocations: 49.7 MB / 329.2 MB, free: 11.29 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4133/0.5586, allocations: 84.52 MB / 413.7 MB, free: 15.39 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002274/0.5589, allocations: 71.03 kB / 413.8 MB, free: 15.35 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1261/0.6851, allocations: 33.15 MB / 446.9 MB, free: 3.371 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.557e-06/0.6851, allocations: 4 kB / 446.9 MB, free: 3.367 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001986/0.6853, allocations: 59.92 kB / 447 MB, free: 3.309 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.00679/0.6921, allocations: 2.24 MB / 449.2 MB, free: 1.152 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.242e-05/0.6922, allocations: 12.03 kB / 449.2 MB, free: 1.141 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001376/0.6936, allocations: 276.8 kB / 449.5 MB, free: 0.8672 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004012/0.6976, allocations: 1.446 MB / 450.9 MB, free: 15.67 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002085/0.6979, allocations: 179 kB / 451.1 MB, free: 15.57 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006506/0.6985, allocations: 237.1 kB / 451.3 MB, free: 15.41 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00712/0.7057, allocations: 2.919 MB / 454.3 MB, free: 13.38 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.939e-05/0.7058, allocations: 3.25 kB / 454.3 MB, free: 13.38 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003118/0.7061, allocations: 92.06 kB / 454.4 MB, free: 13.36 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.158e-05/0.7062, allocations: 56 kB / 454.4 MB, free: 13.31 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006198/0.7124, allocations: 2.297 MB / 456.7 MB, free: 11.33 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0207/0.7332, allocations: 7.932 MB / 464.6 MB, free: 3.238 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004007/0.7372, allocations: 3.022 MB / 467.7 MB, free: 15.86 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002282/0.7395, allocations: 1.042 MB / 468.7 MB, free: 14.82 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.596e-05/0.7397, allocations: 20.97 kB / 468.7 MB, free: 14.8 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001931/0.7416, allocations: 0.924 MB / 469.6 MB, free: 13.84 MB / 394.7 MB Notification: Performance of pre-optimization done (n=122): time 5.046e-06/0.7416, allocations: 0 / 469.6 MB, free: 13.84 MB / 394.7 MB Notification: Performance of matching and sorting (n=127): time 0.009007/0.7507, allocations: 3.711 MB / 473.4 MB, free: 10.07 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001684/0.7509, allocations: 205.2 kB / 473.6 MB, free: 9.828 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002328/0.7532, allocations: 1.097 MB / 474.7 MB, free: 8.711 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002602/0.7535, allocations: 53.7 kB / 474.7 MB, free: 8.652 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00124/0.7548, allocations: 0.932 MB / 475.6 MB, free: 7.707 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006306/0.7554, allocations: 433.8 kB / 476.1 MB, free: 7.277 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001056/0.7556, allocations: 28 kB / 476.1 MB, free: 7.25 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002255/0.7558, allocations: 361.9 kB / 476.4 MB, free: 6.891 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001299/0.7571, allocations: 0.6116 MB / 477.1 MB, free: 6.281 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001623/0.7587, allocations: 0.8891 MB / 477.9 MB, free: 5.297 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001781/0.7606, allocations: 0.7347 MB / 478.7 MB, free: 4.562 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.675e-06/0.7606, allocations: 0 / 478.7 MB, free: 4.562 MB / 394.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.004459/0.7651, allocations: 1.894 MB / 480.6 MB, free: 2.656 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.294e-05/0.7651, allocations: 8 kB / 480.6 MB, free: 2.648 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.978e-05/0.7652, allocations: 8 kB / 480.6 MB, free: 2.641 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008771/0.7661, allocations: 288.7 kB / 480.9 MB, free: 2.355 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001508/0.7676, allocations: 255.6 kB / 481.1 MB, free: 2.105 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006765/0.7744, allocations: 3.759 MB / 484.9 MB, free: 14.21 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001338/0.7758, allocations: 91.95 kB / 485 MB, free: 14.12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001623/0.776, allocations: 48 kB / 485 MB, free: 14.07 MB / 410.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.0003936/0.7764, allocations: 182.9 kB / 485.2 MB, free: 13.89 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002952/0.7767, allocations: 138.4 kB / 485.3 MB, free: 13.75 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004571/0.7772, allocations: 177.3 kB / 485.5 MB, free: 13.58 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.608e-05/0.7772, allocations: 12 kB / 485.5 MB, free: 13.57 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.935e-05/0.7772, allocations: 4 kB / 485.5 MB, free: 13.56 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.744e-05/0.7772, allocations: 8.109 kB / 485.5 MB, free: 13.55 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01013/0.7874, allocations: 4.22 MB / 489.7 MB, free: 9.258 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.36e-05/0.7874, allocations: 4.062 kB / 489.8 MB, free: 9.254 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001208/0.7887, allocations: 191.8 kB / 489.9 MB, free: 9.066 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008858/0.7896, allocations: 273.1 kB / 490.2 MB, free: 8.797 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001869/0.7898, allocations: 39.97 kB / 490.2 MB, free: 8.758 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006424/0.7962, allocations: 3.709 MB / 494 MB, free: 4.906 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.07e-06/0.7963, allocations: 0 / 494 MB, free: 4.906 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005706/0.802, allocations: 2.788 MB / 496.7 MB, free: 2.059 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001141/0.8032, allocations: 363.5 kB / 497.1 MB, free: 1.684 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003179/0.8035, allocations: 43.97 kB / 497.1 MB, free: 1.641 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009548/0.8045, allocations: 83.94 kB / 497.2 MB, free: 1.559 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003798/0.8049, allocations: 128.8 kB / 497.3 MB, free: 1.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001348/0.805, allocations: 43.94 kB / 497.4 MB, free: 1.387 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001829/0.8069, allocations: 0.8508 MB / 498.2 MB, free: 0.5234 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.123e-06/0.8069, allocations: 4 kB / 498.2 MB, free: 0.5195 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002128/0.809, allocations: 432 kB / 498.7 MB, free: 100 kB / 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.0003965/0.8095, allocations: 170.8 kB / 498.8 MB, free: 15.92 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003753/0.8132, allocations: 1.69 MB / 0.4888 GB, free: 14.22 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.04e-06/0.8133, allocations: 3.938 kB / 0.4888 GB, free: 14.21 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002451/0.8158, allocations: 1.017 MB / 0.4898 GB, free: 13.19 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001867/0.8177, allocations: 288.4 kB / 0.4901 GB, free: 12.91 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009774/0.8275, allocations: 3.792 MB / 0.4938 GB, free: 9.059 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002637/0.8302, allocations: 2.054 MB / 0.4958 GB, free: 6.969 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001454/0.8316, allocations: 358 kB / 0.4961 GB, free: 6.617 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000432/0.8321, allocations: 91.36 kB / 0.4962 GB, free: 6.527 MB / 426.7 MB Notification: Performance of SimCode: time 1.793e-06/0.8321, allocations: 0 / 0.4962 GB, free: 6.527 MB / 426.7 MB Notification: Performance of Templates: time 0.05275/0.8849, allocations: 19.07 MB / 0.5148 GB, free: 3.516 MB / 442.7 MB